From 85cdf58f7e24d209dcf8457b698731001e32e24f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 4 Nov 2021 22:08:16 +0200 Subject: Added Czech UI translation --- src/lang.c | 3 ++- src/ui/util.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lang.c b/src/lang.c index 3492cc9b..7b00f172 100644 --- a/src/lang.c +++ b/src/lang.c @@ -88,6 +88,7 @@ static void load_Lang_(iLang *d, const char *id) { iUnused(id); const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded : equal_CStr(id, "fr") ? &blobFr_Embedded + : equal_CStr(id, "cs") ? &blobCs_Embedded : equal_CStr(id, "ru") ? &blobRu_Embedded : equal_CStr(id, "eo") ? &blobEo_Embedded : equal_CStr(id, "es") ? &blobEs_Embedded @@ -112,7 +113,7 @@ static void load_Lang_(iLang *d, const char *id) { else if (data == &blobIsv_Embedded) { d->pluralType = oneTwoMany_PluralType; } - else if (data == &blobSk_Embedded) { + else if (data == &blobCs_Embedded || data == &blobSk_Embedded) { d->pluralType = oneFewMany_PluralType; } else if (data == &blobPl_Embedded) { diff --git a/src/ui/util.c b/src/ui/util.c index 5a58551b..760bf48f 100644 --- a/src/ui/util.c +++ b/src/ui/util.c @@ -2199,7 +2199,8 @@ iWidget *makeDialog_Widget(const char *id, iWidget *makePreferences_Widget(void) { /* Common items. */ - const iMenuItem langItems[] = { { "${lang.de} - de", 0, 0, "uilang id:de" }, + const iMenuItem langItems[] = { { "${lang.cs} - cs", 0, 0, "uilang id:cs" }, + { "${lang.de} - de", 0, 0, "uilang id:de" }, { "${lang.en} - en", 0, 0, "uilang id:en" }, { "${lang.es} - es", 0, 0, "uilang id:es" }, { "${lang.es.mx} - es", 0, 0, "uilang id:es_MX" }, -- cgit v1.2.3