Compare commits

...

4 Commits

Author SHA1 Message Date
Dmitry Isaenko 4b629628d8 Add new non-translated line for translators. Update readme, correct files with translations a bit. Increment version :) 2020-09-20 15:25:50 +03:00
Dmitry Isaenko ec069ad87b
Merge pull request #7 from exiori/master
Updated Simplified Chinese by FFT9 (XXGAME GROUP)
2020-08-28 01:00:34 +03:00
FFT9 3118c5c6f7 Updated Simplified Chinese by FFT9 (XXGAME GROUP) 2020-08-27 11:53:14 +08:00
FFT9 9e73a71ca6 Updated Simplified Chinese by FFT9 (XXGAME GROUP) 2020-08-27 11:42:53 +08:00
8 changed files with 67 additions and 11 deletions

View File

@ -59,6 +59,8 @@ Handling successful/failed installation is a purpose of the other side applicati
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

View File

@ -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'
}

View File

@ -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);

View File

@ -73,6 +73,15 @@
android:text="@string/about_line_5"
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
android:id="@+id/textView6"
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_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_5">Переводчики: Если таковые имеются, то все они указаны на домашней странице.</string>
<string name="about_line_5">"Переводчики: "</string>
<string name="about_line_6">Если вам нравится эта программа, можете поставить звёздочку на GitHub. Больше информации на домашней странице. Донаты по желанию.</string>
<string name="popup_incorrect_file">Неправильный файл</string>
<string name="status_uploaded">(Передан)</string>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="select_file_btn">选择文件</string>
<string name="popup_non_supported_format">所选的文件格式不支持</string>
<string name="popup_error">错误</string>
<string name="upload_btn">上传到NS</string>
<string name="install_file_explorer">没有安装文件管理器。\n请到应用商店下载例如Total Commander</string>
<string name="ns_connected_info">NS已连接</string>
<string name="notification_chan_name_usb">已连接设备</string>
<string name="transfer_protocol">通讯协议</string>
<string name="ns_not_found_in_connected">在已连接的设备中没有找到NS</string>
<string name="notification_chan_desc_usb">当用户将NS连接到设备时出现通知</string>
<string name="transfer_transport">传输级</string>
<string name="nothing_selected_message">" Nothing selected 未选择任何内容"</string>
<string name="transfers_service_stopped">数据传输服务已完成</string>
<string name="interrupt_btn">中断</string>
<string name="navigation_drawer_open">开启侧边栏</string>
<string name="navigation_drawer_close">关闭侧边栏</string>
<string name="about_app">关于</string>
<string name="other">其他</string>
<string name="one_item_for_gl_notification">通过 GoldLeaf v0.5 只能选择一个文件</string>
<string name="no_protocol_selected_message">尚未选择通讯协议</string>
<string name="title_activity_about">应用相关说明</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="popup_incorrect_file">文件错误</string>
<string name="status_failed_to_upload">(上传失败)</string>
<string name="status_wrong_file">(NSP坏档)</string>
<string name="status_uploaded">(已上传)</string>
<string name="settings">设置</string>
<string name="title_activity_settings">设置</string>
<string name="settings_phone_ip">手机 IP</string>
<string name="settings_phone_port">手机连接端口</string>
<string name="settings_autodtct_phn_ip">自动检测手机 IP</string>
<string name="unknown_protocol_error">已选择未知的通讯协议 (?)</string>
<string name="notification_transfer_in_progress">正在进行数据传输</string>
<string name="notification_chan_name_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></string>
<string name="about_line_6">如果本应用对你有帮助请在程序的GitHub页面上按星号加分也欢迎赞助</string>
<string name="about_line_5">口譯員:: </string>
</resources>

View File

@ -4,7 +4,7 @@
<string name="popup_non_supported_format">所選的檔案格式尚未支援</string>
<string name="popup_error">錯誤</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="notification_chan_name_usb">已連線的裝置</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_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_5">翻譯人員: 會在程式首頁內提供本程式介面在地化翻譯的人員名單.</string>
<string name="about_line_5">翻譯人員: </string>
<string name="about_line_6">如果本程式對你有助益,請在程式的GitHub頁面上按星號加分,也歡迎贊助我們(金額隨意)</string>
<string name="popup_incorrect_file">檔案錯誤</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_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_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="popup_incorrect_file">Incorrect file</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_chan_name_progress">Transfer in 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>