summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-24 15:01:49 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-24 15:01:49 +0200
commit487187fbda0653266860813c6f36515e04df8619 (patch)
tree4fc893f2ed78c29eb6c91a68ed06620c175d1837
parentd462e946b75d23a038945bebc725432cce3ee561 (diff)
Lang: Added the German .bin resource
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/lang.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 429efb4e..0741d465 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,7 @@ set (EMBED_RESOURCES
73 res/fonts/SourceSansPro-Regular.ttf 73 res/fonts/SourceSansPro-Regular.ttf
74 res/fonts/SourceSansPro-Bold.ttf 74 res/fonts/SourceSansPro-Bold.ttf
75 res/fonts/Symbola.ttf 75 res/fonts/Symbola.ttf
76 res/lang/de.bin
76 res/lang/en.bin 77 res/lang/en.bin
77 res/lang/fi.bin 78 res/lang/fi.bin
78 res/lang/ru.bin 79 res/lang/ru.bin
diff --git a/src/lang.c b/src/lang.c
index 60eee06a..be8ad9d1 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -34,6 +34,7 @@ static void load_Lang_(iLang *d, const char *id) {
34 iUnused(id); 34 iUnused(id);
35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded 35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
36 : equal_CStr(id, "ru") ? &blobRu_Embedded 36 : equal_CStr(id, "ru") ? &blobRu_Embedded
37 : equal_CStr(id, "de") ? &blobDe_Embedded
37 : &blobEn_Embedded; 38 : &blobEn_Embedded;
38 iMsgStr msg; 39 iMsgStr msg;
39 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) { 40 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) {