diff --git a/src/main/res/values-ja/strings.xml b/src/main/res/values-ja/strings.xml index 32971f339f..4a60dc0d0a 100644 --- a/src/main/res/values-ja/strings.xml +++ b/src/main/res/values-ja/strings.xml @@ -162,6 +162,12 @@ %s に切り替え 現在のプロファイルを使用する + テスティング.... + 整理.... + 完全な待ち時間のテスト + レイテンシによる自動ソート + Ping + 送信済み: 受信済み: diff --git a/src/main/res/values-ru/strings.xml b/src/main/res/values-ru/strings.xml index 2b8cf365b6..33734d267d 100644 --- a/src/main/res/values-ru/strings.xml +++ b/src/main/res/values-ru/strings.xml @@ -153,6 +153,12 @@ Вернуть + тестирование.... + сортировка.... + Испытание полностью латентность + Автоматическая сортировка по времени ожидания + пинг + Сканирование подсказки кода Кажется, вы не установили сканер в соответствии с ZXing стандартами, нажмите кнопку «ОК» приведет вас в магазин приложений, где вы установили загрузку, или вы можете нажать кнопку «Загрузить», чтобы загрузить APK установлен непосредственно. diff --git a/src/main/res/values-zh-rCN/strings.xml b/src/main/res/values-zh-rCN/strings.xml index 717e04eaf5..a85e788e7a 100644 --- a/src/main/res/values-zh-rCN/strings.xml +++ b/src/main/res/values-zh-rCN/strings.xml @@ -165,6 +165,12 @@ 切换到 %s 使用当前配置 + 测试中... + 排序中... + 完整延时测试 + 基于延时自动排序 + 测试延时 + 发送: 接收: diff --git a/src/main/res/values-zh-rTW/strings.xml b/src/main/res/values-zh-rTW/strings.xml index 23530ff74b..e92d69a341 100644 --- a/src/main/res/values-zh-rTW/strings.xml +++ b/src/main/res/values-zh-rTW/strings.xml @@ -167,6 +167,12 @@ 切換至 %s 使用目前的設定檔 + 測試中... + 排序中... + 完整延時測試 + 基於延時自動排序 + 測試延時 + 傳送: 接收: diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 89b2d2de49..fd4e221ac2 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -124,7 +124,6 @@ Reset all the background services About ShadowsocksR %s - Ping Share Scan QR code or use Android Beam (NFC) Scan QR code @@ -137,8 +136,6 @@ Flushing Add Profile Apply Settings to All Profiles - Full latency test - Auto sort by latency Export to Clipboard Import from Clipboard Successfully export! @@ -164,6 +161,13 @@ Undo + Testing.... + Sorting.... + Full latency test + Auto sort by latency + Ping + + Scan tips It seems that You haven\'t installed the zxing scanner, click the ok button will guide you to play store, or you can click the \'direct download\' button to download directly and installed it. diff --git a/src/main/scala/com/github/shadowsocks/ProfileManagerActivity.scala b/src/main/scala/com/github/shadowsocks/ProfileManagerActivity.scala index 4c4fef2e38..8a8e73fe17 100644 --- a/src/main/scala/com/github/shadowsocks/ProfileManagerActivity.scala +++ b/src/main/scala/com/github/shadowsocks/ProfileManagerActivity.scala @@ -99,7 +99,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic val pingBtn = itemView.findViewById(R.id.ping_single) pingBtn.setOnClickListener(_ => { - val singleTestProgressDialog = ProgressDialog.show(ProfileManagerActivity.this, "Testing", "Testing", false, false) + val singleTestProgressDialog = ProgressDialog.show(ProfileManagerActivity.this, getString(R.string.tips_testing), getString(R.string.tips_testing), false, false) var profile = item @@ -642,7 +642,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic isTesting = true - testProgressDialog = ProgressDialog.show(this, "Testing", "Testing", false, true, new OnCancelListener() { + testProgressDialog = ProgressDialog.show(this, getString(R.string.tips_testing), getString(R.string.tips_testing), false, true, new OnCancelListener() { def onCancel(dialog: DialogInterface) { // TODO Auto-generated method stub // Do something... @@ -786,7 +786,7 @@ final class ProfileManagerActivity extends AppCompatActivity with OnMenuItemClic app.profileManager.getAllProfilesByElapsed match { case Some(profiles) => { var counter = 0 - testProgressDialog = ProgressDialog.show(this, "Sorting", "Sorting", false, false) + testProgressDialog = ProgressDialog.show(this, getString(R.string.tips_sorting), getString(R.string.tips_sorting), false, false) new Thread { override def run() {