diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-24 15:01:49 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-24 15:01:49 +0200 |
commit | 487187fbda0653266860813c6f36515e04df8619 (patch) | |
tree | 4fc893f2ed78c29eb6c91a68ed06620c175d1837 | |
parent | d462e946b75d23a038945bebc725432cce3ee561 (diff) |
Lang: Added the German .bin resource
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/lang.c | 1 |
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 |
@@ -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++) { |