diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rwxr-xr-x | po/compile.py | 2 | ||||
-rw-r--r-- | res/lang/fr.bin | bin | 0 -> 18282 bytes | |||
-rw-r--r-- | src/lang.c | 1 | ||||
-rw-r--r-- | src/ui/util.c | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d76d635..2057f0c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -84,6 +84,7 @@ set (EMBED_RESOURCES | |||
84 | res/lang/en.bin | 84 | res/lang/en.bin |
85 | res/lang/es.bin | 85 | res/lang/es.bin |
86 | res/lang/fi.bin | 86 | res/lang/fi.bin |
87 | res/lang/fr.bin | ||
87 | res/lang/ie.bin | 88 | res/lang/ie.bin |
88 | res/lang/ru.bin | 89 | res/lang/ru.bin |
89 | res/lang/sr.bin | 90 | res/lang/sr.bin |
diff --git a/po/compile.py b/po/compile.py index 9b64c3d0..44fd92b4 100755 --- a/po/compile.py +++ b/po/compile.py | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | import os, sys | 5 | import os, sys |
6 | 6 | ||
7 | BUILD_LANGS = ['en', 'de', 'es', 'fi', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'] | 7 | BUILD_LANGS = ['en', 'de', 'es', 'fi', 'fr', 'ie', 'ru', 'sr', 'zh_Hans', 'zh_Hant'] |
8 | MODE = 'compile' | 8 | MODE = 'compile' |
9 | ESCAPES = { | 9 | ESCAPES = { |
10 | '\\': '\\', | 10 | '\\': '\\', |
diff --git a/res/lang/fr.bin b/res/lang/fr.bin new file mode 100644 index 00000000..c25f6b17 --- /dev/null +++ b/res/lang/fr.bin | |||
Binary files differ | |||
@@ -53,6 +53,7 @@ static void load_Lang_(iLang *d, const char *id) { | |||
53 | /* Load compiled language strings from an embedded blob. */ | 53 | /* Load compiled language strings from an embedded blob. */ |
54 | iUnused(id); | 54 | iUnused(id); |
55 | const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded | 55 | const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded |
56 | : equal_CStr(id, "fr") ? &blobFr_Embedded | ||
56 | : equal_CStr(id, "ru") ? &blobRu_Embedded | 57 | : equal_CStr(id, "ru") ? &blobRu_Embedded |
57 | : equal_CStr(id, "es") ? &blobEs_Embedded | 58 | : equal_CStr(id, "es") ? &blobEs_Embedded |
58 | : equal_CStr(id, "de") ? &blobDe_Embedded | 59 | : equal_CStr(id, "de") ? &blobDe_Embedded |
diff --git a/src/ui/util.c b/src/ui/util.c index 8849b289..c518d5db 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -2030,6 +2030,7 @@ iWidget *makePreferences_Widget(void) { | |||
2030 | { "${lang.en} - en", 0, 0, "uilang id:en" }, | 2030 | { "${lang.en} - en", 0, 0, "uilang id:en" }, |
2031 | { "${lang.es} - es", 0, 0, "uilang id:es" }, | 2031 | { "${lang.es} - es", 0, 0, "uilang id:es" }, |
2032 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, | 2032 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, |
2033 | { "${lang.fr} - fr", 0, 0, "uilang id:fr" }, | ||
2033 | { "${lang.ie} - ie", 0, 0, "uilang id:ie" }, | 2034 | { "${lang.ie} - ie", 0, 0, "uilang id:ie" }, |
2034 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, | 2035 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, |
2035 | { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, | 2036 | { "${lang.sr} - sr", 0, 0, "uilang id:sr" }, |