Added new spanish strings

This commit is contained in:
MysterD 2023-04-03 19:32:34 -07:00
parent 48caad4603
commit 79df9fda32
2 changed files with 8 additions and 8 deletions

View File

@ -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 '@'!"

View File

@ -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;