summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-12-29 13:00:59 +0100
committererihel <erihel@gmail.com>2012-12-29 13:00:59 +0100
commit03f232f0f675c3bf7f866d1df9be46820111b5c9 (patch)
treecf9810e4298b5927b77062b232b5876f0512eafa /src/ui
parentc9ca8f2b62b4994fa797272aecaf33f23253acae (diff)
parente625665f023c64141e247b1056edf138f1a60c60 (diff)
downloadcolobot-03f232f0f675c3bf7f866d1df9be46820111b5c9.tar.gz
colobot-03f232f0f675c3bf7f866d1df9be46820111b5c9.tar.bz2
colobot-03f232f0f675c3bf7f866d1df9be46820111b5c9.zip
Merge branch 'dev' of github:colobot/colobot into dev
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/maindialog.cpp20
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);