From f7a0dcd34e10052d1482adb3360c5e2949ffeaa2 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 30 Oct 2021 09:29:22 +0300 Subject: Added Ukrainian UI translation Kudos to Alyssa Liddell for a 100% translation. --- src/lang.c | 3 ++- src/ui/util.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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) { : equal_CStr(id, "sk") ? &blobSk_Embedded : equal_CStr(id, "sr") ? &blobSr_Embedded : equal_CStr(id, "tok") ? &blobTok_Embedded + : equal_CStr(id, "uk") ? &blobUk_Embedded : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Embedded : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Embedded : &blobEn_Embedded; - if (data == &blobRu_Embedded || data == &blobSr_Embedded) { + if (data == &blobRu_Embedded || data == &blobSr_Embedded || data == &blobUk_Embedded) { d->pluralType = slavic_PluralType; } 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) { { "${lang.sk} - sk", 0, 0, "uilang id:sk" }, { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, { "${lang.tok} - tok", 0, 0, "uilang id:tok" }, + { "${lang.uk} - uk", 0, 0, "uilang id:uk" }, { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" }, { NULL } }; -- cgit v1.2.3