diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-04 07:15:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-04 07:15:01 +0000 |
commit | 9b5565804db3889f7b8c59edf6e75a3566aea7df (patch) | |
tree | b1d456861834defd8f46e5afeaaafb62f6fe3e00 /tools/Langpack Suite/Form1.cs | |
parent | f837305f7158031d9ba87664773d0c68eb0dedce (diff) |
more correct language selecting
git-svn-id: http://svn.miranda-ng.org/main/trunk@2952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/Langpack Suite/Form1.cs')
-rw-r--r-- | tools/Langpack Suite/Form1.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/Langpack Suite/Form1.cs b/tools/Langpack Suite/Form1.cs index 9398470c36..19bfc3abf4 100644 --- a/tools/Langpack Suite/Form1.cs +++ b/tools/Langpack Suite/Form1.cs @@ -79,17 +79,17 @@ namespace Langpack_Suite {
LanguageComboBox.SelectedIndex = 1;
}
- if (culture.ToString() == "uk-UA")
+ else if (culture.ToString() == "uk-UA")
{
LanguageComboBox.SelectedIndex = 2;
}
- if (culture.ToString() == "be-BY")
+ else if (culture.ToString() == "be-BY")
{
LanguageComboBox.SelectedIndex = 3;
}
else
{
- culture = CultureInfo.CreateSpecificCulture("en-EN");
+ culture = CultureInfo.CreateSpecificCulture("en-US");
LanguageComboBox.SelectedIndex = 0;
}
adjustCulture();
@@ -788,7 +788,7 @@ namespace Langpack_Suite private void LanguageComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (LanguageComboBox.SelectedIndex == 0)
- culture = CultureInfo.CreateSpecificCulture("en-EN");
+ culture = CultureInfo.CreateSpecificCulture("en-US");
if (LanguageComboBox.SelectedIndex == 1)
culture = CultureInfo.CreateSpecificCulture("ru-RU");
if (LanguageComboBox.SelectedIndex == 2)
|