diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 14:27:43 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 14:27:43 +0300 |
commit | 5b5c1d8fe0e9689d4a8c41e595cf1b2906c5dd1a (patch) | |
tree | 08a2eccb94f8d9c4e17db83a31d5be2cdbcef32e /src/ui/util.c | |
parent | c49aa1209e9427bcfe45d77aa2dc301f1a20e831 (diff) |
Lang: Added Chinese (Traditional)
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 98bcef90..60618181 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1911,13 +1911,14 @@ iWidget *makePreferences_Widget(void) { | |||
1911 | /* UI languages. */ { | 1911 | /* UI languages. */ { |
1912 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); | 1912 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); |
1913 | const iMenuItem langItems[] = { | 1913 | const iMenuItem langItems[] = { |
1914 | // { "${lang.de} - de", 0, 0, "uilang id:de" }, | 1914 | // { "${lang.de} - de", 0, 0, "uilang id:de" }, |
1915 | { "${lang.en} - en", 0, 0, "uilang id:en" }, | 1915 | { "${lang.en} - en", 0, 0, "uilang id:en" }, |
1916 | { "${lang.es} - es", 0, 0, "uilang id:es" }, | 1916 | { "${lang.es} - es", 0, 0, "uilang id:es" }, |
1917 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, | 1917 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, |
1918 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, | 1918 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, |
1919 | { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, | 1919 | { "${lang.zh.hans} - zh", 0, 0, "uilang id:zh_Hans" }, |
1920 | }; | 1920 | { "${lang.zh.hant} - zh", 0, 0, "uilang id:zh_Hant" }, |
1921 | }; | ||
1921 | pushBackN_Array(uiLangs, langItems, iElemCount(langItems)); | 1922 | pushBackN_Array(uiLangs, langItems, iElemCount(langItems)); |
1922 | //sort_Array(uiLangs, cmp_MenuItem_); | 1923 | //sort_Array(uiLangs, cmp_MenuItem_); |
1923 | /* TODO: Add an arrange flag for resizing parent to widest child. */ | 1924 | /* TODO: Add an arrange flag for resizing parent to widest child. */ |