6.1.1 - 新增应用更新功能 修复编辑器页面/安卓10存储权限 异常消息资源化

This commit is contained in:
SuperMonster003
2022-05-31 21:23:36 +08:00
parent f68ad1c993
commit 069932c8d3
93 changed files with 2094 additions and 680 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -30,5 +30,5 @@
android:scrollbars="vertical"
android:textColor="@android:color/secondary_text_light"
android:textSize="16sp"
tools:text="错误"/>
tools:text="@string/text_error"/>
</LinearLayout>

View File

@@ -26,7 +26,7 @@
android:layout_height="?attr/actionBarSize"
android:theme="@style/ToolBarStyle"
android:title="@string/app_name"
app:layout_scrollFlags="scroll|enterAlways"
app:layout_scrollFlags="enterAlways"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<com.google.android.material.tabs.TabLayout

View File

@@ -1,149 +1,154 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_force_stop"
android:title="@string/text_force_stop"
app:showAsAction="never"/>
android:id="@+id/action_force_stop"
android:title="@string/text_force_stop"
app:showAsAction="never" />
<item android:title="@string/text_edit">
<menu>
<item
android:id="@+id/action_find_or_replace"
android:title="@string/text_find_or_replace"
app:showAsAction="never"/>
android:id="@+id/action_find_or_replace"
android:title="@string/text_find_or_replace"
app:showAsAction="never" />
<item
android:id="@+id/action_copy_all"
android:title="@string/text_copy_all"
app:showAsAction="never"/>
android:id="@+id/action_copy_all"
android:title="@string/text_copy_all"
app:showAsAction="never" />
<item
android:id="@+id/action_copy_line"
android:title="@string/text_copy_line"
app:showAsAction="never"/>
android:id="@+id/action_copy_line"
android:title="@string/text_copy_line"
app:showAsAction="never" />
<item
android:id="@+id/action_delete_line"
android:title="@string/text_delete_line"
app:showAsAction="never"/>
android:id="@+id/action_paste"
android:title="@string/text_paste"
app:showAsAction="never" />
<item
android:id="@+id/action_clear"
android:title="@string/text_clear"
app:showAsAction="never"/>
android:id="@+id/action_delete_line"
android:title="@string/text_delete_line"
app:showAsAction="never" />
<item
android:id="@+id/action_beautify"
android:title="@string/text_code_beautify"
app:showAsAction="never"/>
android:id="@+id/action_clear"
android:title="@string/text_clear"
app:showAsAction="never" />
<item
android:id="@+id/action_beautify"
android:title="@string/text_code_beautify"
app:showAsAction="never" />
</menu>
</item>
<item
android:title="@string/text_jump"
app:showAsAction="never">
android:title="@string/text_jump"
app:showAsAction="never">
<menu>
<item
android:id="@+id/action_jump_to_line"
android:title="@string/text_jump_to_line"
app:showAsAction="never"/>
android:id="@+id/action_jump_to_line"
android:title="@string/text_jump_to_line"
app:showAsAction="never" />
<item
android:id="@+id/action_jump_to_start"
android:title="@string/text_jump_to_start"
app:showAsAction="never"/>
android:id="@+id/action_jump_to_start"
android:title="@string/text_jump_to_start"
app:showAsAction="never" />
<item
android:id="@+id/action_jump_to_end"
android:title="@string/text_jump_to_end"
app:showAsAction="never"/>
android:id="@+id/action_jump_to_end"
android:title="@string/text_jump_to_end"
app:showAsAction="never" />
<item
android:id="@+id/action_jump_to_line_start"
android:title="@string/text_jump_to_line_start"
app:showAsAction="never"/>
android:id="@+id/action_jump_to_line_start"
android:title="@string/text_jump_to_line_start"
app:showAsAction="never" />
<item
android:id="@+id/action_jump_to_line_end"
android:title="@string/text_jump_to_line_end"
app:showAsAction="never"/>
android:id="@+id/action_jump_to_line_end"
android:title="@string/text_jump_to_line_end"
app:showAsAction="never" />
</menu>
</item>
<item
android:title="@string/text_debug"
app:showAsAction="never">
android:title="@string/text_debug"
app:showAsAction="never">
<menu>
<item
android:id="@+id/action_breakpoint"
android:title="@string/text_set_breakpoint"
app:showAsAction="never"/>
android:id="@+id/action_breakpoint"
android:title="@string/text_set_breakpoint"
app:showAsAction="never" />
<item
android:id="@+id/action_launch_debugger"
android:title="@string/text_launch_debugger"
app:showAsAction="never"/>
android:id="@+id/action_launch_debugger"
android:title="@string/text_launch_debugger"
app:showAsAction="never" />
<item
android:id="@+id/action_remove_all_breakpoints"
android:title="@string/text_remove_all_breakpoints"
app:showAsAction="never"/>
android:id="@+id/action_remove_all_breakpoints"
android:title="@string/text_remove_all_breakpoints"
app:showAsAction="never" />
</menu>
</item>
<item
android:id="@+id/action_build_apk"
android:title="@string/text_build_apk"
app:showAsAction="never"/>
android:id="@+id/action_build_apk"
android:title="@string/text_build_apk"
app:showAsAction="never" />
<item
android:id="@+id/action_log"
android:title="@string/text_log"
app:showAsAction="never"/>
android:id="@+id/action_log"
android:title="@string/text_log"
app:showAsAction="never" />
<item android:title="@string/text_more">
<menu>
<item
android:id="@+id/action_console"
android:title="@string/text_console"
app:showAsAction="never"/>
android:id="@+id/action_console"
android:title="@string/text_console"
app:showAsAction="never" />
<item
android:id="@+id/action_import_java_class"
android:title="@string/text_find_java_classes"
app:showAsAction="never"/>
android:id="@+id/action_import_java_class"
android:title="@string/text_find_java_classes"
app:showAsAction="never" />
<item
android:id="@+id/action_info"
android:title="@string/text_info"
app:showAsAction="never"/>
android:id="@+id/action_info"
android:title="@string/text_info"
app:showAsAction="never" />
<item
android:id="@+id/action_editor_text_size"
android:title="@string/text_text_size"
app:showAsAction="never"/>
android:id="@+id/action_editor_text_size"
android:title="@string/text_text_size"
app:showAsAction="never" />
<item
android:id="@+id/action_editor_theme"
android:title="@string/text_editor_theme"
app:showAsAction="never"/>
android:id="@+id/action_editor_theme"
android:title="@string/text_editor_theme"
app:showAsAction="never" />
<item
android:id="@+id/action_open_by_other_apps"
android:title="@string/text_open_by_other_apps"
app:showAsAction="never"/>
android:id="@+id/action_open_by_other_apps"
android:title="@string/text_open_by_other_apps"
app:showAsAction="never" />
</menu>
</item>

