diff options
author | TingPing <tingping@tingping.se> | 2014-01-11 18:34:30 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-01-11 18:34:30 -0500 |
commit | a817072e6fd208f6f26253d5fc18cc6dd0e09a17 (patch) | |
tree | 6b3c181938df0ee42ffe7e00aa7fc4ee1aa871c9 | |
parent | 2ea1a992b17322b57d27b5d1c37182b2cc879589 (diff) |
Add Turkish language to preferences
Users of uk, vi, and wa languages will have to manually change their lang on Windows after this.
-rw-r--r-- | src/common/cfgfiles.c | 12 | ||||
-rw-r--r-- | src/common/cfgfiles.h | 2 | ||||
-rw-r--r-- | src/fe-gtk/setup.c | 1 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 826c56d8..9f1db75f 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -42,12 +42,12 @@ #define DEF_FONT_ALTER "Arial Unicode MS,Lucida Sans Unicode,MS Gothic,Unifont" const char * const languages[LANGUAGES_LENGTH] = { - "af", "sq", "am", "ast", "az", "eu", "be", "bg", "ca", "zh_CN", /* 0 .. 9 */ - "zh_TW", "cs", "da", "nl", "en_GB", "en", "et", "fi", "fr", "gl", /* 10 .. 19 */ - "de", "el", "gu", "hi", "hu", "id", "it", "ja", "kn", "rw", /* 20 .. 29 */ - "ko", "lv", "lt", "mk", "ml", "ms", "nb", "no", "pl", "pt", /* 30 .. 39 */ - "pt_BR", "pa", "ru", "sr", "sk", "sl", "es", "sv", "th", "uk", /* 40 .. 49 */ - "vi", "wa" /* 50 .. */ + "af", "sq", "am", "ast", "az", "eu", "be", "bg", "ca", "zh_CN", /* 0 .. 9 */ + "zh_TW", "cs", "da", "nl", "en_GB", "en", "et", "fi", "fr", "gl", /* 10 .. 19 */ + "de", "el", "gu", "hi", "hu", "id", "it", "ja_JP", "kn", "rw", /* 20 .. 29 */ + "ko", "lv", "lt", "mk", "ml", "ms", "nb", "no", "pl", "pt", /* 30 .. 39 */ + "pt_BR", "pa", "ru", "sr", "sk", "sl", "es", "sv", "th", "tr", /* 40 .. 49 */ + "uk", "vi", "wa" /* 50 .. */ }; void diff --git a/src/common/cfgfiles.h b/src/common/cfgfiles.h index 79bc0582..8b996ca0 100644 --- a/src/common/cfgfiles.h +++ b/src/common/cfgfiles.h @@ -24,7 +24,7 @@ #include "hexchat.h" -#define LANGUAGES_LENGTH 52 +#define LANGUAGES_LENGTH 53 extern char *xdir; extern const char * const languages[LANGUAGES_LENGTH]; diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index be5448cb..55de46fe 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -134,6 +134,7 @@ static const char *const langsmenu[] = N_("Spanish"), N_("Swedish"), N_("Thai"), + N_("Turkish"), N_("Ukrainian"), N_("Vietnamese"), N_("Walloon"), |