Skip to content

Commit

Permalink
feat: more md3
Browse files Browse the repository at this point in the history
  • Loading branch information
lz233 committed Jan 14, 2023
1 parent 26a9dd8 commit 0f87e12
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 4 deletions.
6 changes: 6 additions & 0 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,25 @@
<string name="settingsTitle">设置</string>
<string name="settingsWorkModeTitle">工作模式</string>
<string name="settingsWorkModeEditTextMenu">编辑菜单</string>
<string name="settingsWorkModeEditTextMenuSummary">在可编辑的文本框中选择「Tarnhelm」</string>
<string name="settingsWorkModeCopyMenu">复制菜单</string>
<string name="settingsWorkModeCopyMenuSummary">选择文字后点击「Tarnhelm 复制」</string>
<string name="settingsWorkModeShare">分享对话框</string>
<string name="settingsWorkModeShareSummary">在分享对话框中选择「Tarnhelm」</string>
<string name="settingsWorkModeBackgroundMonitoring">后台监听</string>
<string name="settingsWorkModeBackgroundMonitoringSummary">在后台实时处理剪切板内容</string>
<string name="settingsWorkModeBackgroundMonitoringToast">阅读文档了解如何开启</string>
<string name="settingsWorkModeBackgroundMonitoringToastAction">打开</string>
<string name="settingsWorkModeXposed">Xposed</string>
<string name="settingsWorkModeOpenLSPosedToast">在 LSPosed 中激活并重启来修改</string>
<string name="settingsWorkModeRecommendationToast">推荐只打开「后台监听」或「Xposed」的其中一个</string>
<string name="settingsXposedTitle">Xposed</string>
<string name="settingsWorkModeXposedSummary">挂住系统框架以修改剪切板</string>
<string name="settingsXposedRewriteClipboard">重写剪切板</string>
<string name="settingsXposedOverrideClipboardOverlay">覆写剪切板悬浮窗</string>
<string name="settingsBehavior">行为</string>
<string name="settingsBehaviorExportRulesAsLink">以链接形式导出规则</string>
<string name="settingsBehaviorExportRulesAsLinkSummary">在导出的规则前添加「tarnhelm://」</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoring">后台监听时使用前台服务</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoringSummary">关闭后可能会造成诸多不必要的麻烦</string>
<string name="settingsBehaviorAnalytics">AppCenter Analytics</string>
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values-zh-rHK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,25 @@
<string name="settingsTitle">設置</string>
<string name="settingsWorkModeTitle">工作模式</string>
<string name="settingsWorkModeEditTextMenu">編輯菜單</string>
<string name="settingsWorkModeEditTextMenuSummary">在可編輯的文本框中選擇「Tarnhelm」</string>
<string name="settingsWorkModeCopyMenu">複製菜單</string>
<string name="settingsWorkModeCopyMenuSummary">選擇文字後點擊「Tarnhelm 複製」</string>
<string name="settingsWorkModeShare">分享對話框</string>
<string name="settingsWorkModeShareSummary">在分享對話框中選擇「Tarnhelm」</string>
<string name="settingsWorkModeBackgroundMonitoring">後台監聽</string>
<string name="settingsWorkModeBackgroundMonitoringSummary">在後台實時處理剪切板內容</string>
<string name="settingsWorkModeBackgroundMonitoringToast">閱讀文檔了解如何開啟</string>
<string name="settingsWorkModeBackgroundMonitoringToastAction">打開</string>
<string name="settingsWorkModeXposed">Xposed</string>
<string name="settingsWorkModeOpenLSPosedToast">在 LSPosed 中啟動並重啟來修改</string>
<string name="settingsWorkModeRecommendationToast">推薦只打開「後台監聽」或「Xposed」的其中一個</string>
<string name="settingsXposedTitle">Xposed</string>
<string name="settingsWorkModeXposedSummary">掛住系統框架以修改剪切板</string>
<string name="settingsXposedRewriteClipboard">重寫剪切板</string>
<string name="settingsXposedOverrideClipboardOverlay">覆寫剪切板懸浮窗</string>
<string name="settingsBehavior">行為</string>
<string name="settingsBehaviorExportRulesAsLink">以鏈接形式導出規則</string>
<string name="settingsBehaviorExportRulesAsLinkSummary">在導出的規則前添加「tarnhelm://」</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoring">後台監聽時使用前台服務</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoringSummary">關閉後可能會造成諸多不必要的麻煩</string>
<string name="settingsBehaviorAnalytics">AppCenter Analytics</string>
Expand Down
14 changes: 10 additions & 4 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,26 @@

