summaryrefslogtreecommitdiff
path: root/luapatch-languages.h
diff options
context:
space:
mode:
Diffstat (limited to 'luapatch-languages.h')
-rw-r--r--luapatch-languages.h201
1 files changed, 201 insertions, 0 deletions
diff --git a/luapatch-languages.h b/luapatch-languages.h
new file mode 100644
index 0000000..0a0f87b
--- /dev/null
+++ b/luapatch-languages.h
@@ -0,0 +1,201 @@
+enum strings_e {
+ ISOFILE,
+ CDDRIVE,
+ ISOSOURCE,
+ ISODEST,
+ PATCH,
+ NO_DESTINATION,
+ NO_SOURCE,
+ NO_PATCH,
+ MSGERROR,
+ PARASITE_EVE,
+ VERBOSE_CFG_ERROR,
+ CFG_ERROR,
+ END_MSG,
+ END_TITLE,
+};
+
+struct texts_t {
+ int id;
+ int owner;
+ char * str;
+};
+
+struct texts_t t_english[] = {
+ {IDC_ABOUTTEXT, IDD_ABOUT,
+"LuaPatch version 0.4.0\n"
+"Hand made special MFC version\n\n"
+"A CD patching system\n\n"
+"Copyrignt © 2003-2005 Nicolas \"Pixel\" Noble / NOBIS\n\n"
+"http://www.nobis-crew.org/luapatch/\n"
+"http://www.nobis-crew.org/"},
+ {IDOK, IDD_ABOUT, "OK"},
+ {IDOK, IDD_FILESELECT, "OK"},
+ {IDCANCEL, IDD_FILESELECT, "Quit"},
+ {IDC_ABOUT, IDD_FILESELECT, "About"},
+ {IDC_ST_SOURCETYPE, IDD_FILESELECT, "Source type:"},
+ {IDC_ST_SOURCE, IDD_FILESELECT, "Source:"},
+ {IDC_ST_DEST, IDD_FILESELECT, "Destination file:"},
+ {IDC_ST_PATCH, IDD_FILESELECT, "Patch file:"},
+
+ {ISOFILE, 0, "Iso file"},
+ {CDDRIVE, 0, "CD drive"},
+ {ISODEST, 0, "2352-raw image (*.bin)\0*.BIN\0\0\0"},
+ {ISOSOURCE, 0, "2352-raw image (*.bin, *.iso, *.img)\0*.BIN;*.ISO;*.IMG\0\0\0"},
+ {PATCH, 0, "PAQ Archive (*.paq)\0*.PAQ\0\0\0"},
+ {MSGERROR, 0, "Error"},
+ {NO_DESTINATION, 0, "No destination file."},
+ {NO_SOURCE, 0, "No source file."},
+ {NO_PATCH, 0, "No patch file."},
+ {PARASITE_EVE, 0, "Error loading configuration file, switching to old Parasite Eve behavior.\n"},
+ {VERBOSE_CFG_ERROR, 0, "Something's wrong with that patch: no valid configuration file.\n"},
+ {CFG_ERROR, 0, "No valid configuration file found."},
+ {END_MSG, 0, "Patch successfully applied!"},
+ {END_TITLE, 0, "Done"},
+
+ {-1, 0}
+};
+
+struct texts_t t_french[] = {
+ {IDC_ABOUTTEXT, IDD_ABOUT,
+"LuaPatch version 0.4.0\n"
+"Version artisanale spéciale MFC\n\n"
+"Un système de patch de CD\n\n"
+"Copyrignt © 2003-2005 Nicolas \"Pixel\" Noble / NOBIS\n\n"
+"http://www.nobis-crew.org/luapatch/\n"
+"http://www.nobis-crew.org/"},
+ {IDCANCEL, IDD_FILESELECT, "Quitter"},
+ {IDC_ABOUT, IDD_FILESELECT, "A propos"},
+ {IDC_ST_SOURCETYPE, IDD_FILESELECT, "Type de source:"},
+ {IDC_ST_DEST, IDD_FILESELECT, "Fichier de destination:"},
+ {IDC_ST_PATCH, IDD_FILESELECT, "Fichier de patch:"},
+
+ {ISOFILE, 0, "Fichier ISO"},
+ {CDDRIVE, 0, "Lecteur CD"},
+ {ISODEST, 0, "Image ISO 2352-raw (*.bin)\0*.BIN\0\0\0"},
+ {ISOSOURCE, 0, "Image ISO 2352-raw (*.bin, *.iso, *.img)\0*.BIN;*.ISO;*.IMG\0\0\0"},
+ {PATCH, 0, "Archive PAQ (*.paq)\0*.PAQ\0\0\0"},
+ {MSGERROR, 0, "Erreur"},
+ {NO_DESTINATION, 0, "Pas de fichier de destination."},
+ {NO_SOURCE, 0, "Pas de fichier source."},
+ {NO_PATCH, 0, "Pas de fichier patch."},
+ {PARASITE_EVE, 0, "Erreur au chargement du fichier de configuration, compatibilité descendante avec Parasite Eve activée.\n" },
+ {VERBOSE_CFG_ERROR, 0, "Quelque chose ne va pas avec ce patch: pas de fichier de configuration valide.\n"},
+ {CFG_ERROR, 0, "Aucun fichier de configuration valide trouvé."},
+ {END_MSG, 0, "Patch appliqué avec succès!"},
+ {END_TITLE, 0, "Terminé"},
+
+ {-1, 0}
+};
+
+struct texts_t t_german[] = {
+ {IDC_ABOUTTEXT, IDD_ABOUT,
+"LuaPatch version 0.4.0\n"
+"Adaptierte MFC Version\n\n"
+"CD Patch System\n\n"
+"Copyright © 2003-2005 Nicolas \"Pixel\" Noble / NOBIS\n\n"
+"http://www.nobis-crew.org/luapatch/\n"
+"http://www.nobis-crew.org/"},
+ {IDCANCEL, IDD_FILESELECT, "Beenden"},
+ {IDC_ABOUT, IDD_FILESELECT, "Info"},
+ {IDC_ST_SOURCETYPE, IDD_FILESELECT, "Quelletyp:"},
+ {IDC_ST_SOURCE, IDD_FILESELECT, "Quelle:"},
+ {IDC_ST_DEST, IDD_FILESELECT, "Ziel Datei:"},
+ {IDC_ST_PATCH, IDD_FILESELECT, "Patch Datei:"},
+
+ {ISOFILE, 0, "Iso Image"},
+ {CDDRIVE, 0, "CD Laufwerk"},
+ {ISODEST, 0, "ISO Image 2352-raw (*.bin)\0*.BIN\0\0\0"},
+ {ISOSOURCE, 0, "ISO Image 2352-raw (*.bin, *.iso, *.img)\0*.BIN;*.ISO;*.IMG\0\0\0"},
+ {PATCH, 0, "Archiv PAQ (*.paq)\0*.PAQ\0\0\0"},
+ {MSGERROR, 0, "Fehler"},
+ {NO_DESTINATION, 0, "Keine Zeildatei."},
+ {NO_SOURCE, 0, "Keine Quelldatei."},
+ {NO_PATCH, 0, "Keine Patchdatei."},
+
+ {-1, 0}
+};
+
+struct texts_t t_spanish[] = {
+ {IDC_ABOUTTEXT, IDD_ABOUT,
+"LuaPatch versión 0.4.0\n"
+"Versión especial MFC hecha a mano\n\n"
+"Un sistema de parcheo de CD\n\n"
+"Copyrignt © 2003-2005 Nicolas \"Pixel\" Noble / NOBIS\n\n"
+"http://www.nobis-crew.org/luapatch/\n"
+"http://www.nobis-crew.org/"},
+ {IDCANCEL, IDD_FILESELECT, "Salir"},
+ {IDC_ABOUT, IDD_FILESELECT, "Acerca de"},
+ {IDC_ST_SOURCETYPE, IDD_FILESELECT, "Tipo de fuente:"},
+ {IDC_ST_DEST, IDD_FILESELECT, "Archivo de destino:"},
+ {IDC_ST_PATCH, IDD_FILESELECT, "Parche:"},
+
+ {ISOFILE, 0, "Archivo ISO"},
+ {CDDRIVE, 0, "Unidad de CD"},
+ {ISODEST, 0, "Imagen 2352-raw (*.bin)\0*.BIN\0\0\0"},
+ {ISOSOURCE, 0, "Imagen 2352-raw (*.bin, *.iso, *.img)\0*.BIN;*.ISO;*.IMG\0\0\0"},
+ {PATCH, 0, "Fichero PAQ (*.paq)\0*.PAQ\0\0\0"},
+ {MSGERROR, 0, "Error"},
+ {NO_DESTINATION, 0, "No hay archivo de destino."},
+ {NO_SOURCE, 0, "No hay archivo fuente."},
+ {NO_PATCH, 0, "No hay parche."},
+ {PARASITE_EVE, 0, "Error cargando archivo de configuración, cambiando a viejo estilo Parasite Eve.\n"},
+ {VERBOSE_CFG_ERROR, 0, "Algo está mal con ese parche: archivo de configuración inválido.\n"},
+ {CFG_ERROR, 0, "No se encontró archivo de configuración válido."},
+ {END_MSG, 0, "¡Parche aplicado satisfactoriamente!"},
+ {END_TITLE, 0, "Hecho"},
+
+ {-1, 0}
+};
+
+struct texts_t t_portuguese[] = {
+ {IDC_ABOUTTEXT, IDD_ABOUT,
+"LuaPatch versão 0.4.0\n"
+"Feito em uma versão especial da MFC\n\n"
+"Um sistema de Patchs para para CDs\n\n"
+"Copyrignt © 2003-2005 Nicolas \"Pixel\" Noble / NOBIS\n\n"
+"http://www.nobis-crew.org/luapatch/\n"
+"http://www.nobis-crew.org/"},
+ {IDCANCEL, IDD_FILESELECT, "Sair"},
+ {IDC_ABOUT, IDD_FILESELECT, "Sobre"},
+ {IDC_ST_SOURCETYPE, IDD_FILESELECT, "Tipo do arquivo:"},
+ {IDC_ST_DEST, IDD_FILESELECT, "Arquivo de destino:"},
+ {IDC_ST_PATCH, IDD_FILESELECT, "Arquivo de Patch:"},
+
+ {ISOFILE, 0, "Arquivo ISO"},
+ {CDDRIVE, 0, "Drive de CD"},
+ {ISODEST, 0, "2352-raw image (*.bin)\0*.BIN\0\0\0"},
+ {ISOSOURCE, 0, "2352-raw image (*.bin, *.iso, *.img)\0*.BIN;*.ISO;*.IMG\0\0\0"},
+ {PATCH, 0, "Arquivo PAQ (*.paq)\0*.PAQ\0\0\0"},
+ {MSGERROR, 0, "Erro"},
+ {NO_DESTINATION, 0, "Arquivo de destino não especificado."},
+ {NO_SOURCE, 0, "Arquivo de origem não especificado."},
+ {NO_PATCH, 0, "Arquivo de patch não especificado."},
+ {PARASITE_EVE, 0, "Erro carregando o arquivo de configuração... mudando para as configurações do Parasite Eve.\n"},
+ {VERBOSE_CFG_ERROR, 0, "Há algo errado com o patch: nenhum arquivo de configuração válido foi encontrado.\n"},
+ {CFG_ERROR, 0, "Nenhum arquivo de configuração válido foi encontrado."},
+ {END_MSG, 0, "Patch aplicado com sucesso!"},
+ {END_TITLE, 0, "Pronto"},
+
+ {-1, 0}
+};
+
+struct trad_t {
+ int langid;
+ struct texts_t * trad;
+};
+
+struct trad_t trads[] = {
+ {LANG_NEUTRAL, t_english},
+ {LANG_FRENCH, t_french},
+ {LANG_GERMAN, t_german},
+ {LANG_SPANISH, t_spanish},
+ {LANG_PORTUGUESE, t_portuguese},
+ {-1, 0}
+};
+
+enum {
+ DEST_SELECT,
+ SOURCE_SELECT,
+ PATCH_SELECT,
+};