aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2010-09-15 23:25:46 +0000
committerThierry Crozat2010-09-15 23:25:46 +0000
commit057056b8d335ab3fee8644e066e9db0a06451a90 (patch)
treefaab222cfc85c6435faf6bbfa0fec1e0ddffee2c
parentb77434c415f22aad57251b61014a1d66971c950c (diff)
downloadscummvm-rg350-057056b8d335ab3fee8644e066e9db0a06451a90.tar.gz
scummvm-rg350-057056b8d335ab3fee8644e066e9db0a06451a90.tar.bz2
scummvm-rg350-057056b8d335ab3fee8644e066e9db0a06451a90.zip
I18N: Add translation for load/save success or failure messages
Also improve and update the french translation. svn-id: r52740
-rw-r--r--engines/agos/saveload.cpp7
-rw-r--r--engines/scumm/scumm.cpp7
-rw-r--r--gui/themes/translations.datbin75943 -> 76264 bytes
-rw-r--r--po/POTFILES2
-rw-r--r--po/ca_ES.po26
-rw-r--r--po/de_DE.po26
-rw-r--r--po/es_ES.po26
-rw-r--r--po/fr_FR.po47
-rw-r--r--po/hu_HU.po26
-rw-r--r--po/it_IT.po26
-rw-r--r--po/ru_RU.po26
-rw-r--r--po/scummvm.pot26
-rw-r--r--po/uk_UA.po26
13 files changed, 250 insertions, 21 deletions
diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp
index e9fbaf3525..c461d74a4e 100644
--- a/engines/agos/saveload.cpp
+++ b/engines/agos/saveload.cpp
@@ -26,6 +26,7 @@
#include "common/file.h"
#include "common/savefile.h"
#include "common/system.h"
+#include "common/translation.h"
#include "gui/about.h"
#include "gui/message.h"
@@ -153,7 +154,7 @@ void AGOSEngine::quickLoadOrSave() {
Subroutine *sub;
success = loadGame(genSaveName(_saveLoadSlot));
if (!success) {
- sprintf(buf, "Failed to load game state to file:\n\n%s", filename);
+ sprintf(buf, _("Failed to load game state from file:\n\n%s"), filename);
} else if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
drawIconArray(2, me(), 0, 0);
setBitFlag(97, true);
@@ -188,7 +189,7 @@ void AGOSEngine::quickLoadOrSave() {
} else {
success = saveGame(_saveLoadSlot, _saveLoadName);
if (!success)
- sprintf(buf, "Failed to save game state to file:\n\n%s", filename);
+ sprintf(buf, _("Failed to save game state to file:\n\n%s"), filename);
}
if (!success) {
@@ -196,7 +197,7 @@ void AGOSEngine::quickLoadOrSave() {
dialog.runModal();
} else if (_saveLoadType == 1) {
- sprintf(buf, "Successfully saved game state in file:\n\n%s", filename);
+ sprintf(buf, _("Successfully saved game state in file:\n\n%s"), filename);
GUI::TimedMessageDialog dialog(buf, 1500);
dialog.runModal();
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 75c507565c..80df889a56 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -29,6 +29,7 @@
#include "common/events.h"
#include "common/EventRecorder.h"
#include "common/system.h"
+#include "common/translation.h"
#include "engines/util.h"
@@ -2167,14 +2168,14 @@ void ScummEngine::scummLoop_handleSaveLoad() {
if (_saveLoadFlag == 1) {
success = saveState(_saveLoadSlot, _saveTemporaryState);
if (!success)
- errMsg = "Failed to save game state to file:\n\n%s";
+ errMsg = _("Failed to save game state to file:\n\n%s");
if (success && _saveTemporaryState && VAR_GAME_LOADED != 0xFF && _game.version <= 7)
VAR(VAR_GAME_LOADED) = 201;
} else {
success = loadState(_saveLoadSlot, _saveTemporaryState);
if (!success)
- errMsg = "Failed to load game state from file:\n\n%s";
+ errMsg = _("Failed to load game state from file:\n\n%s");
if (success && _saveTemporaryState && VAR_GAME_LOADED != 0xFF)
VAR(VAR_GAME_LOADED) = (_game.version == 8) ? 1 : 203;
@@ -2186,7 +2187,7 @@ void ScummEngine::scummLoop_handleSaveLoad() {
} else if (_saveLoadFlag == 1 && _saveLoadSlot != 0 && !_saveTemporaryState) {
// Display "Save successful" message, except for auto saves
char buf[256];
- snprintf(buf, sizeof(buf), "Successfully saved game state in file:\n\n%s", filename.c_str());
+ snprintf(buf, sizeof(buf), _("Successfully saved game state in file:\n\n%s"), filename.c_str());
GUI::TimedMessageDialog dialog(buf, 1500);
runDialog(dialog);
diff --git a/gui/themes/translations.dat b/gui/themes/translations.dat
index e974923fe7..78548c0678 100644
--- a/gui/themes/translations.dat
+++ b/gui/themes/translations.dat
Binary files differ
diff --git a/po/POTFILES b/po/POTFILES
index 240ffa5aac..71a2e71d58 100644
--- a/po/POTFILES
+++ b/po/POTFILES
@@ -20,11 +20,13 @@ common/util.cpp
engines/dialogs.cpp
engines/scumm/dialogs.cpp
+engines/scumm/scumm.cpp
engines/mohawk/dialogs.cpp
engines/mohawk/myst.cpp
engines/mohawk/riven.cpp
engines/cruise/menu.cpp
engines/sci/engine/kfile.cpp
+engines/agos/saveload.cpp
sound/fmopl.cpp
sound/musicplugin.cpp
diff --git a/po/ca_ES.po b/po/ca_ES.po
index 71959ccb07..c6ba5c3d09 100644
--- a/po/ca_ES.po
+++ b/po/ca_ES.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-09-08 19:38+0100\n"
"Last-Translator: Jordi Vilalta Prat <jvprat@jvprat.com>\n"
"Language-Team: Catalan <scummvm-devel@lists.sf.net>\n"
@@ -1114,6 +1114,30 @@ msgstr "~S~egüent"
msgid "~C~lose"
msgstr "~T~anca"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "Mode ~Z~ip activat"
diff --git a/po/de_DE.po b/po/de_DE.po
index c5b39ab56c..a36ef9584a 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-09-13 12:28+0100\n"
"Last-Translator: Simon Sawatzki <SimSaw@gmx.de>\n"
"Language-Team: Lothar Serra Mari <Lothar@Windowsbase.de> & Simon Sawatzki "
@@ -1118,6 +1118,30 @@ msgstr "~W~eiter"
msgid "~C~lose"
msgstr "~S~chließen"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "~Z~ip-Modus aktiviert"
diff --git a/po/es_ES.po b/po/es_ES.po
index 686e8d5c22..16825fd6d0 100644
--- a/po/es_ES.po
+++ b/po/es_ES.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-09-14 14:51+0100\n"
"Last-Translator: Tomás Maidagan\n"
"Language-Team: \n"
@@ -1108,6 +1108,30 @@ msgstr "Si~g~uiente"
msgid "~C~lose"
msgstr "Cerra~r~"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "Modo ~Z~ip activado"
diff --git a/po/fr_FR.po b/po/fr_FR.po
index 2d72d3b373..53d376358d 100644
--- a/po/fr_FR.po
+++ b/po/fr_FR.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-08-11 22:14+0100\n"
"Last-Translator: Thierry Crozat <criezy@scummvm.org>\n"
"Language-Team: French <scummvm-devel@lists.sf.net>\n"
@@ -120,8 +120,8 @@ msgid ""
"Short game identifier used for referring to savegames and running the game "
"from the command line"
msgstr ""
-"ID compact du jeu utilisé pour identifier les sauvegardes et démarrer le jeu "
-"depuis la ligne de commande"
+"ID compact du jeu utilisée pour identifier les sauvegardes et démarrer le "
+"jeu depuis la ligne de commande"
#: gui/launcher.cpp:178
msgctxt "lowres"
@@ -876,15 +876,15 @@ msgstr "Sélectionner le répertoire des plugins"
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
-msgstr "Date non sauvée"
+msgstr "Date inconnue"
#: gui/saveload.cpp:61 gui/saveload.cpp:242
msgid "No time saved"
-msgstr "Heure non sauvée"
+msgstr "Heure inconnue"
#: gui/saveload.cpp:62 gui/saveload.cpp:243
msgid "No playtime saved"
-msgstr "Durée de jeu non sauvée"
+msgstr "Durée de jeu inconnue"
#: gui/saveload.cpp:69 gui/saveload.cpp:157
msgid "Delete"
@@ -1116,6 +1116,39 @@ msgstr "~S~uivant"
msgid "~C~lose"
msgstr "~F~ermer"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+"Échec de l'enregistrement de l'état du jeu dans le fichier:\n"
+"\n"
+"%s"
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+"Échec du chargement de l'état du jeu depuis le fichier:\n"
+"\n"
+"%s"
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+"État du jeu enregistré avec succès dans le fichier:\n"
+"\n"
+"%s"
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "Mode ~Z~ip Activé"
@@ -1560,7 +1593,7 @@ msgstr "Droit"
#: backends/platform/wince/CEActionsPocket.cpp:263
#: backends/platform/wince/CEActionsSmartphone.cpp:225
msgid "Do you want to load or save the game?"
-msgstr "Voulez-vous charger ou sauver le jeu?"
+msgstr "Voulez-vous charger ou enregistrer le jeu?"
#: backends/platform/wince/CEActionsPocket.cpp:313
#: backends/platform/wince/CEActionsSmartphone.cpp:272
diff --git a/po/hu_HU.po b/po/hu_HU.po
index 4cca1d0f30..771393828d 100644
--- a/po/hu_HU.po
+++ b/po/hu_HU.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM VERSION\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2009-11-25 07:42-0500\n"
"Last-Translator: Alex Bevilacqua <alexbevi@gmail.com>\n"
"Language-Team: Hungarian\n"
@@ -1120,6 +1120,30 @@ msgstr ""
msgid "~C~lose"
msgstr ""
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr ""
diff --git a/po/it_IT.po b/po/it_IT.po
index 87f9412c17..4e69d5e59e 100644
--- a/po/it_IT.po
+++ b/po/it_IT.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-09-14 19:25+0100\n"
"Last-Translator: Matteo 'Maff' Angelino <matteo.maff at gmail dot com>\n"
"Language-Team: Italian\n"
@@ -1111,6 +1111,30 @@ msgstr "~S~uccessivi"
msgid "~C~lose"
msgstr "~C~hiudi"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "Modalità ~Z~ip attivata"
diff --git a/po/ru_RU.po b/po/ru_RU.po
index 2da4128ae2..a77d98c6e4 100644
--- a/po/ru_RU.po
+++ b/po/ru_RU.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM VERSION\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-06-13 20:55+0300\n"
"Last-Translator: Eugene Sandulenko <sev@scummvm.org>\n"
"Language-Team: Russian\n"
@@ -1122,6 +1122,30 @@ msgstr "~Á~ÛÕÔ"
msgid "~C~lose"
msgstr "~·~ÐÚàëâì"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "ÀÕÖØÜ ÑëáâàÞÓÞ ßÕàÕåÞÔÐ ÐÚâØÒØàÞÒÐÝ"
diff --git a/po/scummvm.pot b/po/scummvm.pot
index 0e2dd2c49b..5f8844992f 100644
--- a/po/scummvm.pot
+++ b/po/scummvm.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.2.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -1092,6 +1092,30 @@ msgstr ""
msgid "~C~lose"
msgstr ""
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 9350f800f7..d8d7c7ba30 100644
--- a/po/uk_UA.po
+++ b/po/uk_UA.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM VERSION\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-13 11:29+0200\n"
+"POT-Creation-Date: 2010-09-15 23:40+0100\n"
"PO-Revision-Date: 2010-07-30 22:19+0100\n"
"Last-Translator: Lubomyr Lisen\n"
"Language-Team: Ukrainian\n"
@@ -1153,6 +1153,30 @@ msgstr "~½~Ðáâ"
msgid "~C~lose"
msgstr "~·~ÐÚàØâØ"
+#: engines/scumm/scumm.cpp:2171 engines/agos/saveload.cpp:192
+#, c-format
+msgid ""
+"Failed to save game state to file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2178 engines/agos/saveload.cpp:157
+#, c-format
+msgid ""
+"Failed to load game state from file:\n"
+"\n"
+"%s"
+msgstr ""
+
+#: engines/scumm/scumm.cpp:2190 engines/agos/saveload.cpp:200
+#, c-format
+msgid ""
+"Successfully saved game state in file:\n"
+"\n"
+"%s"
+msgstr ""
+
#: engines/mohawk/dialogs.cpp:81 engines/mohawk/dialogs.cpp:115
msgid "~Z~ip Mode Activated"
msgstr "ÀÕÖØÜ èÒØÔÚÞÓÞ ßÕàÕåÞÔã ÐÚâØÒÞÒÐÝØÙ"