<string name="settingsTitle">設定</string>
<string name="settingsWorkModeTitle">工作模式</string>
<string name="settingsWorkModeEditTextMenu">編輯選單</string>
<string name="settingsWorkModeCopyMenu">複製選單</string>
<string name="settingsWorkModeShare">分享對話方塊</string>
<string name="settingsWorkModeEditTextMenu">編輯菜單</string>
<string name="settingsWorkModeEditTextMenuSummary">在可編輯的文本框中選擇「Tarnhelm」</string>
<string name="settingsWorkModeCopyMenu">複製菜單</string>
<string name="settingsWorkModeCopyMenuSummary">選擇文字後點擊「Tarnhelm 複製」</string>
<string name="settingsWorkModeShare">分享對話框</string>
<string name="settingsWorkModeShareSummary">在分享對話框中選擇「Tarnhelm」</string>
<string name="settingsWorkModeBackgroundMonitoring">後台監聽</string>
<string name="settingsWorkModeBackgroundMonitoringSummary">在後台即時處理剪切板內容</string>
<string name="settingsWorkModeBackgroundMonitoringToast">閱讀文件了解如何開啟</string>
<string name="settingsWorkModeBackgroundMonitoringToastAction">打開</string>
<string name="settingsWorkModeXposed">Xposed</string>
<string name="settingsWorkModeOpenLSPosedToast">在 LSPosed 中啟動並重啟來修改</string>
<string name="settingsWorkModeOpenLSPosedToast">在 LSPosed 中啟用並重啟來修改</string>
<string name="settingsWorkModeRecommendationToast">推薦只打開「後台監聽」或「Xposed」的其中一個</string>
<string name="settingsXposedTitle">Xposed</string>
<string name="settingsWorkModeXposedSummary">掛住系統框架以修改剪切板</string>
<string name="settingsXposedRewriteClipboard">重寫剪切板</string>
<string name="settingsXposedOverrideClipboardOverlay">覆寫剪切板懸浮窗</string>
<string name="settingsBehavior">行為</string>
<string name="settingsBehaviorExportRulesAsLink">以連結形式匯出規則</string>
<string name="settingsBehaviorExportRulesAsLinkSummary">在導出的規則前添加「tarnhelm://」</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoring">後台監聽時使用前台服務</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoringSummary">關閉後可能會造成諸多不必要的麻煩</string>
<string name="settingsBehaviorAnalytics">AppCenter Analytics</string>
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,25 @@
<string name="settingsTitle">设置</string>
<string name="settingsWorkModeTitle">工作模式</string>
<string name="settingsWorkModeEditTextMenu">编辑菜单</string>
<string name="settingsWorkModeEditTextMenuSummary">在可编辑的文本框中选择「Tarnhelm」</string>
<string name="settingsWorkModeCopyMenu">复制菜单</string>
<string name="settingsWorkModeCopyMenuSummary">选择文字后点击「Tarnhelm 复制」</string>
<string name="settingsWorkModeShare">分享对话框</string>
<string name="settingsWorkModeShareSummary">在分享对话框中选择「Tarnhelm」</string>
<string name="settingsWorkModeBackgroundMonitoring">后台监听</string>
<string name="settingsWorkModeBackgroundMonitoringSummary">在后台实时处理剪切板内容</string>
<string name="settingsWorkModeBackgroundMonitoringToast">阅读文档了解如何开启</string>
<string name="settingsWorkModeBackgroundMonitoringToastAction">打开</string>
<string name="settingsWorkModeXposed">Xposed</string>
<string name="settingsWorkModeOpenLSPosedToast">在 LSPosed 中激活并重启来修改</string>
<string name="settingsWorkModeRecommendationToast">推荐只打开「后台监听」或「Xposed」的其中一个</string>
<string name="settingsXposedTitle">Xposed</string>
<string name="settingsWorkModeXposedSummary">挂住系统框架以修改剪切板</string>
<string name="settingsXposedRewriteClipboard">重写剪切板</string>
<string name="settingsXposedOverrideClipboardOverlay">覆写剪切板悬浮窗</string>
<string name="settingsBehavior">行为</string>
<string name="settingsBehaviorExportRulesAsLink">以链接形式导出规则</string>
<string name="settingsBehaviorExportRulesAsLinkSummary">在导出的规则前添加「tarnhelm://」</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoring">后台监听时使用前台服务</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoringSummary">关闭后可能会造成诸多不必要的麻烦</string>
<string name="settingsBehaviorAnalytics">AppCenter Analytics</string>
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,25 @@
<string name="settingsTitle">Settings</string>
<string name="settingsWorkModeTitle">Work Mode</string>
<string name="settingsWorkModeEditTextMenu">EditText Menu</string>
<string name="settingsWorkModeEditTextMenuSummary">Click \"Tarnhelm\" in the editable EditText</string>
<string name="settingsWorkModeCopyMenu">Copy Menu</string>
<string name="settingsWorkModeCopyMenuSummary">Click \"Tarnhelm Copy\" after selecting</string>
<string name="settingsWorkModeShare">Sharing Dialog</string>
<string name="settingsWorkModeShareSummary">Check \"Tarnhelm\" on sharing dialog</string>
<string name="settingsWorkModeBackgroundMonitoring">Background Monitoring</string>
<string name="settingsWorkModeBackgroundMonitoringSummary">Process contents in background real time</string>
<string name="settingsWorkModeBackgroundMonitoringToast">Read the document to learn how to enable it</string>
<string name="settingsWorkModeBackgroundMonitoringToastAction">Open</string>
<string name="settingsWorkModeXposed">Xposed</string>
<string name="settingsWorkModeXposedSummary">Hook framework to modify clipboard</string>
<string name="settingsWorkModeOpenLSPosedToast">Activate in LSPosed and reboot to modify</string>
<string name="settingsWorkModeRecommendationToast">Recommend to only enable one of Background Monitoring or Xposed</string>
<string name="settingsXposedTitle">Xposed</string>
<string name="settingsXposedRewriteClipboard">Rewrite clipboard</string>
<string name="settingsXposedOverrideClipboardOverlay">Override clipboard overlay</string>
<string name="settingsBehavior">Behavior</string>
<string name="settingsBehaviorExportRulesAsLink">Export rules as link</string>
<string name="settingsBehaviorExportRulesAsLinkSummary">Add \"tarnhelm://\" on exported rules</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoring">Use foreground service on Background Monitoring</string>
<string name="settingsBehaviorUseForegroundServiceOnBackgroundMonitoringSummary">Turning off may cause a lot of unnecessary problems</string>
<string name="settingsBehaviorAnalytics">AppCenter Analytics</string>
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,29 @@
<rikka.material.preference.MaterialSwitchPreference
android:defaultValue="true"
android:key="workModeEditTextMenu"
android:summary="@string/settingsWorkModeEditTextMenuSummary"
android:title="@string/settingsWorkModeEditTextMenu" />

