1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

Add Turkish language to preferences

Users of uk, vi, and wa languages will have to manually change their
lang on Windows after this.
This commit is contained in:
TingPing 2014-01-11 18:34:30 -05:00
parent 2ea1a992b1
commit a817072e6f
3 changed files with 8 additions and 7 deletions

View File

@ -42,12 +42,12 @@
#define DEF_FONT_ALTER "Arial Unicode MS,Lucida Sans Unicode,MS Gothic,Unifont" #define DEF_FONT_ALTER "Arial Unicode MS,Lucida Sans Unicode,MS Gothic,Unifont"
const char * const languages[LANGUAGES_LENGTH] = { const char * const languages[LANGUAGES_LENGTH] = {
"af", "sq", "am", "ast", "az", "eu", "be", "bg", "ca", "zh_CN", /* 0 .. 9 */ "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 */ "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 */ "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 */ "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 */ "pt_BR", "pa", "ru", "sr", "sk", "sl", "es", "sv", "th", "tr", /* 40 .. 49 */
"vi", "wa" /* 50 .. */ "uk", "vi", "wa" /* 50 .. */
}; };
void void

View File

@ -24,7 +24,7 @@
#include "hexchat.h" #include "hexchat.h"
#define LANGUAGES_LENGTH 52 #define LANGUAGES_LENGTH 53
extern char *xdir; extern char *xdir;
extern const char * const languages[LANGUAGES_LENGTH]; extern const char * const languages[LANGUAGES_LENGTH];

View File

@ -134,6 +134,7 @@ static const char *const langsmenu[] =
N_("Spanish"), N_("Spanish"),
N_("Swedish"), N_("Swedish"),
N_("Thai"), N_("Thai"),
N_("Turkish"),
N_("Ukrainian"), N_("Ukrainian"),
N_("Vietnamese"), N_("Vietnamese"),
N_("Walloon"), N_("Walloon"),