Skip to content

Commit b83eac0

Browse files
committed
Localize more strings
1 parent 9a4b66b commit b83eac0

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<activity
6868
android:name=".ProfileConfigActivity"
6969
android:excludeFromRecents="true"
70-
android:label="Profile config"
70+
android:label="@string/profile_config"
7171
android:launchMode="singleTask"/>
7272

7373
<activity

src/main/res/menu/profile_config_menu.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<menu xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto">
44
<item android:id="@+id/action_delete"
5-
android:title="Delete"
5+
android:title="@string/delete"
66
android:icon="@drawable/ic_action_delete"
77
android:alphabeticShortcut="d"
88
android:numericShortcut="2"
99
app:showAsAction="always"/>
1010
<item android:id="@+id/action_apply"
11-
android:title="Apply"
11+
android:title="@string/apply"
1212
android:icon="@drawable/ic_action_done"
1313
android:alphabeticShortcut="a"
1414
android:numericShortcut="3"

src/main/res/menu/profile_share_popup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<menu xmlns:android="http://schemas.android.com/apk/res/android">
33
<item android:id="@+id/action_qr_code_nfc"
4-
android:title="QR code/NFC"
4+
android:title="@string/share_qr_nfc"
55
android:alphabeticShortcut="q"
66
android:numericShortcut="1"/>
77
<item android:id="@+id/action_export"

src/main/res/values-zh-rCN/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@
101101
<string name="gotcha">好的</string>
102102
<string name="profile_config">配置文件设置</string>
103103
<string name="unsaved_changes_prompt">保存修改吗?</string>
104+
<string name="apply">应用</string>
105+
<string name="delete">删除</string>
104106
<string name="delete_confirm_prompt">你是否确定要删除这个配置文件?</string>
107+
<string name="share_qr_nfc">二维码 / NFC</string>
105108
<string name="copy_url">复制 URL</string>
106109
<string name="add_profile_dialog">为影梭添加此配置文件?</string>
107110
<string name="add_profile_methods_scan_qr_code">扫描二维码</string>

src/main/res/values-zh-rTW/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@
102102
<string name="gotcha">我懂了!</string>
103103
<string name="profile_config">設定檔配置</string>
104104
<string name="unsaved_changes_prompt">要保存更改嗎?</string>
105+
<string name="apply">應用</string>
106+
<string name="delete">刪除</string>
105107
<string name="delete_confirm_prompt">您確定要移除這個設定檔嗎?</string>
108+
<string name="share_qr_nfc">QR 碼 / NFC</string>
106109
<string name="copy_url">複製 URL</string>
107110
<string name="add_profile_dialog">為 Shadowsocks 新增此設定檔?</string>
108111
<string name="add_profile_methods_scan_qr_code">掃描 QR 碼</string>

src/main/res/values/strings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@
130130
<string name="gotcha">Gotcha!</string>
131131
<string name="profile_config">Profile config</string>
132132
<string name="unsaved_changes_prompt">Changes not saved. Do you want to save?</string>
133+
<string name="apply">Apply</string>
134+
<string name="delete">Remove</string>
133135
<string name="delete_confirm_prompt">Are you sure you want to remove this profile?</string>
136+
<string name="share_qr_nfc">QR code/NFC</string>
134137
<string name="add_profile_dialog">Add this Shadowsocks Profile?</string>
135138
<string name="add_profile_methods_scan_qr_code">Scan QR code</string>
136139
<string name="add_profile_methods_manual_settings">Manual Settings</string>

0 commit comments

Comments
 (0)