Skip to content

Commit

Permalink
Merge pull request #249 from MayanKoyote/develop-confirm
Browse files Browse the repository at this point in the history
Rework the text of the deletion confirmation window for the "Amiibo Emulator" app
  • Loading branch information
solosky authored May 20, 2024
2 parents ba6fd98 + 265c56c commit 0f056ba
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ static void amiibo_scene_file_browser_menu_on_selected(mui_list_view_event_t eve
case FILE_BROWSER_MENU_REMOVE_FOLDER: {
char msg[64];
snprintf(msg, sizeof(msg), _T(DELETE_FILE), string_get_cstr(app->current_file));
mui_msg_box_set_header(app->p_msg_box, getLangString(_L_DELETE));
mui_msg_box_set_header(app->p_msg_box, getLangString(_L_TIPS));
mui_msg_box_set_message(app->p_msg_box, msg);
mui_msg_box_set_btn_text(app->p_msg_box, getLangString(_L_DELETE), NULL, getLangString(_L_CANCEL));
mui_msg_box_set_btn_text(app->p_msg_box, getLangString(_L_CONFIRM), NULL, getLangString(_L_CANCEL));
mui_msg_box_set_btn_focus(app->p_msg_box, 2);
mui_msg_box_set_event_cb(app->p_msg_box, amiibo_scene_file_browser_menu_msg_box_remove_folder_event_cb);

Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/de_DE.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_de_DE[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Amiibo Namen eingeben:",
[_L_DELETE_FILE] = "%s löschen ?",
[_L_DELETE] = "Löschen...",
[_L_TIPS] = "Bestätigen",
[_L_INPUT_NEW_NAME] = "Neuen Namen eingeben:",
[_L_INVALID_INPUT] = "Ungültige Eingabe",
[_L_CREATE_NEW_FOLDER] = "Neuer Ordner...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/en_US.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_en_US[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Input Amiibo Name:",
[_L_DELETE_FILE] = "Delete %s ?",
[_L_DELETE] = "Delete...",
[_L_TIPS] = "Confirm",
[_L_INPUT_NEW_NAME] = "Input New Name:",
[_L_INVALID_INPUT] = "Invalid Input",
[_L_CREATE_NEW_FOLDER] = "Create New Folder...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/es_ES.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_es_ES[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Nombre amiibo:",
[_L_DELETE_FILE] = "¿Borrar el %s ?",
[_L_DELETE] = "Borrar...",
[_L_TIPS] = "Confirmar",
[_L_INPUT_NEW_NAME] = "Nuevo nombre:",
[_L_INVALID_INPUT] = "Entrada inválida",
[_L_CREATE_NEW_FOLDER] = "Crear carpeta...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/fr_FR.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_fr_FR[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Nom de l'Amiibo D'entrée:",
[_L_DELETE_FILE] = "Supprimer le %s ?",
[_L_DELETE] = "Supprimer...",
[_L_TIPS] = "Confirmer",
[_L_INPUT_NEW_NAME] = "Nouveau nom D'entrée:",
[_L_INVALID_INPUT] = "Entrée Invalide",
[_L_CREATE_NEW_FOLDER] = "Créer un Nouveau Dossier...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/hu_HU.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_hu_HU[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Amiibo Neve:",
[_L_DELETE_FILE] = "Törli a %s fájlt?",
[_L_DELETE] = "Töröl...",
[_L_TIPS] = "Megerősítés",
[_L_INPUT_NEW_NAME] = "Új Név Bevitele:",
[_L_INVALID_INPUT] = "Érvénytelen Bemenet",
[_L_CREATE_NEW_FOLDER] = "Új Mappa Létrehozása...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/it_IT.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_it_IT[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Nome Amiibo:",
[_L_DELETE_FILE] = "Eliminare %s ?",
[_L_DELETE] = "Elimina...",
[_L_TIPS] = "Conferma",
[_L_INPUT_NEW_NAME] = "Nuovo nome:",
[_L_INVALID_INPUT] = "Input non valido",
[_L_CREATE_NEW_FOLDER] = "Crea cartella...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/ja_JP.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_ja_JP[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "入力Amiibo名:",
[_L_DELETE_FILE] = "%s を削除しますか ?",
[_L_DELETE] = "削除...",
[_L_TIPS] = "確認する",
[_L_INPUT_NEW_NAME] = "新しい名前を入力してください:",
[_L_INVALID_INPUT] = "無効な入力",
[_L_CREATE_NEW_FOLDER] = "新しいフォルダを作成...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/nl_NL.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_nl_NL[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Naam Amiibo Invoeren:",
[_L_DELETE_FILE] = "%s verwijderen ?",
[_L_DELETE] = "Verwijder...",
[_L_TIPS] = "Bevestigen",
[_L_INPUT_NEW_NAME] = "Nieuwe Naam Invoeren:",
[_L_INVALID_INPUT] = "Ongeldige Invoer",
[_L_CREATE_NEW_FOLDER] = "Nieuwe Map Maken...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/pt_BR.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_pt_BR[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Nome do Amiibo de Entrada:",
[_L_DELETE_FILE] = "Excluir %s ?",
[_L_DELETE] = "Excluir...",
[_L_TIPS] = "Confirmar",
[_L_INPUT_NEW_NAME] = "Novo Nome de Entrada:",
[_L_INVALID_INPUT] = "Entrada Inválida",
[_L_CREATE_NEW_FOLDER] = "Criar Nova Pasta...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/ru_RU.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_ru_RU[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "Задайте имя Amiibo:",
[_L_DELETE_FILE] = "Удалить %s?",
[_L_DELETE] = "Удалить...",
[_L_TIPS] = "Внимание",
[_L_INPUT_NEW_NAME] = "Задайте новое имя:",
[_L_INVALID_INPUT] = "Недопустимый ввод",
[_L_CREATE_NEW_FOLDER] = "Создать новую папку...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/string_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ typedef enum {
_L_INPUT_AMIIBO_NAME,
_L_DELETE_FILE,
_L_DELETE,
_L_TIPS,
_L_INPUT_NEW_NAME,
_L_INVALID_INPUT,
_L_CREATE_NEW_FOLDER,
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/zh_Hans.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_zh_Hans[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "输入amiibo名:",
[_L_DELETE_FILE] = "删除 %s ?",
[_L_DELETE] = "删除...",
[_L_TIPS] = "提示",
[_L_INPUT_NEW_NAME] = "输入新名:",
[_L_INVALID_INPUT] = "无效的输入",
[_L_CREATE_NEW_FOLDER] = "新建文件夹...",
Expand Down
1 change: 1 addition & 0 deletions fw/application/src/i18n/zh_TW.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const char * const lang_zh_TW[_L_COUNT] = {
[_L_INPUT_AMIIBO_NAME] = "輸入amiibo名稱:",
[_L_DELETE_FILE] = "刪除 %s ?",
[_L_DELETE] = "刪除...",
[_L_TIPS] = "提示",
[_L_INPUT_NEW_NAME] = "輸入新名稱:",
[_L_INVALID_INPUT] = "無效的輸入",
[_L_CREATE_NEW_FOLDER] = "新建資料夾...",
Expand Down
1 change: 1 addition & 0 deletions fw/data/i18n.csv
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ _L_INPUT_FOLDER_NAME,Input Folder Name:,输入文件夹名:,輸入資料夾名
_L_INPUT_AMIIBO_NAME,Input Amiibo Name:,输入amiibo名:,輸入amiibo名稱:,Nombre amiibo:,Amiibo Neve:,Amiibo Namen eingeben:,Nom de l'Amiibo D'entrée:,Naam Amiibo Invoeren:,Nome do Amiibo de Entrada:,入力Amiibo名:,Nome Amiibo:,Задайте имя Amiibo:
_L_DELETE_FILE,Delete %s ?,删除 %s ?,刪除 %s ?,¿Borrar el %s ?,Törli a %s fájlt?,%s löschen ?,Supprimer le %s ?,%s verwijderen ?,Excluir %s ?,%s を削除しますか ?,Eliminare %s ?,Удалить %s?
_L_DELETE,Delete...,删除...,刪除...,Borrar...,Töröl...,Löschen...,Supprimer...,Verwijder...,Excluir...,削除...,Elimina...,Удалить...
_L_TIPS,Confirm,提示,提示,Confirmar,Megerősítés,Bestätigen,Confirmer,Bevestigen,Confirmar,確認する,Conferma,Внимание
_L_INPUT_NEW_NAME,Input New Name:,输入新名:,輸入新名稱:,Nuevo nombre:,Új Név Bevitele:,Neuen Namen eingeben:,Nouveau nom D'entrée:,Nieuwe Naam Invoeren:,Novo Nome de Entrada:,新しい名前を入力してください:,Nuovo nome:,Задайте новое имя:
_L_INVALID_INPUT,Invalid Input,无效的输入,無效的輸入,Entrada inválida,Érvénytelen Bemenet,Ungültige Eingabe,Entrée Invalide,Ongeldige Invoer,Entrada Inválida,無効な入力,Input non valido,Недопустимый ввод
_L_CREATE_NEW_FOLDER,Create New Folder...,新建文件夹...,新建資料夾...,Crear carpeta...,Új Mappa Létrehozása...,Neuer Ordner...,Créer un Nouveau Dossier...,Nieuwe Map Maken...,Criar Nova Pasta...,新しいフォルダを作成...,Crea cartella...,Создать новую папку...
Expand Down

0 comments on commit 0f056ba

Please sign in to comment.