diff --git a/Makefile b/Makefile index 7a05b55..caaf866 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ DATA := data INCLUDES := include lib/zipper/include APP_TITLE := All-in-One Switch Updater APP_AUTHOR := HamletDuFromage -APP_VERSION := 1.5.1 +APP_VERSION := 1.5.2 TARGET := $(notdir $(CURDIR)) ROMFS := resources @@ -162,7 +162,7 @@ $(ROMFS): @echo Merging ROMFS... @cp -ruf $(CURDIR)/$(BOREALIS_PATH)/resources/. $(CURDIR)/$(ROMFS)/ @cp -ruf $(CURDIR)/$(ROMFS)/i18n/zh-CN/. $(CURDIR)/$(ROMFS)/i18n/zh-Hans/ - @cp -ruf $(CURDIR)/$(ROMFS)/i18n/zh-CN/. $(CURDIR)/$(ROMFS)/i18n/zh-Hant/ + @cp -ruf $(CURDIR)/$(ROMFS)/i18n/zh-TW/. $(CURDIR)/$(ROMFS)/i18n/zh-Hant/ @rm $(CURDIR)/$(ROMFS)/i18n/*/installer.json $(CURDIR)/$(ROMFS)/i18n/*/main.json $(CURDIR)/$(ROMFS)/i18n/*/popup.json @$(MAKE) -C $(CURDIR)/rcm -f $(CURDIR)/rcm/Makefile @cp $(CURDIR)/rcm/output/aio_rcm.bin $(CURDIR)/$(ROMFS)/aio_rcm.bin diff --git a/README.md b/README.md index 9a4fb08..378c6f4 100644 --- a/README.md +++ b/README.md @@ -89,8 +89,10 @@ I do not own, host nor distribute any of the files that can be downloaded with t - [sergiou87](https://github.com/sergiou87) for the Spanish locale. - [pedruhb](https://github.com/pedruhb) for the Brazilian locale. - [AD2076](https://github.com/AD2076) for the Italian locale. +- [qazrfv1234](https://github.com/qazrfv1234) for the Traditional Chinese locale. - [Team Neptune](https://github.com/Team-Neptune) whose rcm code I used - [fennectech](https://github.com/fennectech) for helping test the app and providing suggestions +- ### Like the app? [//]: [![5cbed8a433a3f45a772abaf5_SupportMe_blue-p-500](https://user-images.githubusercontent.com/61667930/93899702-1a2b2680-fce4-11ea-9eaa-4e2b44eebe86.png)](https://ko-fi.com/hamletdufromage) diff --git a/resources/i18n/en-US/menus.json b/resources/i18n/en-US/menus.json index 96f5da0..3422e8e 100644 --- a/resources/i18n/en-US/menus.json +++ b/resources/i18n/en-US/menus.json @@ -56,10 +56,12 @@ "v1_4_2_text": "\uE016 (hopefully) fixed unreliable copy of payloads.", "v1_4_3": "v1.4.3", "v1_4_3_text": "\uE016 Fixed switch not rebooting to hekate payload after updating.", - "v1_5_0": "v1.5.1", + "v1_5_0": "v1.5.0", "v1_5_0_text": "\uE016 Overhauled the app update feature.", - "v1_5_1": "v1.5.0", + "v1_5_1": "v1.5.1", "v1_5_1_text": "\uE016 A few graphical tweaks.", + "v1_5_2": "v1.5.2", + "v1_5_2_text": "\uE016 Added support for Traditional Chinese (thanks to 'https://github.com/qazrfv1234')", "Ok_button": "Ok", "cheats_page.cpp":"", diff --git a/resources/i18n/zh-TW/brls.json b/resources/i18n/zh-TW/brls.json new file mode 100644 index 0000000..46a6a44 --- /dev/null +++ b/resources/i18n/zh-TW/brls.json @@ -0,0 +1,11 @@ +{ + "hints": { + "ok": "確定", + "back": "返回", + "exit": "退出" + }, + + "crash_frame": { + "button": "確定" + } +} \ No newline at end of file diff --git a/resources/i18n/zh-TW/menus.json b/resources/i18n/zh-TW/menus.json new file mode 100644 index 0000000..63b6ef3 --- /dev/null +++ b/resources/i18n/zh-TW/menus.json @@ -0,0 +1,204 @@ +{ + "about_tab.cpp":"", + "About_Title": "All-in-One Nintendo Switch Updater", + "copyright": "AIO-switch-updater依據GNU公共授權條款GPL 3.0版本開發\n\u00A9 2020 HamletDuFromage", + "Disclaimers": "\uE016 HamletDuFromage僅使用Gbatemp論壇主題所鏡像取得的金手指,沒有使用其他來源,感謝所有提供金手指的創作者。\n\uE016 程式檔案資料庫會每隔三個小時自動擷取更新。如果更新連結超過三小時仍無法正常使用,請使用Github提出問題來進行回報。\n", + + "app_page.cpp":"", + "app_title": "已安裝金手指", + "app_label": "在本程式安裝時,已經將下列編號的遊戲,更新至資料庫內最新的金手指檔案版本。請留意,儘管已經下載更新金手指,仍有可能無法對應到所有遊戲目前的最新版本。", + "text_download": "正在下載:\n最新的金手指\n\n來自:\n", + "text_download_list": "下載最新的金手指", + "text_title": "正在擷取更新的金手指", + "Downloading": "正在下載...", + "Extracting": "正在解壓縮...", + "All_done": "更新完成!", + + "changelog_page.cpp":"", + "Changelog":"更新履歷", + "v1_0_1": "v1.0.1", + "v1_0_1_text": "\uE016 Added dialogue box asking about ini files.\n\uE016 Fixed update app link when not connected to the internet.\n\uE016 Minor fixes here and there.", + "v1_0_2": "v1.0.2", + "v1_0_2_text": "\uE016 Fixed .ini files being handled poorly when installing sigpatches. Now prompts the user if they want to replace hetake_ipl.ini.", + "v1_0_3": "v1.0.3", + "v1_0_3_text": "\uE016 Fixed progress bar sometimes being stuck when extracting.", + "v1_1_0": "v1.1.0", + "v1_1_0_text": "\uE016 Added an option to download payloads to '/bootloader/payloads'.\n\uE016 Cleaned up some stuff, made .ini overwriting cleaner.\n", + "v1_1_1": "v1.1.1", + "v1_1_1_text": "\uE016 Added some safety checks before downloading/extracting.\n\uE016 Added the possibility to copy a payload to '/atmosphere/reboot_payload.bin'\n\uE016 Added changelog in 'Tools'\n", + "v1_1_2": "v1.1.2", + "v1_1_2_text": "\uE016 Added GUI to disable cheat updates for specific titles.", + "v1_1_3": "v1.1.3", + "v1_1_3_text": "\uE016 Now displays the latest installed cheat version.\n\uE016 Now warns in the app title if a new update is available.", + "v1_2_0": "v1.2.0", + "v1_2_0_text": "\uE016 Now multilingual (thanks to 'github.com/tiansongyu').\n\uE016 Chinese and French are currently supported.", + "v1_2_1": "v1.2.1", + "v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin", + "v1_2_2": "v1.2.2", + "v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).", + "v1_2_4": "v1.2.4", + "v1_2_4_text": "\uE016 Fixed app self-update", + "v1_2_5": "v1.2.5", + "v1_2_5_text": "\uE016 Improved japanese translation", + "v1_2_6": "v1.2.6", + "v1_2_6_text": "\uE016 Added spanish translation (thanks to 'https://github.com/sergiou87'", + "v1_3_0": "v1.3.0", + "v1_3_0_text": "\uE016 Added back the ability to update CFWs", + "v1_3_1": "v1.3.1", + "v1_3_1_text": "\uE016 Small fixes for bugs causing hangs.", + "v1_3_2": "v1.3.2", + "v1_3_2_text": "\uE016 Added ability to change the internet color of Pro Controllers.\n\uE016 Added the ability to preserve specific files when updating.\n\uE016 Added the ability to clean up downloaded archives.", + "v1_4_0": "v1.4.0", + "v1_4_0_text": "\uE016 Added possibility to use pre-set network settings. Add your own in `config/aio-switch-updater/internet.json.\n\uE016 Added web browser.", + "v1_4_1": "v1.4.1", + "v1_4_1_text": "\uE016 Fixed misleading display in internet settings page.", + "v1_4_2": "v1.4.2", + "v1_4_2_text": "\uE016 (hopefully) fixed unreliable copy of payloads.", + "v1_4_3": "v1.4.3", + "v1_4_3_text": "\uE016 Fixed switch not rebooting to hekate payload after updating.", + "v1_5_0": "v1.5.0", + "v1_5_0_text": "\uE016 Overhauled the app update feature.", + "v1_5_1": "v1.5.1", + "v1_5_1_text": "\uE016 A few graphical tweaks.", + "Ok_button": "確定", + + "cheats_page.cpp":"", + "cheat_menu": "金手指選單", + "cheat_view": "檢視已安裝遊戲的金手指", + "cheat_exclude": "設定為排除更新金手指的遊戲", + "cheat_delete_all_ex": "刪除目前現有的金手指", + "cheat_delete_all_cheat": "刪除所有金手指", + "cheat_Deleting": "正在刪除...", + "cheat_All_done": "刪除完成!", + + "choice_page.cpp":"", + "choice_yes":"是", + "choice_no":"否", + + "chnfirm_page.cpp":"", + "Back": "返回", + "Continue": "繼續", + + "download_payload_page.cpp":"", + "Download_payloads": "下載注入檔案", + "select": "選擇要下載的注入檔案,儲存在:'", + "Download": "正在下載:\n", + "from": "\n\n來源:\n", + "getting_paylaod": "正在擷取注入檔案", + "down": "正在下載...", + "download_all_done": "下載完成!", + "description": "無法使用下載連結,請檢查Switch是否可正常存取網路連線。\n如果網路正常仍無法使用,請使用Github提出問題來進行回報。", + "back": "返回", + + "Language_option_page.cpp":"", + "Language_Option":"介面語系選項", + "reset_machine":"已變更介面語系,請重新啟動程式以套用更新。", + + "exclude_page.cpp":"", + "exclude_titles": "更新排除名單", + "you_can": "可以透過變更此設定來排除沒有安裝對應遊戲的金手指更新", + "save": "儲存變更並返回", + + "JC_page.cpp":"", + "joy_con": "Joy-Con 更換顏色工具", + "jc_you_can_1": "你可以透過置換Joy-Cons內的代碼設定,來自訂控制器在系統內被辨識的顏色外觀。請確認Joy-Con已確實安裝到主機。\n顏色代碼檔案才能正確覆蓋取代。'", + "jc_you_can_goto": "'. 前往控制器顏色代碼檔案產生網頁:'http://bit.ly/JC-color' ", + "jc_you_can_2": "製作你專屬的控制器顏色外觀。", + "jc_backup": "備份目前的控制器顏色代碼設定檔案", + "jc_color": "Joy-Con 更換顏色工具", + "jc_backing": "正在備份目前的控制器顏色代碼設定檔案,請確認Joy-Con已確實安裝到主機。 如果程序無法繼續進行時,請嘗試將Joy-Con從主機上取下,再重新安裝到主機。", + "jc_all_done": "完成!", + "jc_change": "正在變更控制器顏色,請確認Joy-Con已確實安裝到主機。如果程序無法繼續進行時,請嘗試將Joy-Con從主機上取下,再重新安裝到主機。", + "jc_all_": "完成!你需要取下Joy-Cons後再重新安裝到主機,可使用新增控制器等功能來檢視是否已正確套用顏色。", + + "pro_con": "Pro-Con 更換顏色工具", + "pc_you_can" : "你可以透過置換Pro-Con內的代碼設定,來自訂Pro控制器在系統內被辨識的顏色外觀。請確認Pro-Con已與主機正確連接並設定順序為玩家1。", + "pc_color": "Pro控制器更換顏色工具", + "pc_backing": "正在備份目前的Pro控制器顏色代碼設定檔案", + "pc_all_done": "完成!你需要關閉Pro控制器的電源,並再次重新開啟Pro控制器的電源,可使用新增控制器等功能來檢視是否已正確套用顏色。", + + "list_donwload.cpp":"", + "Getting": "正在擷取 ", + "firmware_text": "\uE016 韌體檔案從'https://darthsternie.net/switch-firmwares/'進行轉存。當下載完成後,檔案會放置於資料夾'/firmware'內。你可以透過Daybreak或ChoiDuJour來安裝更新韌體。\n\uE016 目前FW: ", + "currentCeatsver": "\uE016 下載'gbatemp.net'每日更新的金手指檔案到記憶卡時,並不會複製到主機未安裝的遊戲金手指檔案。你可以從設定的 '工具->金手指選單' 內停用金手指更新。\n\uE016 目前金手指資料庫版本: ", + "operation_1": "sigpatches", + "list_sigpatches": "\uE016 Sigpatches可讓你的Switch安裝並執行非官方的NSP檔案。請確認你安裝過程中使用合適的sigpatches(Pure Atmosphère或Hekate+Atmosphère)。安裝完成後請重新開機以套用更新。", + "operation_2": "韌體", + "list_not": "沒有符合的項目", + "list_latest": "最新版本", + "list_app": "app", + "list_cfw": "CFW", + "list_ams": "\uE016 請從清單進行選擇更新的項目,你可以選擇包含可執行第三方自製程式韌體的Atmosphère。\n\uE016 DeepSea是由Team Neptune提供的CFW整合套件,包括Atmosphère、hekate與數種第三方自製程式。", + "list_main": "\uE016 備用CFWs、引導程序", + "list_latest_ver": "最新(版本 ", + "list_cheats": "金手指", + "list_down": "正在下載:\n", + "list_from": "\n\n來源:\n", + "list_downing": "正在下載...", + "list_extracting": "正在解壓縮...", + "list_All": "全部完成!", + "list_could_done": "無法使用下載連結,請檢查Switch是否可正常存取網路連線。\n如果網路正常仍無法使用,請使用Github提出問題來進行回報。", + + "main_frame.cpp":"", + "main_app": " - 有可用的app更新", + "main_v": " v", + "main_about": "關於", + "main_update_ams": "更新Atmosphère", + "main_update_cfw": "更新CFW", + "main_update_si": "更新sigpatches", + "main_firmwares": "下載韌體", + "main_cheats": "下載金手指", + "main_tools": "工具", + + "payload_page.cpp":"", + "payload_reboot": "重開機選單", + "payload_select": " 選擇重開機時的注入檔案", + "payload_set": "設定為 reboot_payload.bin", + "payload_set_up": "設定為 /bootloader/update.bin", + "payload_success": "成功複製 '", + "payload_to": "' 到 '", + "payload_ok": "確定", + "payload_shut": "關機", + "payload_reboot_2": "重開機", + + "tools_tab.cpp":"", + "tool_cheats": "金手指選單", + "tool_change": "變更Joy-Cons顏色", + "tool_change_procon": "變更Pro-Cons顏色", + "tool_download": "下載注入檔案的儲存位置", + "tool_inject": "載入注入檔案", + "tool_update": "更新app (v", + "tool_DownLoad": "正在下載:\nAIO-switch-updater\n\n來源:\n", + "tool_updating": "正在更新app", + "tool_downloading": "正在下載...", + "tool_extracting": "正在解壓縮....", + "tool_all_done": " 全部完成!", + "tool_changelog": "更新履歷", + "tool_cleanUp": "清空下載清單", + "tool_net_settings": "編輯網路設定", + "tool_browser": "網路瀏覽器", + + "utils.cpp":"", + "utils_because": "由於FW壓縮檔太大,在Applet模式下無法下載韌體。請在能存取完整記憶體的普通模式下執行下載程序", + "utils_ok": "確定", + "utils_do": " 是否要覆蓋現有的檔案 ", + "utils_no": "否", + "utils_yes": "是", + "utils_the": "下載的檔案並不是正確的sigpatches壓縮檔。可能是檔案連結發生錯誤。如果下載錯誤持續超過三小時,請使用Github提出問題來進行回報。", + "utils_the_downloaded": "下載的檔案並不是正確的韌體壓縮檔。可能是檔案連結發生錯誤。如果下載錯誤持續超過三小時,請使用Github提出問題來進行回報。", + "ultils_overwrite": "是否要覆蓋現有的 .ini 系統配置檔案?", + "ultis_file": "下載的檔案並不是正確的CFW壓縮檔。可能是檔案連結發生錯誤。如果下載錯誤持續超過三小時,請使用Github提出問題來進行回報。", + + "reboot_rcm" : "Switch將會重新啟動,並載入特定的注入檔案來完成安裝。", + "hekate_dialogue" : "請問是否需要一併下載Hekate?\n略過下載Hekate後,Switch將會重新啟動,並載入特定的注入檔案來完成安裝。", + "Yes" : "是", + "No" : "否", + + "net_settings": "網路設定", + "go_back" : "返回", + "Confirm_button" : "確認", + "Cancel_button" : "取消" + + + +} diff --git a/source/changelog_page.cpp b/source/changelog_page.cpp index d06ff4c..3c2d78f 100644 --- a/source/changelog_page.cpp +++ b/source/changelog_page.cpp @@ -76,6 +76,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true) verTitles.push_back("menus/v1_5_1"_i18n ); changes.push_back("menus/v1_5_1_text"_i18n ); + verTitles.push_back("menus/v1_5_2"_i18n ); + changes.push_back("menus/v1_5_2_text"_i18n ); + int nbVersions = verTitles.size(); items.reserve(nbVersions); for(int i = nbVersions -1 ; i >= 0; i--){