1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00

little cleanup

This commit is contained in:
flb 2022-05-16 16:35:42 +02:00
parent c6b8713ea3
commit a1b9ab2f3b
9 changed files with 9 additions and 9 deletions

View file

@ -80,7 +80,6 @@
"payloads": {
"dl_payloads": "Payloads herunterladen",
"select": " Wähle ein Payload zum neustarten aus.",
"not_found": "Konnte keinen Downloadlink finden. Stelle sicher, dass deine Switch Internetzugriff hat.\nWenn das Problem bestehen bleibt, öffne bitte ein Issue auf GitHub.",
"set_reboot_payload": "Setze als reboot_payload.bin",
"set_update_bin": "Setze als /bootloader/update.bin",
"copy_success": "Erfolgreich kopiert '",

View file

@ -82,7 +82,6 @@
"payloads": {
"dl_payloads": "Download payloads",
"select": " Select a payload to reboot to.",
"not_found": "Could not find a download link, make sure the Switch has access to the internet.\nIf this problem persists, please open an issue on Github.",
"set_reboot_payload": "Set as reboot_payload.bin",
"set_update_bin": "Set as /bootloader/update.bin",
"copy_success": "Successfully copied `{}` to `{}`."

View file

@ -81,7 +81,6 @@
"payloads": {
"dl_payloads": "Descargar payloads",
"select": " Selecciona el payload al que reiniciar.",
"not_found": "No se pudo encontrar un enlace de descarga, asegúrate de que tu Switch tiene acceso a internet.\nSi el problema persiste, por favor abre un issue en GitHub.",
"set_reboot_payload": "Poner como reboot_payload.bin",
"set_update_bin": "Poner como /bootloader/update.bin",
"copy_success": "Copiado correctamente `{}` a `{}`."

View file

@ -79,7 +79,6 @@
"payloads": {
"dl_payloads": "Téléchargement des payloads",
"select": "Selectionner un payload vers lequel redémarrer.",
"not_found": "Impossible de trouver un lien de téléchargement, vérifiez que la Switch soit connectée à internet.\nSi ce problème persiste, veuillez ouvrir une issue sur GitHub.",
"set_reboot_payload": "Choisir comme reboot_payload.bin",
"set_update_bin": "Choisir comme /bootloader/update.bin",
"copy_success": "Copie de `{}` à `{}` réussie."

View file

@ -41,7 +41,6 @@
"payloads": {
"dl_payloads": "Scarica payloads",
"select": " Seleziona un payload da riavviare.",
"not_found": "Non riesco a trova un link di download, accertati che la Switch abbia accesso a internet.\nSe il problema persiste, apri una issue su GitHub.",
"set_reboot_payload": "Imposta come reboot_payload.bin",
"set_update_bin": "Imposta come /bootloader/update.bin",
"copy_success": "Copiato con successo '",

View file

@ -63,7 +63,6 @@
"payloads": {
"dl_payloads": "Pobierz payloady",
"select": " Wybierz payload do ponownego uruchomienia.",
"not_found": "Nie można było uzyskać linku pobierania. Upewnij się, że Switch ma połączenie z internetem.\nJeśli problem nie ustąpi, utwórz nowy problem na GitHubie.",
"set_reboot_payload": "Ustaw jako reboot_payload.bin",
"set_update_bin": "Ustaw jako /bootloader/update.bin",
"copy_success": "Skopiowano pomyślnie '",

View file

@ -41,7 +41,6 @@
"payloads": {
"dl_payloads": "Baixar payloads",
"select": " Selecione a payload que deseja.",
"not_found": "Não foi possível encontrar um link de download, certifique-se de que seu Switch tenha acesso à Internet.\nSe o problema persistir, abra um 'issue' no GitHub.",
"set_reboot_payload": "Colocar como reboot_payload.bin",
"set_update_bin": "Colocar como /bootloader/update.bin",
"copy_success": "Cópia realizada '",

View file

@ -313,7 +313,14 @@ void AppPage_DownloadedCheats::GetExistingCheatsTids()
AppPage_OutdatedTitles::AppPage_OutdatedTitles() : AppPage()
{
download::getRequest(LOOKUP_TABLE_URL, versions);
this->PopulatePage();
if(versions.empty())
{
list->addView(new brls::Label(brls::LabelStyle::DESCRIPTION, "menus/main/links_not_found"_i18n, true));
this->setContentView(list);
}
else {
this->PopulatePage();
}
}
void AppPage_OutdatedTitles::AddListItem(const std::string& name, u64 tid)

View file

@ -43,7 +43,7 @@ DownloadPayloadPage::DownloadPayloadPage(const nlohmann::ordered_json& payloads)
else {
notFound = new brls::Label(
brls::LabelStyle::DESCRIPTION,
"menus/payloads/not_found"_i18n,
"menus/main/links_not_found"_i18n,
true);
notFound->setHorizontalAlign(NVG_ALIGN_CENTER);
list->addView(notFound);