summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lang.c4
-rw-r--r--src/ui/util.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lang.c b/src/lang.c
index db28e318..f85d193a 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -32,7 +32,9 @@ static void clear_Lang_(iLang *d) {
32static void load_Lang_(iLang *d, const char *id) { 32static void load_Lang_(iLang *d, const char *id) {
33 /* Load compiled language strings from an embedded blob. */ 33 /* Load compiled language strings from an embedded blob. */
34 iUnused(id); 34 iUnused(id);
35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded : &blobEn_Embedded; 35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
36 : equal_CStr(id, "ru") ? &blobRu_Embedded
37 : &blobEn_Embedded;
36 iMsgStr msg; 38 iMsgStr msg;
37 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) { 39 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) {
38 msg.id.start = ptr; 40 msg.id.start = ptr;
diff --git a/src/ui/util.c b/src/ui/util.c
index 8c0b0138..d61601f5 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1830,6 +1830,7 @@ iWidget *makePreferences_Widget(void) {
1830 const iMenuItem langItems[] = { 1830 const iMenuItem langItems[] = {
1831 { "${lang.en}", 0, 0, "uilang id:en" }, 1831 { "${lang.en}", 0, 0, "uilang id:en" },
1832 { "${lang.fi}", 0, 0, "uilang id:fi" }, 1832 { "${lang.fi}", 0, 0, "uilang id:fi" },
1833 //{ "${lang.ru}", 0, 0, "uilang id:ru" },
1833 }; 1834 };
1834 pushBackN_Array(uiLangs, langItems, iElemCount(langItems)); 1835 pushBackN_Array(uiLangs, langItems, iElemCount(langItems));
1835 sort_Array(uiLangs, cmp_MenuItem_); 1836 sort_Array(uiLangs, cmp_MenuItem_);