summaryrefslogtreecommitdiff
path: root/src/lang.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-23 21:47:13 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-23 21:47:13 +0200
commit0875578d5147fbeecf5b62f3f71f762d9d57b430 (patch)
treeda4bab21b82b16591761496293fb9da9f28118bc /src/lang.c
parentd58fa0d5f993c9297252bd57cfb331e8c0221671 (diff)
Lang: Added Russian to resources
IssueID #192
Diffstat (limited to 'src/lang.c')
-rw-r--r--src/lang.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lang.c b/src/lang.c
index db28e318..f85d193a 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -32,7 +32,9 @@ static void clear_Lang_(iLang *d) {
32static void load_Lang_(iLang *d, const char *id) { 32static void load_Lang_(iLang *d, const char *id) {
33 /* Load compiled language strings from an embedded blob. */ 33 /* Load compiled language strings from an embedded blob. */
34 iUnused(id); 34 iUnused(id);
35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded : &blobEn_Embedded; 35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
36 : equal_CStr(id, "ru") ? &blobRu_Embedded
37 : &blobEn_Embedded;
36 iMsgStr msg; 38 iMsgStr msg;
37 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) { 39 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) {
38 msg.id.start = ptr; 40 msg.id.start = ptr;