diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-04 15:34:36 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-04 15:34:36 +0200 |
commit | b8b94803b540ec7c43192a42ea9860a6df13c6c4 (patch) | |
tree | 9ceddae2869cb80b91eccb3cd8c5614aae25e864 /src/lang.c | |
parent | 94b0c2e7954bd5222f1909b07301da351d99d6f4 (diff) | |
parent | 882cef9d0d3818bd7d0d4abfb1100ce77ab24886 (diff) |
Merge branch 'dev' into work/v1.9
# Conflicts:
# src/lang.c
Diffstat (limited to 'src/lang.c')
-rw-r--r-- | src/lang.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -84,6 +84,7 @@ static void clear_Lang_(iLang *d) { | |||
84 | 84 | ||
85 | static void load_Lang_(iLang *d, const char *id) { | 85 | static void load_Lang_(iLang *d, const char *id) { |
86 | /* Load compiled language strings from a resource blob. */ | 86 | /* Load compiled language strings from a resource blob. */ |
87 | /* TODO: How about an array for these? (id, blob, pluralType) */ | ||
87 | iUnused(id); | 88 | iUnused(id); |
88 | const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Resources | 89 | const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Resources |
89 | : equal_CStr(id, "fr") ? &blobFr_Resources | 90 | : equal_CStr(id, "fr") ? &blobFr_Resources |
@@ -93,6 +94,7 @@ static void load_Lang_(iLang *d, const char *id) { | |||
93 | : equal_CStr(id, "es_MX") ? &blobEs_MX_Resources | 94 | : equal_CStr(id, "es_MX") ? &blobEs_MX_Resources |
94 | : equal_CStr(id, "de") ? &blobDe_Resources | 95 | : equal_CStr(id, "de") ? &blobDe_Resources |
95 | : equal_CStr(id, "gl") ? &blobGl_Resources | 96 | : equal_CStr(id, "gl") ? &blobGl_Resources |
97 | : equal_CStr(id, "hu") ? &blobHu_Embedded | ||
96 | : equal_CStr(id, "ia") ? &blobIa_Resources | 98 | : equal_CStr(id, "ia") ? &blobIa_Resources |
97 | : equal_CStr(id, "ie") ? &blobIe_Resources | 99 | : equal_CStr(id, "ie") ? &blobIe_Resources |
98 | : equal_CStr(id, "isv") ? &blobIsv_Resources | 100 | : equal_CStr(id, "isv") ? &blobIsv_Resources |