From fa19e1551a584a48202677c5215b062895e4f34f Mon Sep 17 00:00:00 2001 From: Aeter Date: Fri, 8 Feb 2013 16:52:31 -0500 Subject: Add a Dutch translation. --- CATSFC/system/language.msg | 215 ++++++++++++++++++++++++++++++++++++++++++++- source/nds/gui.c | 9 +- source/nds/message.h | 5 +- 3 files changed, 222 insertions(+), 7 deletions(-) diff --git a/CATSFC/system/language.msg b/CATSFC/system/language.msg index d6b67d8..c8fc775 100644 --- a/CATSFC/system/language.msg +++ b/CATSFC/system/language.msg @@ -190,7 +190,7 @@ OK! Delete all saved states #FMT_SAVED_STATE_DELETE_ONE Delete saved state %d -#MSG_DELETE_ALL_SAVESTATE_WARING +#MSG_DIALOG_SAVE_STATE_DELETE_ALL Really delete all saved states? #FMT_DIALOG_SAVED_STATE_DELETE_ONE Really delete saved state %d? @@ -606,7 +606,7 @@ Terminé! Supprimer toutes les sauvegardes #FMT_SAVED_STATE_DELETE_ONE Supprimer l'emplacement %d -#MSG_DELETE_ALL_SAVESTATE_WARING +#MSG_DIALOG_SAVE_STATE_DELETE_ALL Supprimer toutes les sauvegardes? #FMT_DIALOG_SAVED_STATE_DELETE_ONE Supprimer l'emplacement %d? @@ -815,7 +815,7 @@ OK! Alle Speicherstände löschen #FMT_SAVED_STATE_DELETE_ONE Lösche Speicherstand %d -#MSG_DELETE_ALL_SAVESTATE_WARING +#MSG_DIALOG_SAVE_STATE_DELETE_ALL Wirklich alle Speicherstände löschen? #FMT_DIALOG_SAVED_STATE_DELETE_ONE Wirklich Speicherstand %d löschen? @@ -857,3 +857,212 @@ Alle Einstellungen zurücksetzen? Bitte warten... ENDGERMAN + +STARTDUTCH + +#MSG_MAIN_MENU_NEW_GAME +Nieuw spel +#MSG_MAIN_MENU_RETURN_TO_GAME +Ga terug naar het spel +#MSG_MAIN_MENU_RESET_GAME +Herstart spel +#MSG_MAIN_MENU_VIDEO_AUDIO +Video & audio +#MSG_MAIN_MENU_SAVED_STATES +Opgeslagen staten +#MSG_MAIN_MENU_CHEATS +Bedrogcodes +#MSG_MAIN_MENU_TOOLS +Hulpmiddelen +#MSG_MAIN_MENU_OPTIONS +Instellingen +#MSG_MAIN_MENU_EXIT +Afsluiten +#FMT_VIDEO_AUDIO_FLUIDITY_PREFERENCE +Fluïditeit %s +#MSG_VIDEO_AUDIO_FLUIDITY_PREFER_VIDEO +Fluïde video voorkeur +#MSG_VIDEO_AUDIO_FLUIDITY_PREFER_AUDIO +Fluïde audio voorkeur +#FMT_VIDEO_ASPECT_RATIO +Beeldverhouding %s +#FMT_VIDEO_FAST_FORWARD +Vooruitspoelen %s +#FMT_VIDEO_FRAME_SKIPPING +Beelden overslaan %s +#FMT_AUDIO_SOUND +Geluid %s +#FMT_SAVED_STATE_CREATE +Creëer opgeslagen staat %d +#FMT_SAVED_STATE_LOAD +Laad opgeslagen staat %d +#MSG_SAVED_STATE_DELETE_GENERAL +Verwijder opgeslagen staten... +#FMT_CHEAT_PAGE +Bedrogcode pagina %d +#MSG_CHEAT_LOAD_FROM_FILE +Laad bedrogcode bestand +#MSG_TOOLS_SCREENSHOT_GENERAL +Beeldschermafdrukken... +#MSG_TOOLS_GLOBAL_HOTKEY_GENERAL +Globale sneltoetsen... +#MSG_TOOLS_GAME_HOTKEY_GENERAL +Spel-specifieke sneltoets overnames... +#FMT_OPTIONS_LANGUAGE +Taal %s +#FMT_OPTIONS_CPU_FREQUENCY +CPU frequentie %s +#MSG_OPTIONS_CPU_FREQUENCY_0 +[0] 240 MHz +#MSG_OPTIONS_CPU_FREQUENCY_1 +[1] 300 MHz +#MSG_OPTIONS_CPU_FREQUENCY_2 +[2] 336 MHz +#MSG_OPTIONS_CPU_FREQUENCY_3 +[3] 360 MHz +#MSG_OPTIONS_CPU_FREQUENCY_4 +[4] 384 MHz +#MSG_OPTIONS_CPU_FREQUENCY_5 +[5] 396 MHz +#MSG_OPTIONS_CARD_CAPACITY +Kaart capaciteit +#MSG_OPTIONS_RESET +Herstel standaard instellingen +#MSG_OPTIONS_VERSION +Versie-informatie +#MSG_SCREENSHOT_CREATE +Creëer beeldschermafdruk +#MSG_SCREENSHOT_BROWSE +Blader door beeldschermafdrukken +#MSG_HOTKEY_MAIN_MENU +Ga naar het hoofdmenu +#MSG_HOTKEY_TEMPORARY_FAST_FORWARD +Tijdelijk vooruitspoelen +#MSG_HOTKEY_SOUND_TOGGLE +Schakel geluid +#MSG_PROGRESS_HOTKEY_WAITING_FOR_KEYS +Druk op de gewenste knoppencombinatie. +#MSG_HOTKEY_DELETE_WITH_A +*A Wissen +#MSG_HOTKEY_CANCEL_WITH_B +*B Annuleren +#MSG_LOAD_GAME_RECENTLY_PLAYED +Recent gespeelde spellen +#MSG_LOAD_GAME_FROM_CARD +Selecteer een spel van de kaart +#MSG_LOAD_GAME_MENU_TITLE +Selecteer een spel +#MSG_VIDEO_ASPECT_RATIO_0 +[0] Volledig scherm +#MSG_VIDEO_ASPECT_RATIO_1 +[1] Onder, vierkante pixels +#MSG_VIDEO_ASPECT_RATIO_2 +[2] Boven, vierkante pixels +#MSG_VIDEO_ASPECT_RATIO_3 +[3] Midden, vierkante pixels +#MSG_VIDEO_ASPECT_RATIO_4 +[4] Volledig scherm, gladgestreken +#MSG_VIDEO_FRAME_SKIPPING_AUTOMATIC +[-] Het speltempo bijhouden +#MSG_VIDEO_FRAME_SKIPPING_0 +[0] Laat alle beelden zien +#MSG_VIDEO_FRAME_SKIPPING_1 +[1] Laat 1 uit 2 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_2 +[2] Laat 1 uit 3 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_3 +[3] Laat 1 uit 4 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_4 +[4] Laat 1 uit 5 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_5 +[5] Laat 1 uit 6 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_6 +[6] Laat 1 uit 7 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_7 +[7] Laat 1 uit 8 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_8 +[8] Laat 1 uit 9 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_9 +[9] Laat 1 uit 10 beelden zien +#MSG_VIDEO_FRAME_SKIPPING_10 +[10] Laat 1 uit 11 beelden zien +#MSG_GENERAL_OFF +Uit +#MSG_GENERAL_ON +Aan +#MSG_GENERAL_CONFIRM_WITH_A +*A Bevestig +#MSG_GENERAL_CANCEL_WITH_B +*B Annuleer +#MSG_AUDIO_ENABLED +Aan +#MSG_AUDIO_MUTED +Gedempt +#MSG_TOP_SCREEN_NO_GAME_LOADED +Er is geen spel geladen +#MSG_CHEAT_ELEMENT_NOT_LOADED + +#MSG_SAVESTATE_FULL +Het huidige slot bevat al een staat. Deze staat overschrijven? +#MSG_PROGRESS_SAVED_STATE_CREATING +Opslaan... +#MSG_PROGRESS_SAVED_STATE_CREATION_FAILED +Opslaan mislukt! +#MSG_PROGRESS_SAVED_STATE_CREATION_SUCCEEDED +Opslaan geslaagd! +#MSG_TOP_SCREEN_NO_SAVED_STATE_IN_SLOT +Geen opgeslagen staat in slot +#MSG_PROGRESS_SAVED_STATE_CORRUPTED +Geen staat in slot gevonden of staat is corrupt. +#MSG_PROGRESS_SAVED_STATE_LOADING +Laden... +#MSG_PROGRESS_SAVED_STATE_LOAD_FAILED +Laden mislukt! +#MSG_PROGRESS_SAVED_STATE_LOAD_SUCCEEDED +Laden geslaagd! +#MSG_SAVED_STATE_DELETE_ALL +Verwijder alle opgeslagen staten +#FMT_SAVED_STATE_DELETE_ONE +Verwijder opgeslagen staat %d +#MSG_DIALOG_SAVE_STATE_DELETE_ALL +Werkelijk alle opgeslagen staten verwijderen? +#FMT_DIALOG_SAVED_STATE_DELETE_ONE +Werkelijk opgeslagen staat %d verwijderen? +#MSG_PROGRESS_SAVED_STATE_ALREADY_EMPTY +De opgeslagen staat is al leeg. +#MSG_PROGRESS_SCREENSHOT_CREATING +Beeldschermafdruk opslaan... +#MSG_PROGRESS_SCREENSHOT_CREATION_SUCCEEDED +Opslaan geslaagd! +#MSG_PROGRESS_SCREENSHOT_CREATION_FAILED +Opslaan mislukt! +#MSG_NO_SLIDE +Geen beeldschermafdrukken gevonden +#MSG_PLAYING_SLIDE +Aan het afspelen... +#MSG_PAUSE_SLIDE +Onderbreken... +#MSG_PLAY_SLIDE1 +OMHOOG-toets Sneller +#MSG_PLAY_SLIDE2 +OMLAAG-toets Langzamer +#MSG_PLAY_SLIDE3 +LINKS-toets Laatste afbeelding +#MSG_PLAY_SLIDE4 +RECHTS-toets Volgende afbeelding +#MSG_PLAY_SLIDE5 +A-toets Onderbreken +#MSG_PLAY_SLIDE6 +B-toets Terug naar het menu +#MSG_PROGRESS_LOADING_GAME +Laden... +#MSG_EMULATOR_NAME +CATSFC SNES emulator +#MSG_WORD_EMULATOR_VERSION +Versie +#MSG_DIALOG_RESET +Herstel alle standaard instellingen? +#MSG_PROGRESS_RESETTING +Even geduld A.U.B. + +ENDDUTCH diff --git a/source/nds/gui.c b/source/nds/gui.c index 4299db2..8c63bc4 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -50,15 +50,16 @@ char argv[2][MAX_PATH]; // If adding a language, make sure you update the size of the array in // message.h too. -char *lang[4] = +char *lang[5] = { "English", // 0 "简体中文", // 1 "Français", // 2 "Deutsch", // 3 + "Nederlands", // 4 }; -char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3] }; +char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4] }; /****************************************************************************** * Macro definition @@ -4111,6 +4112,10 @@ int load_language_msg(char *filename, u32 language) strcpy(start, "STARTGERMAN"); strcpy(end, "ENDGERMAN"); break; + case DUTCH: + strcpy(start, "STARTDUTCH"); + strcpy(end, "ENDDUTCH"); + break; } u32 cmplen = strlen(start); diff --git a/source/nds/message.h b/source/nds/message.h index 538bc3b..93b8313 100644 --- a/source/nds/message.h +++ b/source/nds/message.h @@ -146,10 +146,11 @@ enum LANGUAGE { ENGLISH, CHINESE_SIMPLIFIED, FRENCH, - GERMAN + GERMAN, + DUTCH }; -extern char* lang[4]; // Allocated in gui.c, needs to match the languages ^ +extern char* lang[5]; // Allocated in gui.c, needs to match the languages ^ char *msg[MSG_END+1]; char msg_data[32 * 1024]; -- cgit v1.2.3 From 267da6d5e11a285b5172983de540f6f9219c21db Mon Sep 17 00:00:00 2001 From: Boriar Date: Fri, 8 Feb 2013 17:04:32 -0500 Subject: Add a Spanish translation. --- CATSFC/system/language.msg | 209 +++++++++++++++++++++++++++++++++++++++++++++ source/nds/gui.c | 9 +- source/nds/message.h | 5 +- 3 files changed, 219 insertions(+), 4 deletions(-) diff --git a/CATSFC/system/language.msg b/CATSFC/system/language.msg index c8fc775..d734607 100644 --- a/CATSFC/system/language.msg +++ b/CATSFC/system/language.msg @@ -1066,3 +1066,212 @@ Herstel alle standaard instellingen? Even geduld A.U.B. ENDDUTCH + +STARTSPANISH + +#MSG_MAIN_MENU_NEW_GAME +Nuevo +#MSG_MAIN_MENU_RETURN_TO_GAME +Volver +#MSG_MAIN_MENU_RESET_GAME +Reiniciar +#MSG_MAIN_MENU_VIDEO_AUDIO +Video y audio +#MSG_MAIN_MENU_SAVED_STATES +Partidas +#MSG_MAIN_MENU_CHEATS +Trucos +#MSG_MAIN_MENU_TOOLS +Herramientas +#MSG_MAIN_MENU_OPTIONS +Opciones +#MSG_MAIN_MENU_EXIT +Salir +#FMT_VIDEO_AUDIO_FLUIDITY_PREFERENCE +Fluidez %s +#MSG_VIDEO_AUDIO_FLUIDITY_PREFER_VIDEO +Video fluido +#MSG_VIDEO_AUDIO_FLUIDITY_PREFER_AUDIO +Audio fluido +#FMT_VIDEO_ASPECT_RATIO +Modo de pantalla %s +#FMT_VIDEO_FAST_FORWARD +Modo avance rápido %s +#FMT_VIDEO_FRAME_SKIPPING +Salto de fotogramas %s +#FMT_AUDIO_SOUND +Activar sonido %s +#FMT_SAVED_STATE_CREATE +Grabar partida %d +#FMT_SAVED_STATE_LOAD +Cargar partida %d +#MSG_SAVED_STATE_DELETE_GENERAL +Borrar partidas... +#FMT_CHEAT_PAGE +Página de trucos: %d +#MSG_CHEAT_LOAD_FROM_FILE +Cargar archivo de trucos +#MSG_TOOLS_SCREENSHOT_GENERAL +Capturas de pantalla... +#MSG_TOOLS_GLOBAL_HOTKEY_GENERAL +Teclas globales... +#MSG_TOOLS_GAME_HOTKEY_GENERAL +Teclas en juego... +#FMT_OPTIONS_LANGUAGE +Idioma %s +#FMT_OPTIONS_CPU_FREQUENCY +Frecuencia CPU %s +#MSG_OPTIONS_CPU_FREQUENCY_0 +[0] 240 MHz +#MSG_OPTIONS_CPU_FREQUENCY_1 +[1] 300 MHz +#MSG_OPTIONS_CPU_FREQUENCY_2 +[2] 336 MHz +#MSG_OPTIONS_CPU_FREQUENCY_3 +[3] 360 MHz +#MSG_OPTIONS_CPU_FREQUENCY_4 +[4] 384 MHz +#MSG_OPTIONS_CPU_FREQUENCY_5 +[5] 396 MHz +#MSG_OPTIONS_CARD_CAPACITY +Capacidad uSD +#MSG_OPTIONS_RESET +Restaurar valores iniciales +#MSG_OPTIONS_VERSION +Información de versión +#MSG_SCREENSHOT_CREATE +Salvar captura +#MSG_SCREENSHOT_BROWSE +Mostrar capturas +#MSG_HOTKEY_MAIN_MENU +Ir al menu principal +#MSG_HOTKEY_TEMPORARY_FAST_FORWARD +Avance rápido temp. +#MSG_HOTKEY_SOUND_TOGGLE +Sonido On/Off +#MSG_PROGRESS_HOTKEY_WAITING_FOR_KEYS + Presione la tecla para esta acción. +#MSG_HOTKEY_DELETE_WITH_A +*A Borrar +#MSG_HOTKEY_CANCEL_WITH_B +*B Cancelar +#MSG_LOAD_GAME_RECENTLY_PLAYED +Juegos recientes +#MSG_LOAD_GAME_FROM_CARD +Cargar un juego +#MSG_LOAD_GAME_MENU_TITLE +Seleccionar el juego +#MSG_VIDEO_ASPECT_RATIO_0 +[0] Completa +#MSG_VIDEO_ASPECT_RATIO_1 +[1] Alinear abajo +#MSG_VIDEO_ASPECT_RATIO_2 +[2] Alinear arriba +#MSG_VIDEO_ASPECT_RATIO_3 +[3] Centrar +#MSG_VIDEO_ASPECT_RATIO_4 +[4] Completa+Suavizado +#MSG_VIDEO_FRAME_SKIPPING_AUTOMATIC +[-] Automático +#MSG_VIDEO_FRAME_SKIPPING_0 +[0] Mostrar todos +#MSG_VIDEO_FRAME_SKIPPING_1 +[1] Mostrar 1/2 +#MSG_VIDEO_FRAME_SKIPPING_2 +[2] Mostrar 1/3 +#MSG_VIDEO_FRAME_SKIPPING_3 +[3] Mostrar 1/4 +#MSG_VIDEO_FRAME_SKIPPING_4 +[4] Mostrar 1/5 +#MSG_VIDEO_FRAME_SKIPPING_5 +[5] Mostrar 1/6 +#MSG_VIDEO_FRAME_SKIPPING_6 +[6] Mostrar 1/7 +#MSG_VIDEO_FRAME_SKIPPING_7 +[7] Mostrar 1/8 +#MSG_VIDEO_FRAME_SKIPPING_8 +[8] Mostrar 1/9 +#MSG_VIDEO_FRAME_SKIPPING_9 +[9] Mostrar 1/10 +#MSG_VIDEO_FRAME_SKIPPING_10 +[10] Mostrar 1/11 +#MSG_GENERAL_OFF +Off +#MSG_GENERAL_ON +On +#MSG_GENERAL_CONFIRM_WITH_A +*A Aceptar +#MSG_GENERAL_CANCEL_WITH_B +*B Cancelar +#MSG_AUDIO_ENABLED +On +#MSG_AUDIO_MUTED +Off +#MSG_TOP_SCREEN_NO_GAME_LOADED +No hay juego cargado +#MSG_CHEAT_ELEMENT_NOT_LOADED + +#MSG_SAVESTATE_FULL + Posición actual en uso. Sobreescribirla? +#MSG_PROGRESS_SAVED_STATE_CREATING +Salvando la partida... +#MSG_PROGRESS_SAVED_STATE_CREATION_FAILED +Error al salvar! +#MSG_PROGRESS_SAVED_STATE_CREATION_SUCCEEDED +Salvado correcto! +#MSG_TOP_SCREEN_NO_SAVED_STATE_IN_SLOT +No hay partida aquí +#MSG_PROGRESS_SAVED_STATE_CORRUPTED +Partida no encontrada/corrupta! +#MSG_PROGRESS_SAVED_STATE_LOADING +Cargando... +#MSG_PROGRESS_SAVED_STATE_LOAD_FAILED +Error al cargar! +#MSG_PROGRESS_SAVED_STATE_LOAD_SUCCEEDED +Carga correcta! +#MSG_SAVED_STATE_DELETE_ALL +Borrar todas las partidas +#FMT_SAVED_STATE_DELETE_ONE +Borrar partida %d +#MSG_DELETE_ALL_SAVESTATE_WARING +Borrar todas las partidas? +#FMT_DIALOG_SAVED_STATE_DELETE_ONE +Borrar la partida %d? +#MSG_PROGRESS_SAVED_STATE_ALREADY_EMPTY +No hay partida! +#MSG_PROGRESS_SCREENSHOT_CREATING +Salvando la captura... +#MSG_PROGRESS_SCREENSHOT_CREATION_SUCCEEDED +Completado! +#MSG_PROGRESS_SCREENSHOT_CREATION_FAILED +Error al salvar! +#MSG_NO_SLIDE +Captura no encontrada! +#MSG_PLAYING_SLIDE +Ejecutando... +#MSG_PAUSE_SLIDE +Pausa... +#MSG_PLAY_SLIDE1 +Tecla ^ Velocidad + +#MSG_PLAY_SLIDE2 +Tecla v Velocidad - +#MSG_PLAY_SLIDE3 +Tecla < Anterior +#MSG_PLAY_SLIDE4 +Tecla > Siguiente +#MSG_PLAY_SLIDE5 +Tecla A Pausa +#MSG_PLAY_SLIDE6 +Tecla B Volver al menu +#MSG_PROGRESS_LOADING_GAME +Cargando el juego... +#MSG_EMULATOR_NAME +CATSFC Emulador SNES +#MSG_WORD_EMULATOR_VERSION +Versión +#MSG_DIALOG_RESET +Cargar valores iniciales? +#MSG_PROGRESS_RESETTING +Espere un momento... + +ENDSPANISH diff --git a/source/nds/gui.c b/source/nds/gui.c index 8c63bc4..6d67ba1 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -50,16 +50,17 @@ char argv[2][MAX_PATH]; // If adding a language, make sure you update the size of the array in // message.h too. -char *lang[5] = +char *lang[6] = { "English", // 0 "简体中文", // 1 "Français", // 2 "Deutsch", // 3 "Nederlands", // 4 + "Español", // 5 }; -char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4] }; +char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5] }; /****************************************************************************** * Macro definition @@ -4116,6 +4117,10 @@ int load_language_msg(char *filename, u32 language) strcpy(start, "STARTDUTCH"); strcpy(end, "ENDDUTCH"); break; + case SPANISH: + strcpy(start, "STARTSPANISH"); + strcpy(end, "ENDSPANISH"); + break; } u32 cmplen = strlen(start); diff --git a/source/nds/message.h b/source/nds/message.h index 93b8313..bab9292 100644 --- a/source/nds/message.h +++ b/source/nds/message.h @@ -147,10 +147,11 @@ enum LANGUAGE { CHINESE_SIMPLIFIED, FRENCH, GERMAN, - DUTCH + DUTCH, + SPANISH }; -extern char* lang[5]; // Allocated in gui.c, needs to match the languages ^ +extern char* lang[6]; // Allocated in gui.c, needs to match the languages ^ char *msg[MSG_END+1]; char msg_data[32 * 1024]; -- cgit v1.2.3