View File

@@ -77,12 +77,12 @@
<string name="text_build_failed">Build failed</string>
<string name="text_build_successfully">Build succeeded</string>
<string name="text_cancel">Cancel</string>
<string name="text_cancel_download">Cancel downloading</string>
<string name="dialog_button_cancel_download">Cancel</string>
<string name="text_cannot_read_file">Can\'t read file</string>
<string name="text_change_working_dir">Change working directory</string>
<string name="text_checking_update">Checking for updates</string>
<string name="text_checking_update" tools:ignore="TypographyEllipsis">Checking for updates...</string>
<string name="text_check_for_updates">Check for updates</string>
<string name="text_check_update_error">Check for updates failed</string>
<string name="error_check_for_update">Checking for updates failed</string>
<string name="text_class_or_package_name">Class / Package name</string>
<string name="text_clear">Clear</string>
<string name="text_clear_file_selection">Clear file selection</string>
@@ -102,6 +102,7 @@
<string name="text_copy_command">Copy cmd</string>
<string name="text_copy_debug_info">Copy debugging log</string>
<string name="text_copy_line">Copy line</string>
<string name="text_paste">Paste</string>
<string name="text_copy_to_clip">Copy to clipboard</string>
<string name="text_copy_value">Copy value</string>
<string name="text_create_fail">Create failed</string>
@@ -123,7 +124,7 @@
<string name="text_delete_line">Delete line</string>
<string name="text_detail">Details</string>
<string name="text_developer_details_under_development">Developer details is under development</string>
<string name="text_dialog_button_go_to_settings">System Settings</string>
<string name="dialog_button_go_to_settings">System Settings</string>
<string name="text_directly_download">Download now</string>
<string name="text_directory">Directory</string>
<string name="text_display_over_other_app">Display over other apps</string>
@@ -365,7 +366,7 @@
<string name="text_under_development_content">The feature will be ready to use in the next few updates</string>
<string name="text_under_development_title">Under development</string>
<string name="text_undo">Undo</string>
<string name="text_update">Update</string>
<string name="text_updates">Updates</string>
<string name="text_usage_stats_permission">Usage stats access</string>
<string name="text_usage_stats_permission_description">Provides access to device usage history and statistics which results in currentPackage() a more accurate result</string>
<string name="text_username">Username</string>
@@ -406,6 +407,42 @@
<string name="theme_color_yellow">Yellow</string>
<string name="theme_color_yellow_green">Yellow green</string>
<string name="text_refresh_explorer_may_needed">An explorer page swipe-to-refresh may be needed</string>
<string name="error_set_both_icon_res_and_icon">Can\'t set both iconRes and icon</string>
<string name="error_only_one_child_for_scroll_view">ScrollView can host only one direct child</string>
<string name="error_illegal_url_argument">URL must starts with a protocol like \"https://\" and so forth</string>
<string name="error_illegal_relative_url_argument_without_base">Relative URL can\'t be used without base URL</string>
<string name="dialog_button_ignore_current_update">Ignore</string>
<string name="dialog_button_back">@string/text_back</string>
<string name="dialog_button_update_now">Update</string>
<string name="text_getting_release_notes" tools:ignore="TypographyEllipsis">Retrieving release notes...</string>
<string name="error_cannot_connect_to_github">Can\'t connect to GitHub</string>
<string name="error_invalid_github_repo">Invalid GitHub repository: %s</string>
<string name="error_get_github_latest_release">Can\'t get latest GitHub release</string>
<string name="error_corresponding_github_release_may_not_published">Corresponding GitHub release may have not been published yet</string>
<string name="error_parse_version_info">Can\'t parse version information</string>
<string name="text_empty_release_note">No release note</string>
<string name="error_cannot_get_download_url">Can\'t get downloading URL</string>
<string name="error_empty_github_release_assets">No GitHub release assets to download</string>
<string name="text_github_backup_url_used">Backup URL has been used</string>
<string name="error_unknown">Unknown error</string>
<string name="text_downloading">Downloading</string>
<string name="text_file_name">File name</string>
<string name="text_version">Version</string>
<string name="dialog_button_quit">Quit</string>
<string name="dialog_button_retry">Retry</string>
<string name="text_preparing" tools:ignore="TypographyEllipsis">Preparing...</string>
<string name="error_download_interrupted">Download interrupted</string>
<string name="text_download_cancelled">Download cancelled</string>
<string name="text_manage_ignored_updates">Manage ignored updates</string>
<string name="text_auto_check_for_updates_and_show_snackbar">Check for updates automatically and show a snackbar on homepage</string>
<string name="text_auto_check_for_updates">Auto check for updates</string>
<string name="text_last_updates_checked_time">Last checked: %s</string>
<string name="error_failed_to_parse_version_info">Failed to parse version info</string>
<string name="error_put_value_into_json">Can\'t put value %s into JSON</string>
<string name="error_github_api_token_needed">You must provide a GitHub API Token</string>
<string name="error_cannot_find_editor_view_from_child_view">Cann\'t find EditorView from child view: %s</string>
<string name="error_unknown_type">Unknown type: %s</string>
<string name="error_sdk_lower_than_o_not_supported_yet">Current function is not supported by Android SDK versions lower than 26 (Android 8.0) yet</string>
<plurals name="air_error_short_description" key="air_error_short_description">
<item quantity="one">The description must have at least %d character</item>
<item quantity="other">The description must have at least %d characters</item>

