Add new non-translated line for translators. Update readme, correct files with translations a bit. Increment version :)

This commit is contained in:
Dmitry Isaenko 2020-09-20 15:25:50 +03:00
parent ec069ad87b
commit 4b629628d8
8 changed files with 28 additions and 14 deletions

View file

@ -58,7 +58,9 @@ Handling successful/failed installation is a purpose of the other side applicati
#### Translators #### Translators
Traditional Chinese by [qazrfv1234](https://github.com/qazrfv1234) Traditional Chinese by [qazrfv1234](https://github.com/qazrfv1234)
Simplified Chinese by FFT9 (XXGAME GROUP)(http://www.xxgame.net) Simplified Chinese by FFT9 (XXGAME GROUP)(http://www.xxgame.net)
#### TODO: #### TODO:
- [ ] Add tools to simplify translation process - [ ] Add tools to simplify translation process

View file

@ -7,8 +7,8 @@ android {
applicationId "com.blogspot.developersu.ns_usbloader" applicationId "com.blogspot.developersu.ns_usbloader"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 29 targetSdkVersion 29
versionCode 3 versionCode 4
versionName "1.0" versionName "2.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
android.defaultConfig.vectorDrawables.useSupportLibrary = true android.defaultConfig.vectorDrawables.useSupportLibrary = true
} }
@ -26,12 +26,12 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.cardview:cardview:1.0.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'
} }

View file

@ -35,6 +35,8 @@ public class AboutActivity extends AppCompatActivity {
t4.setMovementMethod(LinkMovementMethod.getInstance()); t4.setMovementMethod(LinkMovementMethod.getInstance());
final TextView t6 = findViewById(R.id.textView6); final TextView t6 = findViewById(R.id.textView6);
t6.setMovementMethod(LinkMovementMethod.getInstance()); t6.setMovementMethod(LinkMovementMethod.getInstance());
final TextView tTranslators = findViewById(R.id.textViewTranslators);
tTranslators.setMovementMethod(LinkMovementMethod.getInstance());
ImageView donateLibera = findViewById(R.id.donateLiberaImageView); ImageView donateLibera = findViewById(R.id.donateLiberaImageView);
donateLibera.setOnClickListener(this::donateLiberaOnClickAction); donateLibera.setOnClickListener(this::donateLiberaOnClickAction);

View file

@ -73,6 +73,15 @@
android:text="@string/about_line_5" android:text="@string/about_line_5"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" /> android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
<TextView
android:id="@+id/textViewTranslators"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:text="@string/about_translators"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
<TextView <TextView
android:id="@+id/textView6" android:id="@+id/textView6"
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -24,7 +24,7 @@
<string name="about_line_2">Это приложение <a href="https://www.gnu.org/licenses/gpl-3.0.html">распространяется под лицензией GNU GPLv3</a> или любой более поздней версии.</string> <string name="about_line_2">Это приложение <a href="https://www.gnu.org/licenses/gpl-3.0.html">распространяется под лицензией GNU GPLv3</a> или любой более поздней версии.</string>
<string name="about_line_3">Автор: Дмитрий Исаенко.</string> <string name="about_line_3">Автор: Дмитрий Исаенко.</string>
<string name="about_line_4">Домашняя страница: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">Домашняя страница: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">Переводчики: Если таковые имеются, то все они указаны на домашней странице.</string> <string name="about_line_5">"Переводчики: "</string>
<string name="about_line_6">Если вам нравится эта программа, можете поставить звёздочку на GitHub. Больше информации на домашней странице. Донаты по желанию.</string> <string name="about_line_6">Если вам нравится эта программа, можете поставить звёздочку на GitHub. Больше информации на домашней странице. Донаты по желанию.</string>
<string name="popup_incorrect_file">Неправильный файл</string> <string name="popup_incorrect_file">Неправильный файл</string>
<string name="status_uploaded">(Передан)</string> <string name="status_uploaded">(Передан)</string>

View file

@ -4,7 +4,7 @@
<string name="popup_non_supported_format">所选的文件格式不支持</string> <string name="popup_non_supported_format">所选的文件格式不支持</string>
<string name="popup_error">错误</string> <string name="popup_error">错误</string>
<string name="upload_btn">上传到NS</string> <string name="upload_btn">上传到NS</string>
<string name="install_file_explorer">没有安装文件管理器。\\n请到应用商店下载例如Total Commander</string> <string name="install_file_explorer">没有安装文件管理器。\n请到应用商店下载例如Total Commander</string>
<string name="ns_connected_info">NS已连接</string> <string name="ns_connected_info">NS已连接</string>
<string name="notification_chan_name_usb">已连接设备</string> <string name="notification_chan_name_usb">已连接设备</string>
<string name="transfer_protocol">通讯协议</string> <string name="transfer_protocol">通讯协议</string>
@ -36,7 +36,7 @@
<string name="notification_transfer_in_progress">正在进行数据传输</string> <string name="notification_transfer_in_progress">正在进行数据传输</string>
<string name="notification_chan_name_progress">正在进行传输</string> <string name="notification_chan_name_progress">正在进行传输</string>
<string name="notification_chan_desc_progress">在通知栏显示传输文件的进度</string> <string name="notification_chan_desc_progress">在通知栏显示传输文件的进度</string>
<string name="about_line_4">首页: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a> 翻译FFT9 <a href="http://www.xxgame.net">(XXGAME GROUP)</a></string> <string name="about_line_4">首页: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_6">如果本应用对你有帮助请在程序的GitHub页面上按星号加分也欢迎赞助</string> <string name="about_line_6">如果本应用对你有帮助请在程序的GitHub页面上按星号加分也欢迎赞助</string>
<string name="about_line_5">" "</string> <string name="about_line_5">口譯員:: </string>
</resources> </resources>

View file

@ -4,7 +4,7 @@
<string name="popup_non_supported_format">所選的檔案格式尚未支援</string> <string name="popup_non_supported_format">所選的檔案格式尚未支援</string>
<string name="popup_error">錯誤</string> <string name="popup_error">錯誤</string>
<string name="upload_btn">上傳至NS</string> <string name="upload_btn">上傳至NS</string>
<string name="install_file_explorer">裝置沒有安裝檔案管理器.\\n 請至PLAY商店內安裝檔案管理器. 例如:Total Commander</string> <string name="install_file_explorer">裝置沒有安裝檔案管理器.\n 請至PLAY商店內安裝檔案管理器. 例如:Total Commander</string>
<string name="ns_connected_info">NS已連接</string> <string name="ns_connected_info">NS已連接</string>
<string name="notification_chan_name_usb">已連線的裝置</string> <string name="notification_chan_name_usb">已連線的裝置</string>
<string name="notification_chan_desc_usb">當使用者將行動裝置與NS連線時進行系統通知</string> <string name="notification_chan_desc_usb">當使用者將行動裝置與NS連線時進行系統通知</string>
@ -24,7 +24,7 @@
<string name="about_line_2">本程式<a href="https://www.gnu.org/licenses/gpl-3.0.html">依據GNU公共授權條款GPLv3(或更新版本)</a>開發.</string> <string name="about_line_2">本程式<a href="https://www.gnu.org/licenses/gpl-3.0.html">依據GNU公共授權條款GPLv3(或更新版本)</a>開發.</string>
<string name="about_line_3">程式開發: Dmitry Isaenko.</string> <string name="about_line_3">程式開發: Dmitry Isaenko.</string>
<string name="about_line_4">程式首頁: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">程式首頁: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">翻譯人員: 會在程式首頁內提供本程式介面在地化翻譯的人員名單.</string> <string name="about_line_5">翻譯人員: </string>
<string name="about_line_6">如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意)</string> <string name="about_line_6">如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意)</string>
<string name="popup_incorrect_file">檔案錯誤</string> <string name="popup_incorrect_file">檔案錯誤</string>
<string name="status_failed_to_upload">(上傳失敗)</string> <string name="status_failed_to_upload">(上傳失敗)</string>

