From a817072e6fd208f6f26253d5fc18cc6dd0e09a17 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 11 Jan 2014 18:34:30 -0500 Subject: Add Turkish language to preferences Users of uk, vi, and wa languages will have to manually change their lang on Windows after this. --- src/common/cfgfiles.c | 12 ++++++------ src/common/cfgfiles.h | 2 +- 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"), -- cgit 1.4.1