View File

@@ -77,12 +77,12 @@
<string name="text_build_failed">打包失败</string>
<string name="text_build_successfully">打包成功</string>
<string name="text_cancel">取消</string>
<string name="text_cancel_download">取消下载</string>
<string name="dialog_button_cancel_download">取消下载</string>
<string name="text_cannot_read_file">无法读取文件</string>
<string name="text_change_working_dir">更改工作路径 (脚本文件夹)</string>
<string name="text_checking_update">正在检查更新</string>
<string name="text_checking_update" tools:ignore="TypographyEllipsis">正在检查更新...</string>
<string name="text_check_for_updates">检查更新</string>
<string name="text_check_update_error">检查更新失败</string>
<string name="error_check_for_update">检查更新失败</string>
<string name="text_class_or_package_name">类/包名</string>
<string name="text_clear">清空</string>
<string name="text_clear_file_selection">清空文件选择</string>
@@ -102,6 +102,7 @@
<string name="text_copy_command">复制指令</string>
<string name="text_copy_debug_info">复制调试信息</string>
<string name="text_copy_line">复制行</string>
<string name="text_paste">粘贴</string>
<string name="text_copy_to_clip">复制到剪贴板</string>
<string name="text_copy_value">复制值</string>
<string name="text_create_fail">创建失败</string>
@@ -123,7 +124,7 @@
<string name="text_delete_line">删除行</string>
<string name="text_detail">详情</string>
<string name="text_developer_details_under_development" tools:ignore="TypographyEllipsis">\"开发者详情\" 正在开发中...</string>
<string name="text_dialog_button_go_to_settings">系统设置</string>
<string name="dialog_button_go_to_settings">系统设置</string>
<string name="text_directly_download">直接下载</string>
<string name="text_directory">文件夹</string>
<string name="text_display_over_other_app">显示在其他应用上层</string>
@@ -193,7 +194,7 @@
<string name="text_invalid_project">无效项目</string>
<string name="text_in_progress">处理中</string>
<string name="text_issue_report">问题反馈</string>
<string name="text_is_latest_version">暂无更新版本</string>
<string name="text_is_latest_version">已是最新版本</string>
<string name="text_js_file">*.js 文件</string>
<string name="text_jump">跳转</string>
<string name="text_jump_to_end">跳转到文件末尾</string>
@@ -365,7 +366,7 @@
<string name="text_under_development_content">将在后续版本实现当前功能</string>
<string name="text_under_development_title">开发中</string>
<string name="text_undo">撤销</string>
<string name="text_update">更新</string>
<string name="text_updates">更新</string>
<string name="text_usage_stats_permission">查看使用情况权限</string>
<string name="text_usage_stats_permission_description">\"查看使用情况\" 权限可获取本设备过去使用应用的情况,从而使 \"获取当前应用\" (currentPackage) 结果更准确</string>
<string name="text_username">用户名</string>
@@ -406,6 +407,42 @@
<string name="theme_color_yellow">黄色</string>
<string name="theme_color_yellow_green">黄绿</string>
<string name="text_refresh_explorer_may_needed">可能需要下拉刷新文件浏览器页面</string>
<string name="error_set_both_icon_res_and_icon">不支持同时设置 iconRes 与 icon</string>
<string name="error_only_one_child_for_scroll_view">ScrollView 只能拥有至多一个直接子控件</string>
<string name="error_illegal_url_argument">URL 需以协议标识开头 (如 "https://" 等)</string>
<string name="error_illegal_relative_url_argument_without_base">使用相对 URL 时必须指定 Base URL</string>
<string name="dialog_button_ignore_current_update">忽略此版本</string>
<string name="dialog_button_back">@string/text_back</string>
<string name="dialog_button_update_now">立即更新</string>
<string name="text_getting_release_notes" tools:ignore="TypographyEllipsis">正在获取版本信息...</string>
<string name="error_cannot_connect_to_github">无法连接到 GitHub</string>
<string name="error_invalid_github_repo">无效的 GitHub 仓库: %s</string>
<string name="error_get_github_latest_release">无法获取最新的 GitHub 发行版</string>
<string name="error_corresponding_github_release_may_not_published">对应的 GitHub 发行版可能还未发布</string>
<string name="error_parse_version_info">无法解析版本信息</string>
<string name="text_empty_release_note">无版本信息</string>
<string name="error_cannot_get_download_url">无法获取下载链接</string>
<string name="error_empty_github_release_assets">无可供下载的 GitHub 发行版资源</string>
<string name="text_github_backup_url_used">备用 URL 已使用</string>
<string name="error_unknown">未知错误</string>
<string name="text_downloading">下载中</string>
<string name="text_file_name">文件名</string>
<string name="text_version">版本</string>
<string name="dialog_button_quit">放弃</string>
<string name="dialog_button_retry">重试</string>
<string name="text_preparing" tools:ignore="TypographyEllipsis">准备中...</string>
<string name="error_download_interrupted">下载中断</string>
<string name="text_download_cancelled">下载已取消</string>
<string name="text_manage_ignored_updates">管理已忽略更新</string>
<string name="text_auto_check_for_updates_and_show_snackbar">自动检查更新并在首页下方显示通知条</string>
<string name="text_auto_check_for_updates">自动检查更新</string>
<string name="text_last_updates_checked_time">上次检查: %s</string>
<string name="error_failed_to_parse_version_info">无法解析版本信息</string>
<string name="error_put_value_into_json">无法将值 %s 存入 JSON</string>
<string name="error_github_api_token_needed">需要提供 GitHub API 令牌</string>
<string name="error_cannot_find_editor_view_from_child_view">无法在子控件 %s 中找到 EditorView</string>
<string name="error_unknown_type">未知类型: %s</string>
<string name="error_sdk_lower_than_o_not_supported_yet">当前功能暂不支持安卓 SDK 版本低于 26 (Android 8.0) 的系统</string>
<plurals name="air_error_short_description" key="air_error_short_description" tools:ignore="UnusedQuantity">
<item quantity="one">描述至少需要 %d 个字</item>
<item quantity="other">描述至少需要 %d 个字</item>

