From e81e96a702c6d6d2c8b01d5641a51d3da536dbd7 Mon Sep 17 00:00:00 2001 From: Croden1999 <851577088@qq.com> Date: Sun, 28 May 2023 18:54:37 +0800 Subject: [PATCH] Minor strings improve - Add display Title ID on home screen - Add Traditional Chinese and update Simplified Chinese translation --- .../npsbrowser/adapters/AppAdapter.kt | 2 +- app/src/main/res/values-zh-rCN/strings.xml | 50 ++++++++++++------- app/src/main/res/values-zh-rTW/strings.xml | 34 +++++++++++++ app/src/main/res/values/arrays.xml | 9 ---- app/src/main/res/values/strings.xml | 49 +++++++++++------- app/src/main/res/xml/root_preferences.xml | 6 +-- 6 files changed, 102 insertions(+), 48 deletions(-) create mode 100644 app/src/main/res/values-zh-rTW/strings.xml diff --git a/app/src/main/java/com/illusionware/npsbrowser/adapters/AppAdapter.kt b/app/src/main/java/com/illusionware/npsbrowser/adapters/AppAdapter.kt index fe45bf1..c0f61cb 100644 --- a/app/src/main/java/com/illusionware/npsbrowser/adapters/AppAdapter.kt +++ b/app/src/main/java/com/illusionware/npsbrowser/adapters/AppAdapter.kt @@ -33,7 +33,7 @@ class AppAdapter(val context: Context) : SortedListAdapter(context, App var appLastDate: TextView = itemView.findViewById(R.id.appLastDate) override fun performBind(item: AppData) { - appTitle.text = item.title + appTitle.text = item.titleID + " | " + item.title appTitle.isSelected = true appRegion.text = item.region appMinFW.text = item.minFW diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 5213769..f44e280 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -1,20 +1,34 @@ - NPS Browser - 设置 - 搜索 - 下载 - 复制 zRIF - 内容ID - 大小 - 最低固件 - 应用图标 - 注意:这个内容没有提供授权 - 这个游戏只有实体卡 - 注意:这个内容没有提供下载链接 - 下载过程中发生错误,请重试 - PKG 地址已复制到剪贴板 - zRIF 已复制到剪贴板 - 下载中... - 内容ID 已复制到剪贴板 - \ No newline at end of file + NPS Browser + 设置 + 搜索 + 下载 + 复制zRIF + 内容ID + 大小 + 最低固件版本 + 应用图标 + 注意:这个内容没有提供授权 + 这个游戏只有实体卡 + 注意:这个内容没有提供下载链接 + 下载过程中发生错误,请重试 + PKG地址已复制到剪贴板 + zRIF已复制到剪贴板 + 下载中... + 内容ID已复制到剪贴板 + 外观 + 主题 + 布局 + + + 明亮 + 黑暗 + 使用系统默认 + + + + 列表 + 网格 + + diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml new file mode 100644 index 0000000..ee20e8b --- /dev/null +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -0,0 +1,34 @@ + + + NPS Browser + 設置 + 搜尋 + 下載 + 複製zRIF + 內容ID + 檔案大小 + 最低韌體版本 + 應用程式圖標 + 注意:這個內容沒有提供授權 + 這個遊戲只有實體卡 + 注意:這個內容沒有提供下載鏈接 + 下載過程中發生錯誤,請重試 + PKG地址已複製到剪貼板 + zRIF已複製到剪貼板 + 正在下載... + 內容ID已複製到剪貼板 + 外觀 + 主題 + 佈局 + + + 明亮 + 黑暗 + 使用系統默認 + + + + 列表 + 網格 + + diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 57c31f4..8a93165 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -1,19 +1,10 @@ - - Light - Dark - Use System Default - 0 1 2 - - List - Grid - 0 1 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 2e04d98..89696d9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,19 +1,34 @@ + - NPS Browser - Settings - Search - Download - Copy zRIF - Content ID - Size - MinFW - Single app icon - Warning: No license was provided for this content. - CART ONLY GAME - Warning: No download link was provided for this content. - Downloading... - An error occurred while downloading. please try again - PKG URL Copied to Clipboard - zRIF Copied to Clipboard - Content ID Copied to Clipboard + NPS Browser + Settings + Search + Download + Copy zRIF + Content ID + Size + Minimum Firmware Version + Single app icon + Warning: No license was provided for this content. + CART ONLY GAME + Warning: No download link was provided for this content. + Downloading... + An error occurred while downloading. please try again + PKG URL Copied to Clipboard + zRIF Copied to Clipboard + Content ID Copied to Clipboard + Appearance + Theme + Layout + + + Light + Dark + Use System Default + + + + List + Grid + diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml index f15d597..7a21dd1 100644 --- a/app/src/main/res/xml/root_preferences.xml +++ b/app/src/main/res/xml/root_preferences.xml @@ -1,19 +1,19 @@ - + + android:title="@string/theme" /> \ No newline at end of file