diff options
author | Piotr Dziwiński <piotrdz@gmail.com> | 2012-12-29 02:43:00 -0800 |
---|---|---|
committer | Piotr Dziwiński <piotrdz@gmail.com> | 2012-12-29 02:43:00 -0800 |
commit | 89296b20bdf3c8f3eed45f7a5eeda3b1e207d2b7 (patch) | |
tree | 53817bb71f0b77752bbd506c79ac2620e61d183f /src/ui/maindialog.cpp | |
parent | 3e4c1a1ad88456ebf201b257b91847bd995c8773 (diff) | |
parent | 1b4208cdc5143cfc8f46da063a1a991795d7f307 (diff) | |
download | colobot-89296b20bdf3c8f3eed45f7a5eeda3b1e207d2b7.tar.gz colobot-89296b20bdf3c8f3eed45f7a5eeda3b1e207d2b7.tar.bz2 colobot-89296b20bdf3c8f3eed45f7a5eeda3b1e207d2b7.zip |
Merge pull request #109 from OdyX/dev-more-language-fixes
Some more language fixes
Diffstat (limited to 'src/ui/maindialog.cpp')
-rw-r--r-- | src/ui/maindialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index ebf7d10..68e7854 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -4305,8 +4305,8 @@ void CMainDialog::IOReadName() } } - // TODO: language letters - sprintf(op, "Title.%c", 'E' /*MAX_FNAME()*/ ); + // TODO: Fallback to an non-localized entry + sprintf(op, "Title.%c", m_app->GetLanguageChar() ); if ( Cmd(line, op) ) { OpString(line, "resume", resume); @@ -4701,8 +4701,8 @@ void CMainDialog::UpdateSceneChap(int &chap) } } - /* TODO: language letters */ - sprintf(op, "Title.%c", 'E' /*GetLanguageLetter()*/); + // TODO: Fallback to an non-localized entry + sprintf(op, "Title.%c", m_app->GetLanguageChar()); if ( Cmd(line, op) ) { OpString(line, "text", name); @@ -4748,8 +4748,8 @@ void CMainDialog::UpdateSceneChap(int &chap) } } - // TODO: language letters - sprintf(op, "Title.%c", 'E'/*GetLanguageLetter()*/); + // TODO: Fallback to an non-localized entry + sprintf(op, "Title.%c", m_app->GetLanguageChar()); if ( Cmd(line, op) ) { OpString(line, "text", name); @@ -4851,8 +4851,8 @@ void CMainDialog::UpdateSceneList(int chap, int &sel) } } - // TODO: language letters - sprintf(op, "Title.%c", 'E' /*MAX_FNAME()*/); + // TODO: Fallback to an non-localized entry + sprintf(op, "Title.%c", m_app->GetLanguageChar()); if ( Cmd(line, op) ) { OpString(line, "text", name); @@ -4996,8 +4996,8 @@ void CMainDialog::UpdateSceneResume(int rank) } } - // TODO: language letters - sprintf(op, "Resume.%c", 'E' /*MAX_FNAME()*/); + // TODO: Fallback to an non-localized entry + sprintf(op, "Resume.%c", m_app->GetLanguageChar()); if ( Cmd(line, op) ) { OpString(line, "text", name); |