View File

@@ -36,6 +36,46 @@
<color name="github_color_fg_muted">#57606A</color>
<color name="tint_1st_developer_identifier">#2B7A85</color>
<color name="tint_2nd_developer_identifier">#CC7A34</color>
<color name="title_material_toolbar">#ffffff</color>
<color name="dialog_button_default">#03A9F4</color>
<color name="dialog_button_caution">#FF3D00</color>
<color name="dialog_button_warn">#F57C00</color>
<color name="dialog_button_attraction">#7B1FA2</color>
<color name="dialog_button_hint">#0DA798</color>
<color name="dialog_button_reset">#A1887F</color>
<color name="dialog_button_unavailable">#BDBDBD</color>
<color name="dialog_button_finish">#009624</color>
<color name="dialog_button_success">@color/dialog_button_finish</color>
<color name="dialog_button_error">#003C8F</color>
<color name="dialog_button_failure">@color/dialog_button_error</color>
<color name="dialog_progress_download_tint">#FF6F00</color>
<color name="dialog_progress_download_bg_tint">#FFECB3</color>
<color name="dialog_progress_download_act_btn">#C43E00</color>
<color name="dialog_progress_files_tint">#F9A825</color>
<color name="dialog_progress_files_bg_tint">#FFF59D</color>
<color name="dialog_progress_files_act_btn">#C17900</color>
<color name="dialog_progress_backup_tint">#455A64</color>
<color name="dialog_progress_backup_bg_tint">#ECEFF1</color>
<color name="dialog_progress_backup_act_btn">#1C313A</color>
<color name="dialog_progress_restore_tint">#AB47BC</color>
<color name="dialog_progress_restore_bg_tint">#F3E5F5</color>
<color name="dialog_progress_restore_act_btn">#790E8B</color>
<color name="dialog_progress_indeterminate_tint">#00897B</color>
<color name="dialog_progress_indeterminate_bg_tint">#B2DFDB</color>
<color name="dialog_progress_indeterminate_act_btn">#005B4F</color>
<color name="dialog_progress_finish_tint">#00C853</color>
<color name="dialog_progress_finish_bg_tint">#DCEDC8</color>
<color name="dialog_progress_finish_act_btn">#009624</color>
<color name="dialog_progress_success_tint">#00C853</color>
<color name="dialog_progress_success_bg_tint">#DCEDC8</color>
<color name="dialog_progress_success_act_btn">#009624</color>
<color name="dialog_progress_error_tint">#1565C0</color>
<color name="dialog_progress_error_bg_tint">#BBDEFB</color>
<color name="dialog_progress_error_act_btn">#003C8F</color>
<color name="dialog_progress_failure_tint">#1565C0</color>
<color name="dialog_progress_failure_bg_tint">#BBDEFB</color>
<color name="dialog_progress_failure_act_btn">#003C8F</color>
</resources>

