summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-04 22:08:16 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-04 22:08:16 +0200
commit85cdf58f7e24d209dcf8457b698731001e32e24f (patch)
treeaaaf38da9097c66c7c8287adad9bb620058396d3 /src
parentda1a753aef8822193185feed29c6716514b54dd8 (diff)
Added Czech UI translation
Diffstat (limited to 'src')
-rw-r--r--src/lang.c3
-rw-r--r--src/ui/util.c3
2 files changed, 4 insertions, 2 deletions
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) {
88 iUnused(id); 88 iUnused(id);
89 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded 89 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
90 : equal_CStr(id, "fr") ? &blobFr_Embedded 90 : equal_CStr(id, "fr") ? &blobFr_Embedded
91 : equal_CStr(id, "cs") ? &blobCs_Embedded
91 : equal_CStr(id, "ru") ? &blobRu_Embedded 92 : equal_CStr(id, "ru") ? &blobRu_Embedded
92 : equal_CStr(id, "eo") ? &blobEo_Embedded 93 : equal_CStr(id, "eo") ? &blobEo_Embedded
93 : equal_CStr(id, "es") ? &blobEs_Embedded 94 : equal_CStr(id, "es") ? &blobEs_Embedded
@@ -112,7 +113,7 @@ static void load_Lang_(iLang *d, const char *id) {
112 else if (data == &blobIsv_Embedded) { 113 else if (data == &blobIsv_Embedded) {
113 d->pluralType = oneTwoMany_PluralType; 114 d->pluralType = oneTwoMany_PluralType;
114 } 115 }
115 else if (data == &blobSk_Embedded) { 116 else if (data == &blobCs_Embedded || data == &blobSk_Embedded) {
116 d->pluralType = oneFewMany_PluralType; 117 d->pluralType = oneFewMany_PluralType;
117 } 118 }
118 else if (data == &blobPl_Embedded) { 119 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,
2199 2199
2200iWidget *makePreferences_Widget(void) { 2200iWidget *makePreferences_Widget(void) {
2201 /* Common items. */ 2201 /* Common items. */
2202 const iMenuItem langItems[] = { { "${lang.de} - de", 0, 0, "uilang id:de" }, 2202 const iMenuItem langItems[] = { { "${lang.cs} - cs", 0, 0, "uilang id:cs" },
2203 { "${lang.de} - de", 0, 0, "uilang id:de" },
2203 { "${lang.en} - en", 0, 0, "uilang id:en" }, 2204 { "${lang.en} - en", 0, 0, "uilang id:en" },
2204 { "${lang.es} - es", 0, 0, "uilang id:es" }, 2205 { "${lang.es} - es", 0, 0, "uilang id:es" },
2205 { "${lang.es.mx} - es", 0, 0, "uilang id:es_MX" }, 2206 { "${lang.es.mx} - es", 0, 0, "uilang id:es_MX" },