<rikka.material.preference.MaterialSwitchPreference
android:defaultValue="true"
android:key="workModeCopyMenu"
android:summary="@string/settingsWorkModeCopyMenuSummary"
android:title="@string/settingsWorkModeCopyMenu" />

<rikka.material.preference.MaterialSwitchPreference
android:defaultValue="true"
android:key="workModeShare"
android:summary="@string/settingsWorkModeShareSummary"
android:title="@string/settingsWorkModeShare" />

<rikka.material.preference.MaterialSwitchPreference
android:key="workModeBackgroundMonitoring"
android:summary="@string/settingsWorkModeBackgroundMonitoringSummary"
android:title="@string/settingsWorkModeBackgroundMonitoring" />

<rikka.material.preference.MaterialSwitchPreference
android:key="workModeXposed"
android:summary="@string/settingsWorkModeXposedSummary"
android:title="@string/settingsWorkModeXposed" />
</PreferenceCategory>

Expand All @@ -42,6 +47,7 @@
<PreferenceCategory android:title="@string/settingsBehavior">
<rikka.material.preference.MaterialSwitchPreference
android:key="exportRulesAsLink"
android:summary="@string/settingsBehaviorExportRulesAsLinkSummary"
android:title="@string/settingsBehaviorExportRulesAsLink" />

<rikka.material.preference.MaterialSwitchPreference
Expand Down

0 comments on commit 0f87e12

Please sign in to comment.