summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-30 09:29:22 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-30 09:29:22 +0300
commitf7a0dcd34e10052d1482adb3360c5e2949ffeaa2 (patch)
tree59ec20d3734bd23111871f1371eb2e7df68abbd2 /src
parent2a438502ef02fc915ae56f3b008a2b5ca464f469 (diff)
Added Ukrainian UI translation
Kudos to Alyssa Liddell for a 100% translation.
Diffstat (limited to 'src')
-rw-r--r--src/lang.c3
-rw-r--r--src/ui/util.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lang.c b/src/lang.c
index 1dac4201..f54ab2d7 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -100,10 +100,11 @@ static void load_Lang_(iLang *d, const char *id) {
100 : equal_CStr(id, "sk") ? &blobSk_Embedded 100 : equal_CStr(id, "sk") ? &blobSk_Embedded
101 : equal_CStr(id, "sr") ? &blobSr_Embedded 101 : equal_CStr(id, "sr") ? &blobSr_Embedded
102 : equal_CStr(id, "tok") ? &blobTok_Embedded 102 : equal_CStr(id, "tok") ? &blobTok_Embedded
103 : equal_CStr(id, "uk") ? &blobUk_Embedded
103 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded 104 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded
104 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Embedded 105 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Embedded
105 : &blobEn_Embedded; 106 : &blobEn_Embedded;
106 if (data == &blobRu_Embedded || data == &blobSr_Embedded) { 107 if (data == &blobRu_Embedded || data == &blobSr_Embedded || data == &blobUk_Embedded) {
107 d->pluralType = slavic_PluralType; 108 d->pluralType = slavic_PluralType;
108 } 109 }
109 else if (data == &blobIsv_Embedded) { 110 else if (data == &blobIsv_Embedded) {
diff --git a/src/ui/util.c b/src/ui/util.c
index fd1ce571..6d0453ff 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2206,6 +2206,7 @@ iWidget *makePreferences_Widget(void) {
2206 { "${lang.sk} - sk", 0, 0, "uilang id:sk" }, 2206 { "${lang.sk} - sk", 0, 0, "uilang id:sk" },
2207 { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, 2207 { "${lang.sr} - sr", 0, 0, "uilang id:sr" },
2208 { "${lang.tok} - tok", 0, 0, "uilang id:tok" }, 2208 { "${lang.tok} - tok", 0, 0, "uilang id:tok" },
2209 { "${lang.uk} - uk", 0, 0, "uilang id:uk" },
2209 { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, 2210 { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" },
2210 { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" }, 2211 { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" },
2211 { NULL } }; 2212 { NULL } };