From 4578b4e71f3730f4d7e2ab544213301f8791ec41 Mon Sep 17 00:00:00 2001 From: MysterD Date: Mon, 3 Apr 2023 19:32:34 -0700 Subject: [PATCH] Added new spanish strings --- lang/Spanish.ini | 8 ++++---- src/pc/mods/mod_import.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/Spanish.ini b/lang/Spanish.ini index d71d20a8..6303d3aa 100644 --- a/lang/Spanish.ini +++ b/lang/Spanish.ini @@ -15,10 +15,10 @@ DISCONNECT_CLOSED = "\\#ffa0a0\\Desconectado:\\#c8c8c8\\ El anfitrión ha cerrad DISCONNECT_BIG_MOD = "El servidor tenía un mod demasiado pesado.\nSaliendo." DIED = "@ ha muerto" DEBUG_FLY = "@ está en estado de vuelo libre debug" -IMPORT_MOD_SUCCESS = "\\#a0ffa0\\Imported mod\n\\#c8c8c8\\'@'" -IMPORT_DYNOS_SUCCESS = "\\#a0ffa0\\Imported DynOS pack\n\\#c8c8c8\\'@'" -IMPORT_FAIL = "\\#ffa0a0\\Failed to import\n\\#c8c8c8\\'@'" -IMPORT_FAIL_INGAME = "\\#ffa0a0\\Can not import while in-game" +IMPORT_MOD_SUCCESS = "\\#a0ffa0\\Mod \n\\#c8c8c8\\'@'\n\\#a0ffa0\\Importado" +IMPORT_DYNOS_SUCCESS = "\\#a0ffa0\\DynOS pack \n\\#c8c8c8\\'@'\n\\#a0ffa0\\Importado" +IMPORT_FAIL = "\\#ffa0a0\\Fallo al importar \\#c8c8c8\\\n'@'" +IMPORT_FAIL_INGAME = "\\#ffa0a0\\No se puede importar durante el juego" [CHAT] KICKING = "¡Expulsando a '@'!" diff --git a/src/pc/mods/mod_import.c b/src/pc/mods/mod_import.c index 168b56f6..538255e3 100644 --- a/src/pc/mods/mod_import.c +++ b/src/pc/mods/mod_import.c @@ -178,7 +178,7 @@ bool mod_import_file(char* path) { bool ret = false; if (gNetworkType != NT_NONE) { - djui_popup_create(DLANG(NOTIF, IMPORT_FAIL_INGAME), 1); + djui_popup_create(DLANG(NOTIF, IMPORT_FAIL_INGAME), 2); return false; } @@ -195,15 +195,15 @@ bool mod_import_file(char* path) { if (ret) { if (isLua) { djui_language_replace(DLANG(NOTIF, IMPORT_MOD_SUCCESS), msg, SYS_MAX_PATH, '@', basename); - djui_popup_create(msg, 1); + djui_popup_create(msg, 2); } else if (isDynos) { dynos_packs_init(); djui_language_replace(DLANG(NOTIF, IMPORT_DYNOS_SUCCESS), msg, SYS_MAX_PATH, '@', basename); - djui_popup_create(msg, 1); + djui_popup_create(msg, 2); } } else { djui_language_replace(DLANG(NOTIF, IMPORT_FAIL), msg, SYS_MAX_PATH, '@', basename); - djui_popup_create(msg, 1); + djui_popup_create(msg, 2); } return ret;