diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-23 21:47:13 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-23 21:47:13 +0200 |
commit | 0875578d5147fbeecf5b62f3f71f762d9d57b430 (patch) | |
tree | da4bab21b82b16591761496293fb9da9f28118bc /src/lang.c | |
parent | d58fa0d5f993c9297252bd57cfb331e8c0221671 (diff) |
Lang: Added Russian to resources
IssueID #192
Diffstat (limited to 'src/lang.c')
-rw-r--r-- | src/lang.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -32,7 +32,9 @@ static void clear_Lang_(iLang *d) { | |||
32 | static void load_Lang_(iLang *d, const char *id) { | 32 | static 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; |