Compare commits

..

8 commits

Author SHA1 Message Date
Vossa Excelencia
b1b8f4fc3a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (254 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/pt_BR/
2025-03-25 00:07:18 +00:00
class0068
1bcc05b9d3 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (254 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/zh_Hans/
2025-03-25 00:07:18 +00:00
Vossa Excelencia
be8972eae6 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (254 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/pt_BR/
2025-03-25 00:07:18 +00:00
T
f97be7cade Translated using Weblate (Spanish)
Currently translated at 98.0% (249 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/es/
2025-03-25 00:07:18 +00:00
toolatebot
0912d80683 Update translation files
Updated by "Cleanup translation files" add-on in Weblate.

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/
2025-03-25 00:07:18 +00:00
class0068
84e41df4c9 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (254 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/zh_Hans/
2025-03-25 00:07:18 +00:00
class0068
8664d2f299 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (254 of 254 strings)

Translation: jrpie-Launcher/Launcher
Translate-URL: https://toolate.othing.xyz/projects/jrpie-launcher/launcher/zh_Hans/
2025-03-25 00:07:18 +00:00
b4608ef153
add new action: show recent apps
Some checks failed
Android CI / build (push) Has been cancelled
2025-03-24 13:21:58 +01:00
8 changed files with 139 additions and 83 deletions

View file

@ -85,7 +85,7 @@
<service
android:name=".actions.lock.LauncherAccessibilityService"
android:exported="true"
android:label="@string/accessibility_service_name"
android:label="@string/app_name"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
@ -97,4 +97,4 @@
</service>
</application>
</manifest>
</manifest>

View file

@ -11,7 +11,9 @@ import android.view.KeyEvent
import android.widget.Toast
import androidx.appcompat.content.res.AppCompatResources
import de.jrpie.android.launcher.Application
import de.jrpie.android.launcher.BuildConfig
import de.jrpie.android.launcher.R
import de.jrpie.android.launcher.actions.lock.LauncherAccessibilityService
import de.jrpie.android.launcher.apps.AppFilter
import de.jrpie.android.launcher.apps.hidePrivateSpaceWhenLocked
import de.jrpie.android.launcher.apps.isPrivateSpaceSupported
@ -132,6 +134,14 @@ enum class LauncherAction(
R.drawable.baseline_settings_applications_24,
::expandSettingsPanel
),
RECENT_APPS(
"recent_apps",
R.string.list_other_recent_apps,
R.drawable.baseline_apps_24,
LauncherAccessibilityService::openRecentApps,
false,
{ _ -> BuildConfig.USE_ACCESSIBILITY_SERVICE }
),
LOCK_SCREEN(
"lock_screen",
R.string.list_other_lock_screen,
@ -142,7 +152,7 @@ enum class LauncherAction(
"toggle_torch",
R.string.list_other_torch,
R.drawable.baseline_flashlight_on_24,
::toggleTorch
::toggleTorch,
),
NOP("nop", R.string.list_other_nop, R.drawable.baseline_not_interested_24, {});

View file

@ -22,26 +22,44 @@ class LauncherAccessibilityService : AccessibilityService() {
companion object {
private const val TAG = "Launcher Accessibility"
private const val ACTION_REQUEST_ENABLE = "ACTION_REQUEST_ENABLE"
const val ACTION_LOCK_SCREEN = "ACTION_LOCK_SCREEN"
const val ACTION_RECENT_APPS = "ACTION_RECENT_APPS"
fun lockScreen(context: Context) {
private fun invoke(context: Context, action: String, failureMessageRes: Int) {
try {
context.startService(
Intent(
context,
LauncherAccessibilityService::class.java
).apply {
action = ACTION_LOCK_SCREEN
this.action = action
})
} catch (e: Exception) {
} catch (_: Exception) {
Toast.makeText(
context,
context.getString(R.string.alert_lock_screen_failed),
context.getString(failureMessageRes),
Toast.LENGTH_LONG
).show()
}
}
fun lockScreen(context: Context) {
if (!isEnabled(context)) {
showEnableDialog(context)
} else {
invoke(context, ACTION_LOCK_SCREEN, R.string.alert_lock_screen_failed)
}
}
fun openRecentApps(context: Context) {
if (!isEnabled(context)) {
showEnableDialog(context)
} else {
invoke(context, ACTION_RECENT_APPS, R.string.alert_recent_apps_failed)
}
}
fun isEnabled(context: Context): Boolean {
val enabledServices = Settings.Secure.getString(
context.contentResolver,
@ -58,7 +76,7 @@ class LauncherAccessibilityService : AccessibilityService() {
setView(R.layout.dialog_consent_accessibility)
setTitle(R.string.dialog_consent_accessibility_title)
setPositiveButton(R.string.dialog_consent_accessibility_ok) { _, _ ->
lockScreen(context)
invoke(context, ACTION_REQUEST_ENABLE, R.string.alert_enable_accessibility_failed)
}
setNegativeButton(R.string.dialog_cancel) { _, _ -> }
}.create().also { it.show() }.apply {
@ -94,7 +112,9 @@ class LauncherAccessibilityService : AccessibilityService() {
}
when (action) {
ACTION_REQUEST_ENABLE -> {} // do nothing
ACTION_LOCK_SCREEN -> handleLockScreen()
ACTION_RECENT_APPS -> performGlobalAction(GLOBAL_ACTION_RECENTS)
}
}
return super.onStartCommand(intent, flags, startId)

View file

@ -6,6 +6,7 @@ import android.widget.Button
import androidx.appcompat.app.AlertDialog
import de.jrpie.android.launcher.BuildConfig
import de.jrpie.android.launcher.R
import de.jrpie.android.launcher.actions.lock.LauncherAccessibilityService
import de.jrpie.android.launcher.preferences.LauncherPreferences

View file

@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="?android:textColor"
android:pathData="M4,8h4L8,4L4,4v4zM10,20h4v-4h-4v4zM4,20h4v-4L4,16v4zM4,14h4v-4L4,10v4zM10,14h4v-4h-4v4zM16,4v4h4L20,4h-4zM10,8h4L14,4h-4v4zM16,14h4v-4h-4v4zM16,20h4v-4h-4v4z" />
</vector>

View file

@ -38,7 +38,7 @@
<string name="settings_gesture_down_left_edge">Para baixo (borda esquerda)</string>
<string name="settings_gesture_down_right_edge">Para baixo (borda direita)</string>
<string name="settings_gesture_vol_up">Botão de aumentar volume</string>
<string name="settings_gesture_vol_down">Botão de diminuição de volume</string>
<string name="settings_gesture_vol_down">Botão de diminuir volume</string>
<string name="settings_gesture_double_click">Toque duplo</string>
<string name="settings_gesture_long_click">Toque longo</string>
<string name="settings_gesture_date">Data</string>
@ -98,8 +98,8 @@
<string name="list_apps_search_hint">Busque</string>
<string name="list_other_settings">Configurações do μLauncher</string>
<string name="list_other_list">Todos os apps</string>
<string name="list_other_volume_up">Aumento de volume</string>
<string name="list_other_volume_down">Diminuição de volume</string>
<string name="list_other_volume_up">Aumentar volume</string>
<string name="list_other_volume_down">Diminuir volume</string>
<string name="list_other_track_next">Música: Próximo</string>
<string name="list_other_track_previous">Música: Anterior</string>
<string name="list_other_nop">Não faça nada</string>
@ -302,7 +302,7 @@
<string name="settings_gesture_description_swipe_lambda_reverse">Inferior direito -&gt; superior médio -&gt; inferior esquerdo</string>
<string name="settings_list_reverse_layout">Inverter a lista de apps</string>
<string name="settings_meta_donate">Doar</string>
<string name="list_other_volume_adjust">Ajuste de volume</string>
<string name="list_other_volume_adjust">Ajustar volume</string>
<string name="settings_display_hide_status_bar">Ocultar barra de status</string>
<string name="settings_display_hide_navigation_bar">Ocultar barra de navegação</string>
<string name="tutorial_concept_label_version">Versão</string>

View file

@ -5,36 +5,36 @@
<string name="ic_menu_alt">更多选项</string>
<string name="settings_title">设置</string>
<string name="settings_launcher_section_appearance">外观</string>
<string name="settings_theme_color_theme">主题风格</string>
<string name="settings_theme_color_theme">色调风格</string>
<string name="settings_launcher_section_display">显示</string>
<string name="list_tab_other">其他</string>
<string name="settings_gesture_up"></string>
<string name="settings_gesture_down"></string>
<string name="settings_gesture_up"></string>
<string name="settings_gesture_down"></string>
<string name="alert_cant_open_title">无法打开应用</string>
<string name="alert_cant_open_message">要更改其设置吗?</string>
<string name="toast_cant_open_message">打开设置,为该手势绑定一个应用程序</string>
<string name="settings_tab_launcher">启动器</string>
<string name="settings_tab_meta">杂项</string>
<string name="settings_gesture_left"></string>
<string name="settings_gesture_double_left">左滑两次</string>
<string name="settings_gesture_double_up">上滑两次</string>
<string name="settings_gesture_double_down">下滑两次</string>
<string name="settings_gesture_double_left">双指左滑</string>
<string name="settings_gesture_double_up">双指上滑</string>
<string name="settings_gesture_double_down">双指下滑</string>
<string name="settings_gesture_right"></string>
<string name="settings_gesture_double_right">右滑两次</string>
<string name="settings_gesture_right_top_edge">右(顶部)</string>
<string name="settings_gesture_right_bottom_edge">右(底部)</string>
<string name="settings_gesture_left_bottom_edge">左(底部)</string>
<string name="settings_gesture_left_top_edge">左(顶部)</string>
<string name="settings_gesture_up_left_edge">上(左边缘)</string>
<string name="settings_gesture_up_right_edge">上(右边缘)</string>
<string name="settings_gesture_down_left_edge">下(左边缘)</string>
<string name="settings_gesture_down_right_edge">下(右边缘)</string>
<string name="settings_gesture_vol_up">音量</string>
<string name="settings_gesture_vol_down">音量</string>
<string name="settings_gesture_double_right">双指右滑</string>
<string name="settings_gesture_right_top_edge">(顶部)</string>
<string name="settings_gesture_right_bottom_edge">(底部)</string>
<string name="settings_gesture_left_bottom_edge">(底部)</string>
<string name="settings_gesture_left_top_edge">(顶部)</string>
<string name="settings_gesture_up_left_edge">(左边缘)</string>
<string name="settings_gesture_up_right_edge">(右边缘)</string>
<string name="settings_gesture_down_left_edge">(左边缘)</string>
<string name="settings_gesture_down_right_edge">(右边缘)</string>
<string name="settings_gesture_vol_up">音量增加键</string>
<string name="settings_gesture_vol_down">音量降低键</string>
<string name="settings_gesture_double_click">双击</string>
<string name="settings_gesture_long_click">长按</string>
<string name="settings_gesture_date">日期</string>
<string name="settings_gesture_time">时间</string>
<string name="settings_gesture_date">桌面日期</string>
<string name="settings_gesture_time">桌面时钟</string>
<string name="settings_apps_choose">选择应用</string>
<string name="settings_apps_install">安装应用</string>
<string name="settings_apps_toast_store_not_found">没有找到应用市场</string>
@ -42,9 +42,9 @@
<string name="settings_theme_wallpaper">选择壁纸</string>
<string name="settings_display_screen_timeout_disabled">保持屏幕常亮</string>
<string name="settings_launcher_section_functionality">功能</string>
<string name="settings_enabled_gestures_edge_swipe">边缘滑动动作</string>
<string name="settings_functionality_auto_launch">启动搜索匹配项</string>
<string name="settings_functionality_auto_keyboard">搜索时呼出键盘</string>
<string name="settings_enabled_gestures_edge_swipe">边缘滑动手势</string>
<string name="settings_functionality_auto_launch">自动启动搜索匹配项</string>
<string name="settings_functionality_auto_keyboard">自动激活搜索</string>
<string name="settings_launcher_sensitivity">灵敏度</string>
<string name="settings_meta_cant_select_launcher">应用信息</string>
<string name="settings_meta_show_tutorial">查看 µLauncher 的使用教程</string>
@ -61,10 +61,10 @@
<string name="tutorial_concept_title">概念</string>
<string name="tutorial_concept_text_2">这是一款自由软件(遵循 MIT 许可)!\n欢迎查看项目仓库</string>
<string name="tutorial_usage_title">使用方法</string>
<string name="tutorial_usage_text">您的主屏幕仅包含本地日期和时间,没有多余项目。</string>
<string name="tutorial_usage_text">您的主屏幕仅包含本地日期和时间,没有多余项目。</string>
<string name="tutorial_setup_title">设置</string>
<string name="tutorial_setup_text">我们为您选择了一些默认应用。如果您希望进行更改,现在就可以</string>
<string name="tutorial_setup_text_2">您也可以稍后对您的选择进行更改</string>
<string name="tutorial_setup_text">我们为您预设了一些快捷操作。如果您不满意,现在就试试点击右侧图标</string>
<string name="tutorial_setup_text_2">您也可以稍后更改您的选择</string>
<string name="tutorial_finish_title">开始!</string>
<string name="list_tab_app">应用</string>
<string name="list_app_delete">卸载</string>
@ -79,15 +79,15 @@
<string name="list_other_nop">啥也不干</string>
<string name="tutorial_title">教程</string>
<string name="tutorial_concept_text">μLauncher 的设计理念是简约、高效,无干扰。\n\n不含广告、且不收集任何数据。</string>
<string name="tutorial_usage_text_2">您可以通过手势或按键来启动最重要的应用程序。</string>
<string name="settings_general_choose_home_screen">将 μLauncher 设为默认桌面</string>
<string name="tutorial_finish_text">您已经准备好开始使用本启动器了!\n\n希望这对你有帮助!\n\n- FinnLauncher 的作者)和 Josia对 μLauncher 进行了改进和维护)</string>
<string name="settings_enabled_gestures_double_swipe">滑动作</string>
<string name="tutorial_usage_text_2">您可以通过手势或按键来启动对您来说最重要的应用程序。</string>
<string name="settings_general_choose_home_screen">将 μLauncher 设为默认启动器</string>
<string name="tutorial_finish_text">您已经准备好开始使用本启动器了!\n\n希望本快捷教程能对您有所帮助!\n\n- FinnLauncher 的作者)和 Josia对 μLauncher 进行了改进和维护)</string>
<string name="settings_enabled_gestures_double_swipe">指滑动手势</string>
<string name="settings_clock_localized">使用本地日期格式</string>
<string name="settings_clock_time_visible">显示时间</string>
<string name="settings_clock_date_visible">显示日期</string>
<string name="settings_clock_flip_date_time">翻转日期和时间</string>
<string name="settings_theme_background">背景(应用列表和设置)</string>
<string name="settings_clock_flip_date_time">交换日期和时间位置</string>
<string name="settings_theme_background">背景(应用程序列表和设置页面</string>
<string name="settings_theme_font">字体</string>
<string name="settings_theme_monochrome_icons">黑白应用图标</string>
<string name="settings_clock_show_seconds">显示秒</string>
@ -100,7 +100,7 @@
<string name="alert_torch_access_exception">错误:无法访问闪光灯。</string>
<string name="screen_lock_method_dialog_title">选择锁屏方法</string>
<string name="settings_actions_lock_method">选择锁屏的方法</string>
<string name="settings_apps_hide_bound_apps">不要在应用抽屉中显示被绑定到手势的应用</string>
<string name="settings_apps_hide_bound_apps">不要在应用程序列表中显示已被绑定到手势操作的应用</string>
<string name="alert_requires_android_m">此功能需要 Android 6 或更高版本。</string>
<string name="snackbar_app_hidden">应用程序已隐藏。您可在设置中让它再次显示。</string>
<string name="toast_device_admin_not_enabled">µLauncher 需要激活“设备管理应用”权限才能够锁定屏幕。</string>
@ -114,34 +114,34 @@
<string name="undo">撤销</string>
<string name="settings_apps_hidden">隐藏的应用</string>
<string name="list_title_hidden">隐藏的应用</string>
<string name="settings_gesture_description_up">上滑</string>
<string name="settings_gesture_description_double_up">双指向上滑动</string>
<string name="settings_gesture_description_down">下滑</string>
<string name="settings_gesture_description_up">上滑</string>
<string name="settings_gesture_description_double_up">双指向上滑动</string>
<string name="settings_gesture_description_down">下滑</string>
<string name="settings_gesture_description_double_down">双指向下滑动</string>
<string name="settings_gesture_description_left">左滑</string>
<string name="settings_gesture_description_left">左滑</string>
<string name="settings_gesture_description_double_left">双指向左滑动</string>
<string name="settings_gesture_description_right">右滑</string>
<string name="settings_gesture_description_right">右滑</string>
<string name="settings_gesture_description_double_right">双指向右滑动</string>
<string name="settings_gesture_description_right_top_edge">屏幕顶部向右滑动</string>
<string name="settings_gesture_description_right_bottom_edge">屏幕底部向右滑动</string>
<string name="settings_gesture_description_left_bottom_edge">屏幕底部向左滑动</string>
<string name="settings_gesture_description_left_top_edge">屏幕顶部向左滑动</string>
<string name="settings_gesture_description_up_left_edge">屏幕左边缘向上滑动</string>
<string name="settings_gesture_description_up_right_edge">屏幕右边缘向上滑动</string>
<string name="settings_gesture_description_down_left_edge">屏幕左边缘向下滑动</string>
<string name="settings_gesture_description_down_right_edge">屏幕右边缘向下滑动</string>
<string name="settings_gesture_description_vol_up">按下音量增大按钮</string>
<string name="settings_gesture_description_vol_down">按下音量降低按钮</string>
<string name="settings_gesture_description_right_top_edge">桌面顶部向右滑动</string>
<string name="settings_gesture_description_right_bottom_edge">桌面底部向右滑动</string>
<string name="settings_gesture_description_left_bottom_edge">桌面底部向左滑动</string>
<string name="settings_gesture_description_left_top_edge">桌面顶部向左滑动</string>
<string name="settings_gesture_description_up_left_edge">桌面左边缘向上滑动</string>
<string name="settings_gesture_description_up_right_edge">桌面右边缘向上滑动</string>
<string name="settings_gesture_description_down_left_edge">桌面左边缘向下滑动</string>
<string name="settings_gesture_description_down_right_edge">桌面右边缘向下滑动</string>
<string name="settings_gesture_description_vol_up">按下音量增加键</string>
<string name="settings_gesture_description_vol_down">按下音量降低</string>
<string name="settings_gesture_description_double_click">双击空白区域</string>
<string name="settings_gesture_description_long_click">长按空白区域</string>
<string name="settings_gesture_description_date">点击日期</string>
<string name="settings_gesture_description_time">点击时间</string>
<string name="settings_gesture_description_date">点击桌面日期</string>
<string name="settings_gesture_description_time">点击桌面时钟</string>
<string name="settings_meta_view_code">查看源代码</string>
<string name="settings_meta_join_chat">加入 μLauncher 的聊天群</string>
<string name="list_other_list_favorites">收藏的应用</string>
<string name="list_other_lock_screen">锁屏</string>
<string name="settings_theme_text_shadow">文本阴影</string>
<string name="settings_enabled_gestures_double_swipe_summary">双指滑动</string>
<string name="settings_enabled_gestures_double_swipe_summary">使用双指进行滑动手势操作</string>
<string name="dialog_rename_title">重命名 %1$s</string>
<string name="settings_theme_color_theme_item_default">默认</string>
<string name="settings_theme_color_theme_item_dark">暗色</string>
@ -165,9 +165,9 @@
<string name="settings_theme_color_theme_item_light">亮色</string>
<string name="list_other_expand_settings_panel">快速设置</string>
<string name="alert_lock_screen_failed">错误:锁定屏幕失败。(如果您刚刚升级了本启动器,请尝试在手机设置中手动禁用并重新启用“无障碍”服务)</string>
<string name="settings_enabled_gestures_edge_swipe_summary">屏幕边缘滑动</string>
<string name="settings_enabled_gestures_edge_swipe_summary">桌面边缘进行滑动手势操作</string>
<string name="accessibility_service_description">将 µLauncher 设置为“无障碍”服务以允许其锁定屏幕。请注意,这会使 µLauncher 获得额外的权限。你永远不应该轻易地授予任何应用程序这样的权限。获得授权后“无障碍”服务将仅被用于锁定屏幕。您可以审核我们的源代码。请注意,锁定屏幕也可以通过激活 µLauncher 的“设备管理应用”权限来实现,然而,这种方法无法与于指纹解锁和面部解锁兼容。</string>
<string name="settings_gesture_back">返回</string>
<string name="settings_gesture_back">返回操作</string>
<string name="dialog_select_color_red">红色</string>
<string name="dialog_select_color_blue">蓝色</string>
<string name="dialog_select_color_alpha">透明度</string>
@ -175,19 +175,19 @@
<string name="settings_theme_color_theme_item_dynamic">动态</string>
<string name="list_title_private_space">私人空间</string>
<string name="list_other_list_private_space">私人空间</string>
<string name="dialog_choose_color_title">选择颜色</string>
<string name="dialog_choose_color_title">设置颜色</string>
<string name="dialog_select_color_color_hex">颜色</string>
<string name="dialog_report_bug_title">错误反馈</string>
<string name="settings_gesture_swipe_larger"><![CDATA[>]]></string>
<string name="tooltip_lock_private_space">锁定私人空间</string>
<string name="settings_gesture_swipe_v">V</string>
<string name="settings_gesture_swipe_lambda">Λ</string>
<string name="settings_list_layout_item_text">文本</string>
<string name="settings_list_layout_item_text">文本</string>
<string name="settings_list_layout_item_grid">网格</string>
<string name="dialog_report_bug_create_report">创建报告</string>
<string name="tooltip_unlock_private_space">解锁私人空间</string>
<string name="settings_list_layout_item_default">默认</string>
<string name="settings_clock_color">颜色</string>
<string name="settings_clock_color">文本颜色</string>
<string name="settings_gesture_swipe_smaller"><![CDATA[<]]></string>
<string name="dialog_report_bug_button_clipboard">复制到剪贴板</string>
<string name="alert_requires_android_v">此功能需要 Android 15 或更高版本。</string>
@ -210,9 +210,9 @@
<string name="settings_gesture_description_back">返回按键 / 返回手势</string>
<string name="settings_gesture_description_tap_down">先单击然后再下滑</string>
<string name="settings_functionality_search_web">在网络上搜索</string>
<string name="settings_gesture_description_swipe_smaller">(从)右上 (滑向)中左(滑向)右下</string>
<string name="settings_functionality_search_web_summary">通过按回车键在应用列表搜索界面激活网络搜索。</string>
<string name="settings_gesture_description_swipe_lambda">(从)左下 (滑向)中上(滑向)右下</string>
<string name="settings_gesture_description_swipe_smaller">(从)右上(滑向)中左(滑向)右下</string>
<string name="settings_functionality_search_web_summary">输入搜索内容后,按回车键直接在应用列表界面启动网络搜索。</string>
<string name="settings_gesture_description_swipe_lambda">(从)左下(滑向)中上(滑向)右下</string>
<string name="screen_lock_method_dialog_text"><![CDATA[
<h1>选择锁定设备的方式</h1>
有2种方式可以用来锁定屏幕。
@ -238,7 +238,7 @@
]]></string>
<string name="list_apps_search_hint_no_auto_launch">搜索(不触发自动启动匹配项)</string>
<string name="dialog_consent_accessibility_text"><![CDATA[您即将激活“无障碍”服务。这将授予 μLauncher <strong>广泛且重要的权限</strong>。<br/>但 μLauncher <strong>仅会在需要锁定屏幕时</strong>使用这些权限。µLauncher <strong>绝不会收集任何数据</strong>。尤其是μLauncher 不会使用“无障碍”服务来收集任何数据。]]></string>
<string name="settings_gesture_description_swipe_larger">(从)左上 (滑向)中右(滑向)左下</string>
<string name="settings_gesture_description_swipe_larger">(从)左上(滑向)中右(滑向)左下</string>
<string name="settings_gesture_tap_up">单击 + 上滑</string>
<string name="settings_gesture_tap_down">单击 + 下滑</string>
<string name="settings_gesture_tap_left">单击 + 左滑</string>
@ -246,16 +246,16 @@
<string name="settings_gesture_description_tap_up">先单击然后再上滑</string>
<string name="settings_gesture_tap_right">单击 + 右滑</string>
<string name="settings_gesture_description_tap_right">先单击然后再右滑</string>
<string name="settings_gesture_description_swipe_larger_reverse">(从)左下 (滑向)中右(滑向)左上</string>
<string name="settings_gesture_description_swipe_smaller_reverse">(从)右下 (滑向)中左(滑向)右上</string>
<string name="settings_gesture_description_swipe_v">(从)左上 (滑向)中下(滑向)右上</string>
<string name="settings_gesture_description_swipe_v_reverse">(从)右上 (滑向)中下(滑向)左上</string>
<string name="settings_gesture_description_swipe_lambda_reverse">(从)右下 (滑向)中上(滑向)左下</string>
<string name="settings_gesture_description_swipe_larger_reverse">(从)左下(滑向)中右(滑向)左上</string>
<string name="settings_gesture_description_swipe_smaller_reverse">(从)右下(滑向)中左(滑向)右上</string>
<string name="settings_gesture_description_swipe_v">(从)左上(滑向)中下(滑向)右上</string>
<string name="settings_gesture_description_swipe_v_reverse">(从)右上(滑向)中下(滑向)左上</string>
<string name="settings_gesture_description_swipe_lambda_reverse">(从)右下(滑向)中上(滑向)左下</string>
<string name="settings_gesture_swipe_lambda_reverse">Λ (反向)</string>
<string name="settings_gesture_swipe_v_reverse">V反向</string>
<string name="settings_gesture_swipe_larger_reverse"><![CDATA[>(反向)]]></string>
<string name="settings_gesture_swipe_smaller_reverse"><![CDATA[<(反向)]]></string>
<string name="settings_functionality_auto_launch_summary">开启后将直接启动匹配搜索内容的应用,可以通过按空格键临时暂停该功能。</string>
<string name="settings_functionality_auto_launch_summary">开启后将直接启动搜索所匹配到的应用,可以通过在搜索内容前添加空格来临时停用该功能。</string>
<string name="settings_list_layout">应用程序列表样式</string>
<string name="pin_shortcut_button_bind">绑定到手势</string>
<string name="list_other_track_play_pause">音乐:播放 / 暂停</string>
@ -268,10 +268,11 @@
<string name="list_other_volume_adjust">调整音量</string>
<string name="tutorial_concept_label_version">版本</string>
<string name="tutorial_app_list_title">所有应用</string>
<string name="tutorial_app_list_text">您可以在应用程序列表中快速所搜所有应用。\n\n您可以通过上滑打开应用程序列表也可以通过绑定其他手势操作来打开应用程序列表。</string>
<string name="tutorial_app_list_text_2">当匹配到唯一的应用程序后,该应用将自动启动。\n如果你不想触发自动启动在查询内容前加上空格即可禁用。</string>
<string name="tutorial_app_list_text">您可以在应用程序列表中快速找到已安装的应用程序。\n\n您可以通过上滑打开应用程序列表也可以通过绑定其他手势操作来打开应用程序列表。</string>
<string name="tutorial_app_list_text_2">您还可以搜索,当匹配到唯一的应用程序后,该应用将自动启动。\n如果你不想触发自动启动可以在搜索内容前加上空格以禁用。</string>
<string name="settings_display_hide_status_bar">隐藏状态栏</string>
<string name="settings_display_hide_navigation_bar">隐藏导航栏</string>
<string name="settings_list_reverse_layout">倒序排列应用程序</string>
<string name="dialog_consent_accessibility_consent">我同意 μLauncher 使用无障碍服务来提供与无障碍服务无关的其他功能。</string>
<string name="settings_tab_actions">快捷操作</string>
</resources>

View file

@ -252,6 +252,7 @@
<string name="list_other_track_previous">Music: Previous</string>
<string name="list_other_track_play_pause">Music: Play / Pause</string>
<string name="list_other_expand_notifications_panel">Expand notifications panel</string>
<string name="list_other_recent_apps">Recent Apps</string>
<string name="list_other_nop">Do nothing</string>
<string name="list_other_lock_screen">Lock Screen</string>
<string name="list_other_torch">Toggle Torch</string>
@ -307,6 +308,8 @@
<string name="alert_no_torch_found">No camera with torch detected.</string>
<string name="alert_torch_access_exception">Error: Can\'t access torch.</string>
<string name="alert_lock_screen_failed">Error: Failed to lock screen. (If you just upgraded the app, try to disable and re-enable the accessibility service in phone settings)</string>
<string name="alert_recent_apps_failed">Error: Failed to show recent apps. (If you just upgraded the app, try to disable and re-enable the accessibility service in phone settings)</string>
<string name="alert_enable_accessibility_failed">Error: Failed to enable the accessibility service.</string>
<string name="toast_accessibility_service_not_enabled">μLauncher\'s accessibility service is not enabled. Please enable it in settings</string>
<string name="toast_private_space_locked">Private space locked</string>
<string name="toast_private_space_unlocked">Private space unlocked</string>
@ -315,12 +318,17 @@
<string name="tooltip_lock_private_space">Lock private space</string>
<string name="tooltip_unlock_private_space">Unlock private space</string>
<string name="toast_lock_screen_not_supported">Error: Locking the screen using accessibility is not supported on this device. Please use device admin instead.</string>
<string name="accessibility_service_name">μLauncher - lock screen</string>
<string name="accessibility_service_name">μLauncher</string>
<string name="accessibility_service_description">
Setting μLauncher as an accessibility service allows it to lock the screen.
Setting μLauncher as an accessibility service allows it to lock the screen and open the recent apps menu.
Note that excessive permissions are required. You should never grant such permissions lightly to any app.
μLauncher will use the accessibility service only for locking the screen. You can check the source code to make sure.
μLauncher will use the accessibility service only for performing the following actions when requested by the user:
* lock screen
* open recent apps
μLauncher will never use the accessibility service to collect data. You can check the source code to make sure.
Note that locking the screen can also be accomplished by granting μLauncher device administrator permissions. However that method doesn\'t work with fingerprint and face unlock.
</string>
@ -365,7 +373,12 @@
<string name="dialog_consent_accessibility_other_options">I am aware that other options exist (using device administrator privileges or the power button).</string>
<string name="dialog_consent_accessibility_consent">I consent to μLauncher using the accessibility service to provide functionality unrelated to accessibility.</string>
<string name="dialog_consent_accessibility_data_collection">I consent to μLauncher not collecting any data.</string>
<string name="dialog_consent_accessibility_text"><![CDATA[You are about to activate the accessibility service. This will grant <strong>far-reaching privileges</strong> to μLauncher.<br/>μLauncher will use these privileges <strong>only to lock the screen</strong>. μLauncher <strong>will never collect any data</strong>. In particular, μLauncher does not use the accessibility service to collect any data.]]></string>
<string name="dialog_consent_accessibility_text"><![CDATA[You are about to activate the accessibility service. This will grant <strong>far-reaching privileges</strong> to μLauncher.<br/>μLauncher will use these privileges <strong>only</strong> to perform the following actions:
<ul>
<li>Lock Screen</li>
<li>Recent Apps</li>
</ul>
μLauncher <strong>will never collect any data</strong>. In particular, μLauncher does not use the accessibility service to collect any data.]]></string>
<string name="dialog_consent_accessibility_title">Activating the Accessibility Service</string>
<string name="dialog_consent_accessibility_ok">Activate Accessibility Service</string>
<string name="dialog_cancel">Cancel</string>