From 4b629628d89fcf611598ee504da5a1114a4205ab Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Sun, 20 Sep 2020 15:25:50 +0300 Subject: [PATCH] Add new non-translated line for translators. Update readme, correct files with translations a bit. Increment version :) --- README.md | 2 ++ app/build.gradle | 14 +++++++------- .../developersu/ns_usbloader/AboutActivity.java | 2 ++ app/src/main/res/layout/content_about.xml | 9 +++++++++ app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values-zh-rCN/strings.xml | 6 +++--- app/src/main/res/values-zh-rTW/strings.xml | 4 ++-- app/src/main/res/values/strings.xml | 3 ++- 8 files changed, 28 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index ce4a0ce..4f65296 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,9 @@ Handling successful/failed installation is a purpose of the other side applicati #### Translators Traditional Chinese by [qazrfv1234](https://github.com/qazrfv1234) + Simplified Chinese by FFT9 (XXGAME GROUP)(http://www.xxgame.net) + #### TODO: - [ ] Add tools to simplify translation process diff --git a/app/build.gradle b/app/build.gradle index 1a31439..f39615f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.blogspot.developersu.ns_usbloader" minSdkVersion 15 targetSdkVersion 29 - versionCode 3 - versionName "1.0" + versionCode 4 + versionName "2.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" android.defaultConfig.vectorDrawables.useSupportLibrary = true } @@ -26,12 +26,12 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'androidx.appcompat:appcompat:1.1.0' - implementation 'androidx.constraintlayout:constraintlayout:1.1.3' + implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.constraintlayout:constraintlayout:2.0.1' testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + androidTestImplementation 'androidx.test:runner:1.3.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' - implementation 'com.google.android.material:material:1.1.0' + implementation 'com.google.android.material:material:1.2.1' } diff --git a/app/src/main/java/com/blogspot/developersu/ns_usbloader/AboutActivity.java b/app/src/main/java/com/blogspot/developersu/ns_usbloader/AboutActivity.java index 965d3ee..abff5b2 100644 --- a/app/src/main/java/com/blogspot/developersu/ns_usbloader/AboutActivity.java +++ b/app/src/main/java/com/blogspot/developersu/ns_usbloader/AboutActivity.java @@ -35,6 +35,8 @@ public class AboutActivity extends AppCompatActivity { t4.setMovementMethod(LinkMovementMethod.getInstance()); final TextView t6 = findViewById(R.id.textView6); t6.setMovementMethod(LinkMovementMethod.getInstance()); + final TextView tTranslators = findViewById(R.id.textViewTranslators); + tTranslators.setMovementMethod(LinkMovementMethod.getInstance()); ImageView donateLibera = findViewById(R.id.donateLiberaImageView); donateLibera.setOnClickListener(this::donateLiberaOnClickAction); diff --git a/app/src/main/res/layout/content_about.xml b/app/src/main/res/layout/content_about.xml index d820215..f2fd560 100644 --- a/app/src/main/res/layout/content_about.xml +++ b/app/src/main/res/layout/content_about.xml @@ -73,6 +73,15 @@ android:text="@string/about_line_5" android:textAppearance="@style/TextAppearance.AppCompat.Body1" /> + + Это приложение распространяется под лицензией GNU GPLv3 или любой более поздней версии. Автор: Дмитрий Исаенко. Домашняя страница: https://github.com/developersu/ns-usbloader-mobile - Переводчики: Если таковые имеются, то все они указаны на домашней странице. + "Переводчики: " Если вам нравится эта программа, можете поставить звёздочку на GitHub. Больше информации на домашней странице. Донаты по желанию. Неправильный файл (Передан) diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 4140da2..4863225 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -4,7 +4,7 @@ 所选的文件格式不支持 错误 上传到NS - 没有安装文件管理器。\\n请到应用商店下载,例如:Total Commander + 没有安装文件管理器。\n请到应用商店下载,例如:Total Commander NS已连接 已连接设备 通讯协议 @@ -36,7 +36,7 @@ 正在进行数据传输 正在进行传输 在通知栏显示传输文件的进度 - 首页: https://github.com/developersu/ns-usbloader-mobile 翻译:FFT9 (XXGAME GROUP) + 首页: https://github.com/developersu/ns-usbloader-mobile 如果本应用对你有帮助,请在程序的GitHub页面上按星号加分,也欢迎赞助 - " " + 口譯員:: \ No newline at end of file diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 3f8aec9..e4ffd48 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -4,7 +4,7 @@ 所選的檔案格式尚未支援 錯誤 上傳至NS - 裝置沒有安裝檔案管理器.\\n 請至PLAY商店內安裝檔案管理器. 例如:Total Commander + 裝置沒有安裝檔案管理器.\n 請至PLAY商店內安裝檔案管理器. 例如:Total Commander NS已連接 已連線的裝置 當使用者將行動裝置與NS連線時進行系統通知 @@ -24,7 +24,7 @@ 本程式依據GNU公共授權條款GPLv3(或更新版本)開發. 程式開發: Dmitry Isaenko. 程式首頁: https://github.com/developersu/ns-usbloader-mobile - 翻譯人員: 會在程式首頁內提供本程式介面在地化翻譯的人員名單. + 翻譯人員: 如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意) 檔案錯誤 (上傳失敗) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a3d1b1a..2d181c0 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -28,7 +28,7 @@ This application licensed under GNU GPLv3 or any later version. Author: Dmitry Isaenko. Home page: https://github.com/developersu/ns-usbloader-mobile - Translators: If there are any, they\'re noted on home page. + "Translators: " If you found this application useful, you\'re more than welcome to give a star on GitHub page. More information on home page. Donations (optional): Incorrect file (Upload failure) @@ -45,4 +45,5 @@ Data transfer in progress Transfer in progress Notification indicates transfer progress + * 中文(繁體) - qazrfv1234\n* 中文(简体) - FFT9 (XXGAME GROUP) \ No newline at end of file