View File

@@ -105,12 +105,12 @@
<string name="text_build_failed">Build failed</string>
<string name="text_build_successfully">Build succeeded</string>
<string name="text_cancel">Cancel</string>
<string name="text_cancel_download">Cancel downloading</string>
<string name="dialog_button_cancel_download">Cancel</string>
<string name="text_cannot_read_file">Can\'t read file</string>
<string name="text_change_working_dir">Change working directory</string>
<string name="text_checking_update">Checking for updates</string>
<string name="text_checking_update" tools:ignore="TypographyEllipsis">Checking for updates...</string>
<string name="text_check_for_updates">Check for updates</string>
<string name="text_check_update_error">Check for updates failed</string>
<string name="error_check_for_update">Checking for updates failed</string>
<string name="text_class_or_package_name">Class / Package name</string>
<string name="text_clear">Clear</string>
<string name="text_clear_file_selection">Clear file selection</string>
@@ -130,6 +130,7 @@
<string name="text_copy_command">Copy cmd</string>
<string name="text_copy_debug_info">Copy debugging log</string>
<string name="text_copy_line">Copy line</string>
<string name="text_paste">Paste</string>
<string name="text_copy_to_clip">Copy to clipboard</string>
<string name="text_copy_value">Copy value</string>
<string name="text_create_fail">Create failed</string>
@@ -151,7 +152,7 @@
<string name="text_delete_line">Delete line</string>
<string name="text_detail">Details</string>
<string name="text_developer_details_under_development">Developer details is under development</string>
<string name="text_dialog_button_go_to_settings">System Settings</string>
<string name="dialog_button_go_to_settings">System Settings</string>
<string name="text_directly_download">Download now</string>
<string name="text_directory">Directory</string>
<string name="text_display_over_other_app">Display over other apps</string>
@@ -400,7 +401,7 @@
<string name="text_under_development_content">The feature will be ready to use in the next few updates</string>
<string name="text_under_development_title">Under development</string>
<string name="text_undo">Undo</string>
<string name="text_update">Update</string>
<string name="text_updates">Updates</string>
<string name="text_usage_stats_permission">Usage stats access</string>
<string name="text_usage_stats_permission_description">Provides access to device usage history and statistics which results in currentPackage() a more accurate result</string>
<string name="text_username">Username</string>
@@ -421,6 +422,47 @@
<string name="text_write_secure_settings_description">Secure system settings, containing system preferences that applications can read but are not allowed to write.\nThese are for preferences that the user must explicitly modify through the UI of a system app.\nWith secure system settings permission, normal applications can directly modify the secure settings (such as accessibility service).</string>
<string name="text_write_system_settings">Write system settings</string>
<string name="text_refresh_explorer_may_needed">An explorer page swipe-to-refresh may be needed</string>
<string name="error_set_both_icon_res_and_icon">Can\'t set both iconRes and icon</string>
<string name="error_only_one_child_for_scroll_view">ScrollView can host only one direct child</string>
<string name="error_illegal_url_argument">URL must starts with a protocol like \"https://\" and so forth</string>
<string name="error_illegal_relative_url_argument_without_base">Relative URL can\'t be used without base URL</string>
<string name="dialog_button_ignore_current_update">Ignore</string>
<string name="dialog_button_back">@string/text_back</string>
<string name="dialog_button_update_now">Update</string>
<string name="text_getting_release_notes" tools:ignore="TypographyEllipsis">Retrieving release notes...</string>
<string name="error_cannot_connect_to_github">Can\'t connect to GitHub</string>
<string name="error_invalid_github_repo">Invalid GitHub repository: %s</string>
<string name="error_get_github_latest_release">Can\'t get latest GitHub release</string>
<string name="error_corresponding_github_release_may_not_published">Corresponding GitHub release may have not been published yet</string>
<string name="error_parse_version_info">Can\'t parse version information</string>
<string name="text_empty_release_note">No release note</string>
<string name="error_cannot_get_download_url">Can\'t get downloading URL</string>
<string name="error_empty_github_release_assets">No GitHub release assets to download</string>
<string name="text_github_backup_url_used">Backup URL has been used</string>
<string name="error_unknown">Unknown error</string>
<string name="text_downloading">Downloading</string>
<string name="text_file_name">File name</string>
<string name="text_version">Version</string>
<string name="dialog_button_quit">Quit</string>
<string name="dialog_button_retry">Retry</string>
<string name="text_half_ellipsis" translatable="false" formatted="true">...</string>
<string name="text_preparing" tools:ignore="TypographyEllipsis">Preparing...</string>
<string name="error_download_interrupted">Download interrupted</string>
<string name="text_download_cancelled">Download cancelled</string>
<string name="format_dialog_progress_number_format_mega_bytes" translatable="false">%.2fMB/%.2fMB</string>
<string name="format_dialog_progress_number_format_kilo_bytes" translatable="false">%.1fKB/%.1fKB</string>
<string name="text_manage_ignored_updates">Manage ignored updates</string>
<string name="text_auto_check_for_updates">Auto check for updates</string>
<string name="text_last_updates_checked_time">Last checked: %s</string>
<string name="key_app_property_version_name" translatable="false">VERSION_NAME</string>
<string name="key_app_property_version_code" translatable="false">VERSION_BUILD</string>
<string name="error_failed_to_parse_version_info">Failed to parse version info</string>
<string name="error_put_value_into_json">Can\'t put value %s into JSON</string>
<string name="error_github_api_token_needed">You must provide a GitHub API Token</string>
<string name="text_auto_check_for_updates_and_show_snackbar">Check for updates automatically and show a snackbar on homepage</string>
<string name="error_cannot_find_editor_view_from_child_view">Cann\'t find EditorView from child view: %s</string>
<string name="error_unknown_type">Unknown type: %s</string>
<string name="error_sdk_lower_than_o_not_supported_yet">Current function is not supported by Android SDK versions lower than 26 (Android 8.0) yet</string>
<plurals name="air_error_short_description" key="air_error_short_description">
<item quantity="one">The description must have at least %d character</item>
<item quantity="other">The description must have at least %d characters</item>

