From 2235cba86096f4555657f4d4bf6af3a636c773c1 Mon Sep 17 00:00:00 2001 From: SuperMonster003 Date: Mon, 24 Mar 2025 19:48:48 +0800 Subject: [PATCH] =?UTF-8?q?6.6.2=20-=20Alpha5=20-=20=E5=A2=9E=E5=8A=A0=20"?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=89=A9=E5=B1=95=E5=90=8D"=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changelog/lang_zh-Hans.json | 3 ++- .../java/org/autojs/autojs/core/pref/Pref.kt | 14 ++++++++++- .../model/explorer/ExplorerFileProvider.java | 2 +- .../autojs/ui/common/ScriptOperations.java | 5 +--- .../autojs/ui/explorer/ExplorerViewHelper.kt | 18 ++++++++++--- .../ui/settings/FileExtensionsPreference.kt | 25 +++++++++++++++++++ app/src/main/res/values-ar/strings.xml | 9 +++++++ app/src/main/res/values-en/strings.xml | 15 ++++++++--- app/src/main/res/values-en/strings_legacy.xml | 2 +- app/src/main/res/values-es/strings.xml | 9 +++++++ app/src/main/res/values-fr/strings.xml | 9 +++++++ app/src/main/res/values-ja/strings.xml | 9 +++++++ app/src/main/res/values-ko/strings.xml | 9 +++++++ app/src/main/res/values-ru/strings.xml | 9 +++++++ app/src/main/res/values-zh-rHK/strings.xml | 9 +++++++ app/src/main/res/values-zh-rTW/strings.xml | 9 +++++++ app/src/main/res/values-zh/strings.xml | 10 ++++++++ app/src/main/res/values/arrays.xml | 12 +++++++++ app/src/main/res/values/strings.xml | 23 ++++++++++++++--- app/src/main/res/xml/fragment_preferences.xml | 15 +++++++++++ version.properties | 6 ++--- 21 files changed, 201 insertions(+), 21 deletions(-) create mode 100644 app/src/main/java/org/autojs/autojs/ui/settings/FileExtensionsPreference.kt diff --git a/.changelog/lang_zh-Hans.json b/.changelog/lang_zh-Hans.json index a6440a6f..b2482641 100644 --- a/.changelog/lang_zh-Hans.json +++ b/.changelog/lang_zh-Hans.json @@ -3,7 +3,8 @@ "v6.6.2": { "released_date": "2025/01/03", "feature": [ - "ui.statusBarAppearanceLight/statusBarAppearanceLightBy/navigationBarColor 等方法" + "ui.statusBarAppearanceLight/statusBarAppearanceLightBy/navigationBarColor 等方法", + "设置页面增加 \"文件扩展名\" 设置选项" ], "fix": [ "Android 15 状态栏背景颜色与主题色不一致的问题", diff --git a/app/src/main/java/org/autojs/autojs/core/pref/Pref.kt b/app/src/main/java/org/autojs/autojs/core/pref/Pref.kt index 13e36088..2bbb6bda 100644 --- a/app/src/main/java/org/autojs/autojs/core/pref/Pref.kt +++ b/app/src/main/java/org/autojs/autojs/core/pref/Pref.kt @@ -142,9 +142,21 @@ object Pref { ) @JvmStatic - val isHiddenFilesShow + val isHiddenFilesShown get() = getString(R.string.key_hidden_files, key(R.string.default_key_hidden_files)) == key(R.string.key_hidden_files_show) + @JvmStatic + val isFileExtensionsShownForAll + get() = getString(R.string.key_file_extensions, key(R.string.default_key_file_extensions)) == key(R.string.key_file_extensions_show_all) + + @JvmStatic + val isFileExtensionsShownForAllButExecutable + get() = getString(R.string.key_file_extensions, key(R.string.default_key_file_extensions)) == key(R.string.key_file_extensions_show_all_but_executable) + + @JvmStatic + val isFileExtensionsHidden + get() = getString(R.string.key_file_extensions, key(R.string.default_key_file_extensions)) == key(R.string.key_file_extensions_not_show) + @JvmStatic val isRecordToastEnabled get() = getBoolean( diff --git a/app/src/main/java/org/autojs/autojs/model/explorer/ExplorerFileProvider.java b/app/src/main/java/org/autojs/autojs/model/explorer/ExplorerFileProvider.java index d479d9dc..7745f02e 100644 --- a/app/src/main/java/org/autojs/autojs/model/explorer/ExplorerFileProvider.java +++ b/app/src/main/java/org/autojs/autojs/model/explorer/ExplorerFileProvider.java @@ -41,7 +41,7 @@ public class ExplorerFileProvider implements ExplorerProvider { } protected Observable listFiles(PFile directory) { - boolean isShowHidden = Pref.isHiddenFilesShow(); + boolean isShowHidden = Pref.isHiddenFilesShown(); return Observable.just(directory) .flatMap(dir -> { PFile[] files; diff --git a/app/src/main/java/org/autojs/autojs/ui/common/ScriptOperations.java b/app/src/main/java/org/autojs/autojs/ui/common/ScriptOperations.java index ac01964d..fbfa80fa 100644 --- a/app/src/main/java/org/autojs/autojs/ui/common/ScriptOperations.java +++ b/app/src/main/java/org/autojs/autojs/ui/common/ScriptOperations.java @@ -382,10 +382,7 @@ public class ScriptOperations { .negativeText(R.string.text_cancel) .positiveText(R.string.text_ok) .positiveColorRes(R.color.dialog_button_caution) - .onPositive((dialog, which) -> { - deleteWithoutConfirm(scriptFile); - Explorers.workspace().refreshAll(); - }) + .onPositive((dialog, which) -> deleteWithoutConfirm(scriptFile)) .build() .show(); } diff --git a/app/src/main/java/org/autojs/autojs/ui/explorer/ExplorerViewHelper.kt b/app/src/main/java/org/autojs/autojs/ui/explorer/ExplorerViewHelper.kt index 19456c51..2e4a7f75 100644 --- a/app/src/main/java/org/autojs/autojs/ui/explorer/ExplorerViewHelper.kt +++ b/app/src/main/java/org/autojs/autojs/ui/explorer/ExplorerViewHelper.kt @@ -1,6 +1,7 @@ package org.autojs.autojs.ui.explorer import android.content.Context +import org.autojs.autojs.core.pref.Pref import org.autojs.autojs.model.explorer.ExplorerFileItem import org.autojs.autojs.model.explorer.ExplorerItem import org.autojs.autojs.model.explorer.ExplorerPage @@ -22,11 +23,20 @@ object ExplorerViewHelper { item is ExplorerSamplePage && item.isRoot -> context.getString(R.string.text_sample) item is ExplorerPage -> item.getName() else -> when (item.type) { - FileUtils.TYPE.JAVASCRIPT, FileUtils.TYPE.AUTO -> when (item) { - is ExplorerFileItem -> item.file.simplifiedName - else -> getNameWithoutExtension(item.name) + FileUtils.TYPE.JAVASCRIPT, FileUtils.TYPE.AUTO -> when { + Pref.isFileExtensionsShownForAll -> when (item) { + is ExplorerFileItem -> item.file.name + else -> item.name + } + else -> when (item) { + is ExplorerFileItem -> item.file.simplifiedName + else -> getNameWithoutExtension(item.name) + } + } + else -> when { + Pref.isFileExtensionsHidden -> getNameWithoutExtension(item.name) + else -> item.name } - else -> item.name } } } diff --git a/app/src/main/java/org/autojs/autojs/ui/settings/FileExtensionsPreference.kt b/app/src/main/java/org/autojs/autojs/ui/settings/FileExtensionsPreference.kt new file mode 100644 index 00000000..1256a38b --- /dev/null +++ b/app/src/main/java/org/autojs/autojs/ui/settings/FileExtensionsPreference.kt @@ -0,0 +1,25 @@ +package org.autojs.autojs.ui.settings + +import android.content.Context +import android.util.AttributeSet +import com.afollestad.materialdialogs.MaterialDialog +import org.autojs.autojs.theme.preference.MaterialListPreference +import org.autojs.autojs.util.ViewUtils +import org.autojs.autojs6.R + +class FileExtensionsPreference : MaterialListPreference { + + constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : super(context, attrs, defStyleAttr, defStyleRes) + + constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) + + constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) + + constructor(context: Context) : super(context) + + override fun onChangeConfirmed(dialog: MaterialDialog) { + ViewUtils.showToast(prefContext, R.string.text_refresh_explorer_may_needed, true) + super.onChangeConfirmed(dialog) + } + +} \ No newline at end of file diff --git a/app/src/main/res/values-ar/strings.xml b/app/src/main/res/values-ar/strings.xml index be82f4d5..b313d169 100644 --- a/app/src/main/res/values-ar/strings.xml +++ b/app/src/main/res/values-ar/strings.xml @@ -487,6 +487,7 @@ فشل في كتابة الملف ملف ملف موجود بالفعل + مستكشف الملفات اسم الملف ملف غير موجود الملف \"%1$s\" ليس برنامجًا نصيًا قابلًا للتنفيذ @@ -895,5 +896,13 @@ اسم الحزمة (جارٍ الحساب...) اسم الإصدار (جارٍ الحساب...) رمز الإصدار (جارٍ الحساب...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml index c0d2c9ae..5590dd49 100644 --- a/app/src/main/res/values-en/strings.xml +++ b/app/src/main/res/values-en/strings.xml @@ -40,7 +40,7 @@ Local docs: Using AutoJs6 build-in files as documentation sources, no network connection required. The content changes as AutoJs6 is updated.\nOnline docs: Using GitHub pages as documentation sources, requiring network connection. The content is always up to date.\n\nNote: To maximize the reading experience of online documents, it is recommended to use a widescreen display device such as a desktop monitor.\nNote: As of version 6.2.0, the documentation is still in the preliminary stages of development, and most of the content has not yet been written or updated. The following conditions must be met for dark theme support on document pages:\n1. AutoJs6 has night mode enabled\n2. Android System WebView (or browsers like Google Chrome):\n- Android API Level 29 (Android 10) [Q] and above: version >= 76\n- Android API Level 28 (Android 9) [P] and below: version >= 105 Extending JavaScript built-in objects can increase code flexibility and enable richer functionality, but can cause conflicts and even breakage.\nAll scripts have built-in extensions enabled by default when the option is turned on.\nBuilt-in extensions are often insecure, and are not recommended unless the principles and risks of built-in extensions are clearly understood.\nWhen the option is turned off, built-in extensions can still be enabled through the plugins global object, as described in the project documentation. - Used to set whether or not to show hidden files and folders (usually starting with \".\") in AutoJs6 file explorer. + Used to set whether to show hidden files and folders (usually starting with \".\") in AutoJs6 file explorer. Preference for keeping the device\'s screen turned on and bright when AutoJs6 is in the foreground.\nTo make it happen only on the homepage among all pages of the AutoJs6 application, choose \"homepage only\" option. Shortcuts can perform specific actions in AutoJs6. Users can display these shortcuts in a supported launcher and quickly start some tasks or launch an activity, such as reading AutoJs6 application documentation, launching AutoJs6 settings page, and so on. Click to view or manage list items.\nLong press to remove the list item. @@ -81,7 +81,7 @@ Change text size Disable Scale view - Don\'t show hidden files or folders + Do not show hidden files or folders Show hidden files and folders All pages Disabled @@ -421,7 +421,7 @@ Disposable task Time should be later than now Don’t ask again for this version - Don\'t show again + Do not show again Documents Documentation source Done @@ -483,6 +483,7 @@ Failed to write file File File already exists + File explorer File name File doesn\'t exist File \"%1$s\" is not an executable script @@ -891,5 +892,13 @@ Package name (computing...) Version name (computing...) Version code (computing...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-en/strings_legacy.xml b/app/src/main/res/values-en/strings_legacy.xml index 6f13458d..e6db00ce 100644 --- a/app/src/main/res/values-en/strings_legacy.xml +++ b/app/src/main/res/values-en/strings_legacy.xml @@ -69,7 +69,7 @@ Download failed Download Do not ask again for this version - Don\'t show again + Do not show again Close drawer Open drawer Edit diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index ebc4093e..23d85fd1 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -486,6 +486,7 @@ Fallo al escribir el archivo Archivo El archivo ya existe + Explorador de archivos Nombre del archivo El archivo no existe El archivo \"%1$s\" no es un script ejecutable @@ -894,5 +895,13 @@ Nombre del paquete (Calculando...) Nombre de la versión (Calculando...) Código de la versión (Calculando...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index b831f19c..273b6459 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -486,6 +486,7 @@ Fail to write file Fichier Fichier déjà existant + Explorateur de fichiers Nom du fichier Le fichier n\'existe pas Le fichier \"%1$s\" n\'est pas un script exécutable @@ -894,5 +895,13 @@ Nom du paquet (en cours de calcul...) Nom de la version (en cours de calcul...) Code de version (en cours de calcul...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 8868fcda..6a37836b 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -486,6 +486,7 @@ ファイルの書き込みに失敗しました ファイル ファイルは既に存在しています + ファイルエクスプローラー ファイル名 ファイルが存在しません ファイル \"%1$s\" は実行可能なスクリプトではありません @@ -894,5 +895,13 @@ パッケージ名 (計算中...) バージョン名 (計算中...) バージョンコード (計算中...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml index c581325d..dc3df64f 100644 --- a/app/src/main/res/values-ko/strings.xml +++ b/app/src/main/res/values-ko/strings.xml @@ -487,6 +487,7 @@ 파일을 쓰지 못했습니다 파일 존재하는 파일입니다 + 파일 탐색기 파일 이름 파일이 존재하지 않는다 \"%1$s\" 파일은 실행 가능한 스크립트가 아닙니다 @@ -895,5 +896,13 @@ 패키지 이름 (계산 중...) 버전 이름 (계산 중...) 버전 코드 (계산 중...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 5b8c4623..163c92eb 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -486,6 +486,7 @@ Не удалось записать файл Файл Файл уже существует + Проводник файлов Имя файла Файл не существует Файл \"%1$s\" не является исполняемым скриптом @@ -894,5 +895,13 @@ Имя пакета (Вычисление...) Название версии (Вычисление...) Код версии (Вычисление...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-zh-rHK/strings.xml b/app/src/main/res/values-zh-rHK/strings.xml index 7d0db96b..dc6d7a6d 100644 --- a/app/src/main/res/values-zh-rHK/strings.xml +++ b/app/src/main/res/values-zh-rHK/strings.xml @@ -485,6 +485,7 @@ 文件寫入失敗 文件 文件已存在 + 文件管理器 文件名 文件不存在 文件 \"%1$s\" 非可執行腳本 @@ -893,5 +894,13 @@ 包名 (計算中...) 版本名稱 (計算中...) 版本號 (計算中...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 3ca6e11a..07608ba5 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -485,6 +485,7 @@ 檔案寫入失敗 檔案 檔案已存在 + 檔案管理器 檔名 檔案不存在 檔案 \"%1$s\" 非可執行指令碼 @@ -893,5 +894,13 @@ 包名 (計算中...) 版本名稱 (計算中...) 版本號 (計算中...) + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 863172b8..9d57992d 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -38,6 +38,7 @@ 本地文档: AutoJs6 内置文件作为文档来源, 无需网络连接, 随 AutoJs6 应用更新而发生内容变动.\n在线文档: 使用 GitHub 网页作为文档来源, 需网络连接, 可随时保持文档内容为最新.\n\n注: 为最大化在线文档的阅读体验, 建议使用桌面显示器等宽屏显示设备阅读.\n注: 截至 6.2.0 版本, 文档尚处于初步编写阶段, 大部分内容尚未完成编写或更新. 文档页面的深色主题支持需要满足以下条件:\n1. AutoJs6 开启夜间模式\n2. WebView (或 Google Chrome 等浏览器) 版本要求:\n- API 级别 29 (安卓 10) [Q] 及以上: 版本不低于 76\n- API 级别 28 (安卓 9) [P] 及以下: 版本不低于 105 扩展 JavaScript 内置对象可以增加代码灵活性并实现更丰富的功能, 但可能造成冲突甚至破坏.\n选项开启后所有脚本均默认启用内置扩展.\n内置扩展往往是不安全的, 除非明确了解内置扩展的原理及风险, 否则不建议启用.\n选项关闭后, 仍然可以通过 plugins 全局对象启用内置扩展, 详见项目文档. + 用于设置是否在 AutoJs6 文件管理器中显示文件扩展名. 用于设置是否在 AutoJs6 文件管理器中显示隐藏文件和文件夹 (通常以 \".\" 开头). 用于当 AutoJs6 位于前台时使设备屏幕保持常亮.\n如需在 AutoJs6 应用的所有页面中, 仅在主页时保持设备屏幕常亮, 可选择 \"仅限主页\" 选项. 快捷方式可以在 AutoJs6 中执行特定操作, 用户可以在启动器中显示这些快捷方式, 并快速开始某些任务或启动某个活动, 如阅读 AutoJs6 应用文档, 启动 AutoJs6 设置页面等. @@ -481,6 +482,7 @@ 文件写入失败 文件 文件已存在 + 文件管理器 文件名 文件不存在 文件 \"%1$s\" 非可执行脚本 @@ -892,5 +894,13 @@ 文件大小 签名方案 文件信息 + 文件扩展名 + 隐藏所有文件扩展名 + 显示所有文件扩展名 + 显示文件扩展名 (*.js / *.auto 除外) + 切换至新布局 + 切换至传统布局 + 搜索颜色 + 定位当前颜色 diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 345bb58d..179ca7f6 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -94,6 +94,18 @@ @string/entry_hidden_files_show + + @string/key_file_extensions_not_show + @string/key_file_extensions_show_all + @string/key_file_extensions_show_all_but_executable + + + + @string/entry_file_extensions_not_show + @string/entry_file_extensions_show_all + @string/entry_file_extensions_show_all_but_executable + + @string/key_editor_pinch_to_zoom_change_text_size @string/key_editor_pinch_to_zoom_scale_view diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d69919a7..ac431d0c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -60,6 +60,7 @@ Current available \"abi\" options @string/key_editor_pinch_to_zoom_change_text_size @string/key_hidden_files_not_show + @string/key_file_extensions_show_all_but_executable @string/key_keep_screen_on_when_in_foreground_disabled @string/key_root_record_out_file_type_binary main.js @@ -79,7 +80,7 @@ Local docs: Using AutoJs6 build-in files as documentation sources, no network connection required. The content changes as AutoJs6 is updated.\nOnline docs: Using GitHub pages as documentation sources, requiring network connection. The content is always up to date.\n\nNote: To maximize the reading experience of online documents, it is recommended to use a widescreen display device such as a desktop monitor.\nNote: As of version 6.2.0, the documentation is still in the preliminary stages of development, and most of the content has not yet been written or updated. The following conditions must be met for dark theme support on document pages:\n1. AutoJs6 has night mode enabled\n2. Android System WebView (or browsers like Google Chrome):\n- Android API Level 29 (Android 10) [Q] and above: version >= 76\n- Android API Level 28 (Android 9) [P] and below: version >= 105 Extending JavaScript built-in objects can increase code flexibility and enable richer functionality, but can cause conflicts and even breakage.\nAll scripts have built-in extensions enabled by default when the option is turned on.\nBuilt-in extensions are often insecure, and are not recommended unless the principles and risks of built-in extensions are clearly understood.\nWhen the option is turned off, built-in extensions can still be enabled through the plugins global object, as described in the project documentation. - Used to set whether or not to show hidden files and folders (usually starting with \".\") in AutoJs6 file explorer. + Used to set whether to show hidden files and folders (usually starting with \".\") in AutoJs6 file explorer. Preference for keeping the device\'s screen turned on and bright when AutoJs6 is in the foreground.\nTo make it happen only on the homepage among all pages of the AutoJs6 application, choose \"homepage only\" option. Shortcuts can perform specific actions in AutoJs6. Users can display these shortcuts in a supported launcher and quickly start some tasks or launch an activity, such as reading AutoJs6 application documentation, launching AutoJs6 settings page, and so on. Click to view or manage list items.\nLong press to remove the list item. @@ -135,7 +136,7 @@ Change text size Disable Scale view - Don\'t show hidden files or folders + Do not show hidden files or folders Show hidden files and folders All pages Disabled @@ -303,6 +304,7 @@ key_$_change_working_dir key_$_check_for_updates key_$_client_socket_normally_closed + key_$_color_select_activity_legacy_layout key_$_dialog_check_display_over_other_apps key_$_dialog_foreground_svc key_$_dialog_log_entries_exported @@ -322,6 +324,10 @@ key_$_enable_a11y_service_with_secure_settings key_$_enable_observe_key key_$_extending_js_build_in_objects + key_$_file_extensions + key_$_file_extensions_not_show + key_$_file_extensions_show_all + key_$_file_extensions_show_all_but_executable key_$_floating_menu_shown key_$_foreground_service key_$_gesture_observing @@ -619,7 +625,7 @@ Disposable task Time should be later than now Don’t ask again for this version - Don\'t show again + Do not show again Documents Documentation source Done @@ -682,6 +688,7 @@ Failed to write file File File already exists + File explorer File name File doesn\'t exist File \"%1$s\" is not an executable script @@ -1121,8 +1128,18 @@ Version code (computing...) 1.0.0 1 + File size Signature File info + File extensions + Hide all file extensions + Show all file extensions + Show file extensions (exclude *.js / *.auto) + Used to set whether to show file extensions in AutoJs6 file explorer. + Switch to new layout + Switch to legacy layout + Search color + Locate current color diff --git a/app/src/main/res/xml/fragment_preferences.xml b/app/src/main/res/xml/fragment_preferences.xml index 129c562b..5f32bcc0 100644 --- a/app/src/main/res/xml/fragment_preferences.xml +++ b/app/src/main/res/xml/fragment_preferences.xml @@ -82,6 +82,12 @@ app:itemDefaultKey="@string/key_root_mode_auto_detect" app:longClickPrompt="@string/description_root_mode_preference" /> + + + + + +