1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-12-28 02:16:03 +00:00

Fixed jpn local and bumped version

This commit is contained in:
flb 2020-10-06 15:19:19 +02:00
parent 3affbcccfe
commit a1153523ee
11 changed files with 20 additions and 6 deletions

6
.gitignore vendored
View file

@ -7,4 +7,8 @@ switch/
*.nro
*.zip
resources/i18n/zh-Hans
resources/i18n/en-GB
resources/i18n/en-GB
resources/icon
resources/material
resources/inter
resources/.gitignore

View file

@ -45,7 +45,7 @@ DATA := data
INCLUDES := include lib/zipper/include
APP_TITLE := All-in-One Switch Updater
APP_AUTHOR := HamletDuFromage
APP_VERSION := 1.2.1
APP_VERSION := 1.2.2
ROMFS := resources
BOREALIS_PATH := lib/borealis
@ -183,9 +183,9 @@ all: $(BUILD)
$(ROMFS):
@[ -d $@ ] || mkdir -p $@
@echo Merging ROMFS...
#@cp -ruf $(CURDIR)/$(BOREALIS_PATH)/resources/. $(CURDIR)/$(ROMFS)/borealis/
cp -ruf $(CURDIR)/$(ROMFS)/i18n/zh-CN/. $(CURDIR)/$(ROMFS)/i18n/zh-Hans/
#cp -ruf $(CURDIR)/$(ROMFS)/i18n/en-US/. $(CURDIR)/$(ROMFS)/i18n/en-GB/
@cp -ruf $(CURDIR)/$(BOREALIS_PATH)/resources/. $(CURDIR)/$(ROMFS)/
@cp -ruf $(CURDIR)/$(ROMFS)/i18n/zh-CN/. $(CURDIR)/$(ROMFS)/i18n/zh-Hans/
@rm $(CURDIR)/$(ROMFS)/i18n/*/installer.json $(CURDIR)/$(ROMFS)/i18n/*/main.json $(CURDIR)/$(ROMFS)/i18n/*/popup.json
$(BUILD): $(ROMFS)
@[ -d $@ ] || mkdir -p $@

View file

@ -50,6 +50,7 @@ I do not own, host nor distribute any of the files that can be downloaded with t
## Special thanks
- [tiansongyu](https://github.com/tiansongyu) for bringing support for multi-language and for his Chinese translation.
- [yyoossk](https://github.com/yyoossk) for the Japanese locale.
### 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)

0
pack_release.sh Normal file → Executable file
View file

View file

@ -34,6 +34,8 @@
"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).",
"Ok_button": "Ok",
"cheats_page.cpp":"",

View file

@ -34,6 +34,7 @@
"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_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"Ok_button": "Ok",
"cheats_page.cpp":"",

View file

@ -34,6 +34,7 @@
"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_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"Ok_button": "決定",
"cheats_page.cpp":"",
@ -105,7 +106,7 @@
"list_downing": "ダウンロード中...",
"list_extracting": "展開中...",
"list_All": "処理完了!",
"list_could_done": "ダウンロードリンクが見つかりませんでした。スイッチがインターネットにアクセスできることを確認してください。\ nこの問題が解決しない場合は、Githubで問題を開いてください。",
"list_could_done": "ダウンロードリンクが見つかりませんでした。スイッチがインターネットにアクセスできることを確認してください。\nこの問題が解決しない場合は、Githubで問題を開いてください。",
"main_frame.cpp":"",
"main_app": " - 新しいアプリのアップデートが利用可能",

View file

@ -33,6 +33,7 @@
"v1_2_0_text": "\uE016 现在可以使用多种语言(感谢'github.com/tiansongyu').\n\uE016 目前支持中文和法文.",
"v1_2_1": "v1.2.1",
"v1_2_1_text": "\uE016 Added option to set a payload to /bootloader/update.bin",
"v1_2_2_text": "\uE016 Added japanese localisation (thanks to github.com/yyoossk).",
"Ok_button": "确定",
"cheats_page.cpp":"",

View file

@ -37,6 +37,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
verTitles.push_back("menus/v1_2_1"_i18n );
changes.push_back("menus/v1_2_1_text"_i18n );
verTitles.push_back("menus/v1_2_2"_i18n );
changes.push_back("menus/v1_2_2_text"_i18n );
int nbVersions = verTitles.size();
items.reserve(nbVersions);
for(int i = nbVersions -1 ; i >= 0; i--){

View file

@ -22,6 +22,7 @@ ToolsTab::ToolsTab(std::string tag) : brls::List()
downloadPayload->getClickEvent()->subscribe([&](brls::View* view){
brls::Application::pushView(new DownloadPayloadPage());
});
downloadPayload->setHeight(LISTITEM_HEIGHT);
this->addView(downloadPayload);
rebootPayload = new brls::ListItem("menus/tool_inject"_i18n );