View file

@ -28,7 +28,7 @@
<string name="about_line_2">This application <a href="https://www.gnu.org/licenses/gpl-3.0.html">licensed under GNU GPLv3</a> or any later version.</string> <string name="about_line_2">This application <a href="https://www.gnu.org/licenses/gpl-3.0.html">licensed under GNU GPLv3</a> or any later version.</string>
<string name="about_line_3">Author: Dmitry Isaenko.</string> <string name="about_line_3">Author: Dmitry Isaenko.</string>
<string name="about_line_4">Home page: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string> <string name="about_line_4">Home page: <a href="https://github.com/developersu/ns-usbloader-mobile">https://github.com/developersu/ns-usbloader-mobile</a></string>
<string name="about_line_5">Translators: If there are any, they\'re noted on home page.</string> <string name="about_line_5">"Translators: "</string>
<string name="about_line_6">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):</string> <string name="about_line_6">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):</string>
<string name="popup_incorrect_file">Incorrect file</string> <string name="popup_incorrect_file">Incorrect file</string>
<string name="status_failed_to_upload">(Upload failure)</string> <string name="status_failed_to_upload">(Upload failure)</string>
@ -45,4 +45,5 @@
<string name="notification_transfer_in_progress">Data transfer in progress</string> <string name="notification_transfer_in_progress">Data transfer in progress</string>
<string name="notification_chan_name_progress">Transfer in progress</string> <string name="notification_chan_name_progress">Transfer in progress</string>
<string name="notification_chan_desc_progress">Notification indicates transfer progress</string> <string name="notification_chan_desc_progress">Notification indicates transfer progress</string>
<string name="about_translators" translatable="false">* 中文(繁體) - <a href="https://github.com/qazrfv1234">qazrfv1234</a>\n* 中文(简体) - FFT9 <a href="http://www.xxgame.net">(XXGAME GROUP)</a></string>
</resources> </resources>