summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-20 16:00:03 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-20 16:00:03 +0200
commit2995b0579440450d5be64f7dc4058024c6b605be (patch)
tree8aa8bacff6e0bcdf6101ec4c3f37ea2a37737a89
parentd90ae8012a6790fde87b0b5c8d50356686331f3c (diff)
Fix language codes and naming
-rw-r--r--src/common/xchat.c6
-rw-r--r--src/fe-gtk/setup.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 14dde5ef..3898d1dc 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -1012,7 +1012,7 @@ main (int argc, char *argv[])
 			strcat (hexchat_lang, "en_GB");
 			break;
 		case 15:
-			strcat (hexchat_lang, "en_US");
+			strcat (hexchat_lang, "en");
 			break;
 		case 16:
 			strcat (hexchat_lang, "et");
@@ -1042,7 +1042,7 @@ main (int argc, char *argv[])
 			strcat (hexchat_lang, "hi");
 			break;
 		case 25:
-			strcat (hexchat_lang, "hu_HU");
+			strcat (hexchat_lang, "hu");
 			break;
 		case 26:
 			strcat (hexchat_lang, "id");
@@ -1123,7 +1123,7 @@ main (int argc, char *argv[])
 			strcat (hexchat_lang, "wa");
 			break;
 		default:
-			strcat (hexchat_lang, "en_US");
+			strcat (hexchat_lang, "en");
 			break;
 	}
 
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c
index dc17941c..e293d9cc 100644
--- a/src/fe-gtk/setup.c
+++ b/src/fe-gtk/setup.c
@@ -116,8 +116,8 @@ static const char *const langsmenu[] =
 	N_("Czech"),
 	N_("Danish"),
 	N_("Dutch"),
-	N_("English (UK)"),
-	N_("English (US)"),
+	N_("English (Brisith)"),
+	N_("English"),
 	N_("Estonian"),
 	N_("Finnish"),
 	N_("French"),