aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2010-10-01 21:41:40 +0000
committerThierry Crozat2010-10-01 21:41:40 +0000
commit1177692701ccfef3eee94ab092a606c0da631566 (patch)
treeae638aa71677d99c9e7f6cec8a86136b1e841eae
parent5541af78b1b3ec506fcdd03c96104c4b10168742 (diff)
downloadscummvm-rg350-1177692701ccfef3eee94ab092a606c0da631566.tar.gz
scummvm-rg350-1177692701ccfef3eee94ab092a606c0da631566.tar.bz2
scummvm-rg350-1177692701ccfef3eee94ab092a606c0da631566.zip
GUI: Fix bug #3075649 (Fonts not found with built-in theme)
When switching to a theme that do not have the fonts needed to properly display the current language, it now revert to the previously used theme and display an error message telling the user to change the language first if he wants to use the theme he selected. svn-id: r52969
-rw-r--r--common/translation.cpp10
-rw-r--r--common/translation.h5
-rw-r--r--gui/options.cpp17
-rw-r--r--gui/themes/translations.datbin78176 -> 79078 bytes
-rw-r--r--po/ca_ES.po24
-rw-r--r--po/de_DE.po24
-rw-r--r--po/es_ES.po24
-rw-r--r--po/fr_FR.po43
-rw-r--r--po/hu_HU.po24
-rw-r--r--po/it_IT.po24
-rw-r--r--po/ru_RU.po24
-rw-r--r--po/scummvm.pot24
-rw-r--r--po/uk_UA.po24
13 files changed, 172 insertions, 95 deletions
diff --git a/common/translation.cpp b/common/translation.cpp
index 1328ed62d2..b81deb6058 100644
--- a/common/translation.cpp
+++ b/common/translation.cpp
@@ -213,6 +213,12 @@ const char *TranslationManager::getCurrentCharset() {
return _currentCharset.c_str();
}
+const char *TranslationManager::getCurrentLanguage() {
+ if (_currentLang == -1)
+ return "C";
+ return _langs[_currentLang].c_str();
+}
+
String TranslationManager::getTranslation(const String &message) {
return getTranslation(message.c_str());
}
@@ -471,6 +477,10 @@ const TLangArray TranslationManager::getSupportedLanguageNames() const {
const char *TranslationManager::getCurrentCharset() {
return "ASCII";
}
+
+const char *TranslationManager::getCurrentLanguage() {
+ return "C";
+}
#endif // USE_TRANSLATION
diff --git a/common/translation.h b/common/translation.h
index 57c4cc2ac8..d6db5d5077 100644
--- a/common/translation.h
+++ b/common/translation.h
@@ -151,6 +151,11 @@ public:
*/
const char *getCurrentCharset();
+ /**
+ * Returns currently selected translation language
+ */
+ const char *getCurrentLanguage();
+
private:
#ifdef USE_TRANSLATION
/**
diff --git a/gui/options.cpp b/gui/options.cpp
index b02200b47e..e497da9942 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -1281,19 +1281,20 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
Common::String theme = browser.getSelected();
// FIXME: Actually, any changes (including the theme change) should
// only become active *after* the options dialog has closed.
- Common::String charset = TransMan.getCurrentCharset();
+ Common::String lang = TransMan.getCurrentLanguage();
+ Common::String oldTheme = g_gui.theme()->getThemeId();
if (g_gui.loadNewTheme(theme)) {
- _curTheme->setLabel(g_gui.theme()->getThemeName());
- ConfMan.set("gui_theme", theme);
// If the charset has changed, it means the font were not found for the
// new theme. Since for the moment we do not support change of translation
// language without restarting, we let the user know about this.
- if (charset != TransMan.getCurrentCharset()) {
- MessageDialog error(
- "The theme you selected does not support your current language. You need to close "
- "ScummVM and when you start it again it will be using this new theme and english language."
- );
+ if (lang != TransMan.getCurrentLanguage()) {
+ TransMan.setLanguage(lang.c_str());
+ g_gui.loadNewTheme(oldTheme);
+ MessageDialog error(_("The theme you selected does not support your current language. If you want to use this theme you need to switch to another language first."));
error.runModal();
+ } else {
+ _curTheme->setLabel(g_gui.theme()->getThemeName());
+ ConfMan.set("gui_theme", theme);
}
}
draw();
diff --git a/gui/themes/translations.dat b/gui/themes/translations.dat
index 2d658b12df..b4b854aba1 100644
--- a/gui/themes/translations.dat
+++ b/gui/themes/translations.dat
Binary files differ
diff --git a/po/ca_ES.po b/po/ca_ES.po
index bba1317560..d8ff9712d8 100644
--- a/po/ca_ES.po
+++ b/po/ca_ES.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.3.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-09-21 23:12+0100\n"
"Last-Translator: Jordi Vilalta Prat <jvprat@jvprat.com>\n"
"Language-Team: Catalan <scummvm-devel@lists.sf.net>\n"
@@ -877,6 +877,12 @@ msgstr "Seleccioneu el directori dels fitxers extra"
msgid "Select directory for plugins"
msgstr "Seleccioneu el directori dels connectors"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "No hi ha data desada"
@@ -917,28 +923,28 @@ msgstr "Partida sense títol"
msgid "Select a Theme"
msgstr "Seleccioneu un Tema"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "GFX desactivats"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "GFX desactivats"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "Pintat estàndard (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "Estàndard (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "Pintat amb antialias (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "Amb antialias (16bpp)"
@@ -1312,11 +1318,11 @@ msgstr "Alta qualitat d'àudio (més lent) (reiniciar)"
msgid "Disable power off"
msgstr "Desactiva l'apagat automàtic"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "Mode Touchpad activat."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "Mode Touchpad desactivat."
diff --git a/po/de_DE.po b/po/de_DE.po
index c65b07b09a..57d370ed5e 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-09-17 08:05+0100\n"
"Last-Translator: Simon Sawatzki <SimSaw@gmx.de>\n"
"Language-Team: Lothar Serra Mari <Lothar@Windowsbase.de> & Simon Sawatzki "
@@ -881,6 +881,12 @@ msgstr "Verzeichnis für zusätzliche Dateien auswählen"
msgid "Select directory for plugins"
msgstr "Verzeichnis für Erweiterungen auswählen"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "Kein Datum gespeichert"
@@ -921,28 +927,28 @@ msgstr "Unbenannt"
msgid "Select a Theme"
msgstr "Thema auswählen"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "GFX ausgeschaltet"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "GFX ausgeschaltet"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "Standard-Renderer (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "Standard (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "Kantenglättung (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "Kantenglättung (16bpp)"
@@ -1316,11 +1322,11 @@ msgstr "Hohe Audioqualität (lansamer) (erfordert Neustart)"
msgid "Disable power off"
msgstr "Stromsparmodus abschalten"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "Touchpad-Modus aktiviert."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "Touchpad-Modus ausgeschaltet."
diff --git a/po/es_ES.po b/po/es_ES.po
index 83fd618a7d..87048f981c 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-09-25 17:11+0100\n"
"Last-Translator: Tomás Maidagan\n"
"Language-Team: \n"
@@ -873,6 +873,12 @@ msgstr "Selecciona el directorio adicional"
msgid "Select directory for plugins"
msgstr "Selecciona el directorio de plugins"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "No hay fecha guardada"
@@ -913,28 +919,28 @@ msgstr "Partida sin nombre"
msgid "Select a Theme"
msgstr "Selecciona un tema"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "GFX desactivados"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "GFX desactivados"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "Estándar (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "Estándar (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "Suavizado (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "Suavizado (16bpp)"
@@ -1308,11 +1314,11 @@ msgstr "Sonido de alta calidad (más lento) (reinicio)"
msgid "Disable power off"
msgstr "Desactivar apagado"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "Modo Touchpad activado."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "Modo Touchpad desactivado."
diff --git a/po/fr_FR.po b/po/fr_FR.po
index 239506a662..fc86d65da9 100644
--- a/po/fr_FR.po
+++ b/po/fr_FR.po
@@ -7,8 +7,8 @@ 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-26 22:02+0100\n"
-"PO-Revision-Date: 2010-09-19 23:54+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
+"PO-Revision-Date: 2010-10-01 22:12+0100\n"
"Last-Translator: Thierry Crozat <criezy@scummvm.org>\n"
"Language-Team: French <scummvm-devel@lists.sf.net>\n"
"Language: Francais\n"
@@ -878,6 +878,14 @@ msgstr "Sélectionner le répertoire pour les fichiers suplémentaires"
msgid "Select directory for plugins"
msgstr "Sélectionner le répertoire des plugins"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+"Le thème que vous avez sélectioné ne support pas la langue française. Si "
+"vous voulez l'utiliser vous devez d'abord changer de langue."
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "Date inconnue"
@@ -918,28 +926,28 @@ msgstr "Sauvegarde sans nom"
msgid "Select a Theme"
msgstr "Sélectionnez un Thème"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "GFX désactivé"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "GFX désactivé"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "Rendu Standard (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "Standard (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "Rendu Anti-crénelé (16 bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "Anti-crénelé (16 bpp)"
@@ -1313,11 +1321,11 @@ msgstr "Audio haute qualité (plus lent) (redémarrer)"
msgid "Disable power off"
msgstr "Désactivé l'extinction"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "Mode touchpad activé"
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "Mode touchpad désactivé"
@@ -1625,34 +1633,39 @@ msgid "Do you want to perform an automatic scan ?"
msgstr "Voulez-vous exécuter une recherche automatique?"
#: backends/platform/wince/wince-sdl.cpp:990
-#, fuzzy
msgid "Map right click action"
-msgstr "Clic droit"
+msgstr "Affecter l'action 'Clic Droit'"
#: backends/platform/wince/wince-sdl.cpp:994
msgid "You must map a key to the 'Right Click' action to play this game"
msgstr ""
+"Vous devez affecter une touche à l'action de 'Clic Droit' pour pouvoir jouer "
+"à ce jeu"
#: backends/platform/wince/wince-sdl.cpp:1003
msgid "Map hide toolbar action"
-msgstr ""
+msgstr "Affecter l'action 'Cacher Bar d'Outils'"
#: backends/platform/wince/wince-sdl.cpp:1007
msgid "You must map a key to the 'Hide toolbar' action to play this game"
msgstr ""
+"Vous devez affecter une touche à l'action 'Cacher Bar d'Outils' pour pouvoir "
+"jouer à ce jeu"
#: backends/platform/wince/wince-sdl.cpp:1016
msgid "Map Zoom Up action (optional)"
-msgstr ""
+msgstr "Affecter l'action 'Dézoomer' (optionnelle)"
#: backends/platform/wince/wince-sdl.cpp:1019
msgid "Map Zoom Down action (optional)"
-msgstr ""
+msgstr "Affecter l'action 'Zoomer' (optionnelle)"
#: backends/platform/wince/wince-sdl.cpp:1027
msgid ""
"Don't forget to map a key to 'Hide Toolbar' action to see the whole inventory"
msgstr ""
+"Noubliez pas d'affecter une touche à l'action 'Cacher Bar d'Outils' pour "
+"pouvoir voir entièrement l'inventaire"
#~ msgid "Save Path: "
#~ msgstr "Sauvegardes:"
diff --git a/po/hu_HU.po b/po/hu_HU.po
index fabf47ab59..3119f385fa 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2009-11-25 07:42-0500\n"
"Last-Translator: Alex Bevilacqua <alexbevi@gmail.com>\n"
"Language-Team: Hungarian\n"
@@ -879,6 +879,12 @@ msgstr ""
msgid "Select directory for plugins"
msgstr ""
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr ""
@@ -920,28 +926,28 @@ msgstr ""
msgid "Select a Theme"
msgstr ""
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr ""
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr ""
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr ""
@@ -1314,11 +1320,11 @@ msgstr ""
msgid "Disable power off"
msgstr ""
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr ""
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr ""
diff --git a/po/it_IT.po b/po/it_IT.po
index aa057d275b..b478eb1e8c 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-09-21 19:33+0100\n"
"Last-Translator: Matteo 'Maff' Angelino <matteo.maff at gmail dot com>\n"
"Language-Team: Italian\n"
@@ -873,6 +873,12 @@ msgstr "Seleziona la cartella dei file aggiuntivi"
msgid "Select directory for plugins"
msgstr "Seleziona la cartella dei plugin"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "Nessuna data salvata"
@@ -913,28 +919,28 @@ msgstr "Salvataggio senza titolo"
msgid "Select a Theme"
msgstr "Seleziona un tema"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "Grafica disattivata"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "Grafica disattivata"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "Renderer standard (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "Standard (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "Renderer con antialiasing (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "Con antialiasing (16bpp)"
@@ -1309,11 +1315,11 @@ msgstr "Audio ad alta qualità (più lento) (riavviare)"
msgid "Disable power off"
msgstr "Disattiva spegnimento in chiusura"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "Modalità touchpad attivata."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "Modalità touchpad disattivata."
diff --git a/po/ru_RU.po b/po/ru_RU.po
index 73fbf08989..be0b7073ae 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-06-13 20:55+0300\n"
"Last-Translator: Eugene Sandulenko <sev@scummvm.org>\n"
"Language-Team: Russian\n"
@@ -883,6 +883,12 @@ msgstr "²ëÑÕàØâÕ ÔØàÕÚâÞàØî á ÔÞßÞÛÝØâÕÛìÝëÜØ äÐÙÛÐÜØ"
msgid "Select directory for plugins"
msgstr "²ëÑÕàØâÕ ÔØàÕÚâÞàØî á ßÛÐÓØÝÐÜØ"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "´ÐâÐ ÝÕ ×ÐߨáÐÝÐ"
@@ -923,30 +929,30 @@ msgstr "ÁÞåàÐÝÕÝØÕ ÑÕ× ØÜÕÝØ"
msgid "Select a Theme"
msgstr "²ëÑÕàØâÕ âÕÜã"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "±Õ× ÓàÐäØÚØ"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
#, fuzzy
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "±Õ× ÓàÐäØÚØ"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "ÁâÐÝÔÐàâÝëÙ àÐáâÕàØ×ÐâÞà (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
#, fuzzy
msgid "Standard (16bpp)"
msgstr "ÁâÐÝÔÐàâÝëÙ àÐáâÕàØ×ÐâÞà (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "ÀÐáâÕàØ×ÐâÞà áÞ áÓÛÐÖØÒÐÝØÕÜ (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
#, fuzzy
msgid "Antialiased (16bpp)"
msgstr "ÀÐáâÕàØ×ÐâÞà áÞ áÓÛÐÖØÒÐÝØÕÜ (16bpp)"
@@ -1313,11 +1319,11 @@ msgstr "²ëáÞÚÞÕ ÚÐçÕáâÒÞ ×ÒãÚÐ (ÜÕÔÛÕÝÝÕÕ) (àÕÑãâ)"
msgid "Disable power off"
msgstr "·ÐßàÕâØâì ÒëÚÛîçÕÝØÕ"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "ÀÕÖØÜ âÐçßÐÔÐ ÒÚÛîçÕÝ."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "ÀÕÖØÜ âÐçßÐÔÐ ÒëÚÛîçÕÝ."
diff --git a/po/scummvm.pot b/po/scummvm.pot
index 8b48118212..4a3aa064a3 100644
--- a/po/scummvm.pot
+++ b/po/scummvm.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ScummVM 1.3.0svn\n"
"Report-Msgid-Bugs-To: scummvm-devel@lists.sf.net\n"
-"POT-Creation-Date: 2010-09-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+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"
@@ -855,6 +855,12 @@ msgstr ""
msgid "Select directory for plugins"
msgstr ""
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr ""
@@ -895,28 +901,28 @@ msgstr ""
msgid "Select a Theme"
msgstr ""
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr ""
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr ""
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr ""
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr ""
@@ -1281,11 +1287,11 @@ msgstr ""
msgid "Disable power off"
msgstr ""
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr ""
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr ""
diff --git a/po/uk_UA.po b/po/uk_UA.po
index 8768fcc113..2db4abe59f 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-26 22:02+0100\n"
+"POT-Creation-Date: 2010-10-01 22:28+0100\n"
"PO-Revision-Date: 2010-09-21 18:46+0200\n"
"Last-Translator: Lubomyr Lisen\n"
"Language-Team: Ukrainian\n"
@@ -872,6 +872,12 @@ msgstr "²ØÑÕàöâì ßÐßÚã × ÔÞÔÐâÚÞÒØÜØ äÐÙÛÐÜØ"
msgid "Select directory for plugins"
msgstr "²ØÑÕàöâì ßÐßÚã × ßÛÐÓØÝÐÜØ"
+#: gui/options.cpp:1293
+msgid ""
+"The theme you selected does not support your current language. If you want "
+"to use this theme you need to switch to another language first."
+msgstr ""
+
#: gui/saveload.cpp:60 gui/saveload.cpp:241
msgid "No date saved"
msgstr "´ÐâÐ ÝÕ ×ÐߨáÐÝÐ"
@@ -912,28 +918,28 @@ msgstr "·ÑÕàÕÖÕÝÝï ÑÕ× öÜÕÝö"
msgid "Select a Theme"
msgstr "²ØÑÕàöâì âÕÜã"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgid "Disabled GFX"
msgstr "±Õ× ÓàÐäöÚØ"
-#: gui/ThemeEngine.cpp:334
+#: gui/ThemeEngine.cpp:332
msgctxt "lowres"
msgid "Disabled GFX"
msgstr "±Õ× ÓàÐäöÚØ"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard Renderer (16bpp)"
msgstr "ÁâÐÝÔÐàâÝØÙ àÐáâÕàØ×ÐâÞà (16bpp)"
-#: gui/ThemeEngine.cpp:335
+#: gui/ThemeEngine.cpp:333
msgid "Standard (16bpp)"
msgstr "ÁâÐÝÔÐàâÝØÙ àÐáâÕàØ×ÐâÞà (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased Renderer (16bpp)"
msgstr "ÀÐáâÕàØ×ÐâÞà ×ö ×ÓÛÐÔÖãÒÐÝÝïÜ (16bpp)"
-#: gui/ThemeEngine.cpp:337
+#: gui/ThemeEngine.cpp:335
msgid "Antialiased (16bpp)"
msgstr "ÀÐáâÕàØ×ÐâÞà ×ö ×ÓÛÐÔÖãÒÐÝÝïÜ (16bpp)"
@@ -1307,11 +1313,11 @@ msgstr "²ØáÞÚÐ ïÚöáâì ×ÒãÚã (ßÞÒöÛìÝöèÕ) (àÕÑãâ)"
msgid "Disable power off"
msgstr "·ÐÑÞàÞÝØâØ ÒØÜÚÝÕÝÝï"
-#: backends/platform/iphone/osys_events.cpp:339
+#: backends/platform/iphone/osys_events.cpp:357
msgid "Touchpad mode enabled."
msgstr "ÀÕÖØÜ âÐçßÐÔã ãÒöÜÚÝÕÝØÙ."
-#: backends/platform/iphone/osys_events.cpp:341
+#: backends/platform/iphone/osys_events.cpp:359
msgid "Touchpad mode disabled."
msgstr "ÀÕÖØÜ âÐçßÐÔã ÒØÜÚÝÕÝØÙ."