View File

@@ -79,4 +79,7 @@
<style name="MtAppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.ActionBar">
<item name="android:textColorPrimary">#212121</item>
</style>
<style name="TextAppearance.Design.Snackbar.Message" parent="android:TextAppearance" />
</resources>

View File

@@ -41,7 +41,7 @@
android:key="@string/key_root_mode"
android:layout="@layout/preference_custom"
android:dialogMessage="@string/text_root_mode_description"
android:title="@string/text_root_mode_title"/>
android:title="@string/text_root_mode_title" />
<org.autojs.autojs.ui.settings.SetHiddenFilesPreference
android:defaultValue="@string/value_hidden_files_default"
@@ -50,7 +50,7 @@
android:key="@string/key_hidden_files"
android:layout="@layout/preference_custom"
android:dialogMessage="@string/text_hidden_files_description"
android:title="@string/text_hidden_files_title"/>
android:title="@string/text_hidden_files_title" />
</com.stardust.theme.preference.ThemeColorPreferenceCategory>
@@ -130,11 +130,28 @@
<com.stardust.theme.preference.ThemeColorPreferenceCategory
android:layout="@layout/preference_category_custom"
android:title="@string/text_about">
android:title="@string/text_updates">
<org.autojs.autojs.ui.settings.CheckForUpdatesPreference
android:layout="@layout/preference_custom"
android:title="@string/text_check_for_updates" />
<com.stardust.theme.preference.ThemeColorSwitchPreference
android:defaultValue="true"
android:key="@string/key_auto_check_for_updates"
android:layout="@layout/preference_custom"
android:title="@string/text_auto_check_for_updates"
android:summary="@string/text_auto_check_for_updates_and_show_snackbar" />
<Preference
android:layout="@layout/preference_custom"
android:title="@string/text_check_for_updates" />
android:title="@string/text_manage_ignored_updates" />
</com.stardust.theme.preference.ThemeColorPreferenceCategory>
<com.stardust.theme.preference.ThemeColorPreferenceCategory
android:layout="@layout/preference_category_custom"
android:title="@string/text_about">
<Preference
android:layout="@layout/preference_custom"