summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:33:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-23 12:33:35 +0200
commit71b93a446de83d4f8582a60f809f0108afc95add (patch)
tree84360b5031a8e0000670f5b7f9ad240d65a5be07 /src
parent88fcfb66c97c094c346b7221229d68b245836c3c (diff)
Added Turkish UI language
IssueID #396
Diffstat (limited to 'src')
-rw-r--r--src/lang.c1
-rw-r--r--src/resources.c2
-rw-r--r--src/resources.h1
-rw-r--r--src/ui/util.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/src/lang.c b/src/lang.c
index 0bafb42b..905601ca 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -103,6 +103,7 @@ static void load_Lang_(iLang *d, const char *id) {
103 : equal_CStr(id, "sk") ? &blobSk_Resources 103 : equal_CStr(id, "sk") ? &blobSk_Resources
104 : equal_CStr(id, "sr") ? &blobSr_Resources 104 : equal_CStr(id, "sr") ? &blobSr_Resources
105 : equal_CStr(id, "tok") ? &blobTok_Resources 105 : equal_CStr(id, "tok") ? &blobTok_Resources
106 : equal_CStr(id, "tr") ? &blobTr_Resources
106 : equal_CStr(id, "uk") ? &blobUk_Resources 107 : equal_CStr(id, "uk") ? &blobUk_Resources
107 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Resources 108 : equal_CStr(id, "zh_Hans") ? &blobZh_Hans_Resources
108 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Resources 109 : equal_CStr(id, "zh_Hant") ? &blobZh_Hant_Resources
diff --git a/src/resources.c b/src/resources.c
index 24fbe214..c60a2916 100644
--- a/src/resources.c
+++ b/src/resources.c
@@ -51,6 +51,7 @@ iBlock blobRu_Resources;
51iBlock blobSk_Resources; 51iBlock blobSk_Resources;
52iBlock blobSr_Resources; 52iBlock blobSr_Resources;
53iBlock blobTok_Resources; 53iBlock blobTok_Resources;
54iBlock blobTr_Resources;
54iBlock blobUk_Resources; 55iBlock blobUk_Resources;
55iBlock blobZh_Hans_Resources; 56iBlock blobZh_Hans_Resources;
56iBlock blobZh_Hant_Resources; 57iBlock blobZh_Hant_Resources;
@@ -85,6 +86,7 @@ static struct {
85 { &blobSk_Resources, "lang/sk.bin" }, 86 { &blobSk_Resources, "lang/sk.bin" },
86 { &blobSr_Resources, "lang/sr.bin" }, 87 { &blobSr_Resources, "lang/sr.bin" },
87 { &blobTok_Resources, "lang/tok.bin" }, 88 { &blobTok_Resources, "lang/tok.bin" },
89 { &blobTr_Resources, "lang/tr.bin" },
88 { &blobUk_Resources, "lang/uk.bin" }, 90 { &blobUk_Resources, "lang/uk.bin" },
89 { &blobZh_Hans_Resources, "lang/zh_Hans.bin" }, 91 { &blobZh_Hans_Resources, "lang/zh_Hans.bin" },
90 { &blobZh_Hant_Resources, "lang/zh_Hant.bin" }, 92 { &blobZh_Hant_Resources, "lang/zh_Hant.bin" },
diff --git a/src/resources.h b/src/resources.h
index df5cac36..b00fde51 100644
--- a/src/resources.h
+++ b/src/resources.h
@@ -55,6 +55,7 @@ extern iBlock blobRu_Resources;
55extern iBlock blobSk_Resources; 55extern iBlock blobSk_Resources;
56extern iBlock blobSr_Resources; 56extern iBlock blobSr_Resources;
57extern iBlock blobTok_Resources; 57extern iBlock blobTok_Resources;
58extern iBlock blobTr_Resources;
58extern iBlock blobUk_Resources; 59extern iBlock blobUk_Resources;
59extern iBlock blobZh_Hans_Resources; 60extern iBlock blobZh_Hans_Resources;
60extern iBlock blobZh_Hant_Resources; 61extern iBlock blobZh_Hant_Resources;
diff --git a/src/ui/util.c b/src/ui/util.c
index e718631d..bc9c2825 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -2237,6 +2237,7 @@ iWidget *makePreferences_Widget(void) {
2237 { u8"Slovak - sk", 0, 0, "uilang id:sk" }, 2237 { u8"Slovak - sk", 0, 0, "uilang id:sk" },
2238 { u8"Српски - sr", 0, 0, "uilang id:sr" }, 2238 { u8"Српски - sr", 0, 0, "uilang id:sr" },
2239 { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, 2239 { u8"Toki pona - tok", 0, 0, "uilang id:tok" },
2240 { u8"Türkçe - tr", 0, 0, "uilang id:tr" },
2240 { u8"Українська - uk", 0, 0, "uilang id:uk" }, 2241 { u8"Українська - uk", 0, 0, "uilang id:uk" },
2241 { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, 2242 { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" },
2242 { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, 2243 { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" },