diff options
author | Thierry Crozat | 2010-07-31 15:46:43 +0000 |
---|---|---|
committer | Thierry Crozat | 2010-07-31 15:46:43 +0000 |
commit | 1c6b339bbc2f9ee0624f7777e5950417a66a3286 (patch) | |
tree | 6ac38a5997bca3ec26bd831388cfac2f532ea54e /gui | |
parent | 5ea840283934938110f21fc04e3071b94c076765 (diff) | |
download | scummvm-rg350-1c6b339bbc2f9ee0624f7777e5950417a66a3286.tar.gz scummvm-rg350-1c6b339bbc2f9ee0624f7777e5950417a66a3286.tar.bz2 scummvm-rg350-1c6b339bbc2f9ee0624f7777e5950417a66a3286.zip |
i18n: use user friendly language names in GUI
The GUI now uses the content of the Language field from the po file
header if it is present and not empty for the language selection
PopupWidget. If not present it uses the file name as before (e.g.
ru_RU).
Also update all the translation template and all the translation files.
svn-id: r51542
Diffstat (limited to 'gui')
-rw-r--r-- | gui/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index d3bda228a7..072b20b393 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1001,7 +1001,7 @@ GlobalOptionsDialog::GlobalOptionsDialog() #endif // USE_DETECTLANG _guiLanguagePopUp->appendEntry(_("English"), Common::kTranslationBuiltinId); _guiLanguagePopUp->appendEntry("", 0); - Common::TLangArray languages = TransMan.getSupportedLanguages(); + Common::TLangArray languages = TransMan.getSupportedLanguageNames(); Common::TLangArray::iterator lang = languages.begin(); while (lang != languages.end()) { _guiLanguagePopUp->appendEntry(lang->name, lang->id); |