Skip to content

Commit

Permalink
refactor: remove deprecated string res and preference items
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Nov 20, 2024
1 parent ff833ca commit 97dc557
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
10 changes: 0 additions & 10 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
<string name="keyboard__speak_key_commit_title">上屏时朗读字符</string>
<string name="keyboard__long_press_timeout_title">长按按键的延迟时间</string>
<string name="keyboard__key_repeat_interval_title">重复按键的重复间隔</string>
<string name="keyboard__delete_candidate_timeout_title">长按删除候选词的延迟时间</string>
<string name="keyboard__long_click_delete_candidate_title">长按删除候选词</string>
<string name="keyboard__show_switches_title">在候选栏中显示状态</string>
<string name="keyboard__show_key_popup_title">按键时弹出显示字符</string>
<string name="keyboard__show_window_title">显示悬浮窗</string>
<string name="keyboard__inline_preedit_title">嵌入式编辑模式</string>
<string-array name="keyboard__inline_entries">
<item>首选</item>
<item>编码</item>
<item>输入码</item>
<item>无</item>
</string-array>
<string-array name="keyboard__landscape_mode_entries">
<item>永不</item>
<item>只在横屏时</item>
Expand Down
10 changes: 0 additions & 10 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
<string name="keyboard__speak_key_commit_title">上屏時朗讀字符</string>
<string name="keyboard__long_press_timeout_title">長按按鍵的延遲時間</string>
<string name="keyboard__key_repeat_interval_title">重複按鍵的重複間隔</string>
<string name="keyboard__delete_candidate_timeout_title">長按刪除候選詞的延遲時間</string>
<string name="keyboard__long_click_delete_candidate_title">長按刪除候選詞</string>
<string name="keyboard__show_switches_title">在候選欄中顯示狀態</string>
<string name="keyboard__show_key_popup_title">按鍵時彈出顯示字符</string>
<string name="keyboard__show_window_title">顯示懸浮窗</string>
<string name="keyboard__inline_preedit_title">嵌入式編輯模式</string>
<string-array name="keyboard__inline_entries">
<item>首選</item>
<item>編碼</item>
<item>輸入碼</item>
<item>無</item>
</string-array>
<string-array name="keyboard__landscape_mode_entries">
<item>永不</item>
<item>只在橫屏時</item>
Expand Down
10 changes: 0 additions & 10 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
<string name="keyboard__speak_key_commit_title">Voice on commit</string>
<string name="keyboard__long_press_timeout_title">Long key press delay</string>
<string name="keyboard__key_repeat_interval_title">Key repeat interval</string>
<string name="keyboard__delete_candidate_timeout_title">Long click to delete candidate timeout</string>
<string name="keyboard__long_click_delete_candidate_title">Long click to delete candidate</string>
<string name="keyboard__show_switches_title">Show switches in candidate bar</string>
<string name="keyboard__show_key_popup_title">Popup on key press</string>
<string name="keyboard__show_window_title">Show floating window when composing</string>
<string name="keyboard__inline_preedit_title">Composing text in editor</string>
<string-array name="keyboard__inline_entries">
<item>Preview</item>
<item>Composition</item>
<item>Input</item>
<item>None</item>
</string-array>
<string-array name="keyboard__landscape_mode_entries">
<item>Never</item>
<item>Only in landscape mode</item>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/xml/keyboard_preference.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
<PreferenceCategory
app:iconSpaceReserved="false"
app:title="@string/pref_keyboard__candidate">
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="keyboard__show_window"
android:title="@string/keyboard__show_window_title"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
android:defaultValue="true"
android:key="keyboard__soft_cursor"
Expand Down

0 comments on commit 97dc557

Please sign in to comment.