summaryrefslogtreecommitdiff
path: root/tools/Langpack Suite
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-04 07:15:01 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-04 07:15:01 +0000
commit9b5565804db3889f7b8c59edf6e75a3566aea7df (patch)
treeb1d456861834defd8f46e5afeaaafb62f6fe3e00 /tools/Langpack Suite
parentf837305f7158031d9ba87664773d0c68eb0dedce (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')
-rw-r--r--tools/Langpack Suite/Form1.cs8
-rw-r--r--tools/Langpack Suite/LangpackSuite.csproj10
-rw-r--r--tools/Langpack Suite/myRes.be-BY.Designer.cs0
-rw-r--r--tools/Langpack Suite/myRes.ru-RU.Designer.cs0
-rw-r--r--tools/Langpack Suite/myRes.uk-UA.Designer.cs0
5 files changed, 4 insertions, 14 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)
diff --git a/tools/Langpack Suite/LangpackSuite.csproj b/tools/Langpack Suite/LangpackSuite.csproj
index 90c1d44440..ac383f575a 100644
--- a/tools/Langpack Suite/LangpackSuite.csproj
+++ b/tools/Langpack Suite/LangpackSuite.csproj
@@ -81,16 +81,6 @@
<DesignTime>True</DesignTime>
<DependentUpon>myRes.resx</DependentUpon>
</Compile>
- <Compile Include="myRes.ru-RU.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>myRes.ru-RU.resx</DependentUpon>
- </Compile>
- <Compile Include="myRes.uk-UA.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>myRes.uk-UA.resx</DependentUpon>
- </Compile>
<Compile Include="Program.cs">
<Generator>ResXFileCodeGenerator</Generator>
</Compile>
diff --git a/tools/Langpack Suite/myRes.be-BY.Designer.cs b/tools/Langpack Suite/myRes.be-BY.Designer.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tools/Langpack Suite/myRes.be-BY.Designer.cs
+++ /dev/null
diff --git a/tools/Langpack Suite/myRes.ru-RU.Designer.cs b/tools/Langpack Suite/myRes.ru-RU.Designer.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tools/Langpack Suite/myRes.ru-RU.Designer.cs
+++ /dev/null
diff --git a/tools/Langpack Suite/myRes.uk-UA.Designer.cs b/tools/Langpack Suite/myRes.uk-UA.Designer.cs
deleted file mode 100644
index e69de29bb2..0000000000
--- a/tools/Langpack Suite/myRes.uk-UA.Designer.cs
+++ /dev/null