diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Langpack Suite/Form1.Designer.cs | 3 | ||||
-rw-r--r-- | tools/Langpack Suite/Form1.cs | 14 | ||||
-rw-r--r-- | tools/Langpack Suite/Form1.resx | 2 | ||||
-rw-r--r-- | tools/Langpack Suite/LangpackSuite.csproj | 1 |
4 files changed, 14 insertions, 6 deletions
diff --git a/tools/Langpack Suite/Form1.Designer.cs b/tools/Langpack Suite/Form1.Designer.cs index 2e3098e01a..7e4b702db7 100644 --- a/tools/Langpack Suite/Form1.Designer.cs +++ b/tools/Langpack Suite/Form1.Designer.cs @@ -444,8 +444,9 @@ this.LanguageComboBox.FormattingEnabled = true;
this.LanguageComboBox.Items.AddRange(new object[] {
"English",
+ "Русский",
"Українська",
- "Русский"});
+ "Беларускі"});
this.LanguageComboBox.Location = new System.Drawing.Point(204, 324);
this.LanguageComboBox.Name = "LanguageComboBox";
this.LanguageComboBox.Size = new System.Drawing.Size(121, 21);
diff --git a/tools/Langpack Suite/Form1.cs b/tools/Langpack Suite/Form1.cs index c61ebabdad..9398470c36 100644 --- a/tools/Langpack Suite/Form1.cs +++ b/tools/Langpack Suite/Form1.cs @@ -77,11 +77,15 @@ namespace Langpack_Suite culture = CultureInfo.CurrentCulture;
if (culture.ToString() == "ru-RU")
{
+ LanguageComboBox.SelectedIndex = 1;
+ }
+ if (culture.ToString() == "uk-UA")
+ {
LanguageComboBox.SelectedIndex = 2;
}
- else if (culture.ToString() == "uk-UA")
+ if (culture.ToString() == "be-BY")
{
- LanguageComboBox.SelectedIndex = 1;
+ LanguageComboBox.SelectedIndex = 3;
}
else
{
@@ -786,9 +790,11 @@ namespace Langpack_Suite if (LanguageComboBox.SelectedIndex == 0)
culture = CultureInfo.CreateSpecificCulture("en-EN");
if (LanguageComboBox.SelectedIndex == 1)
- culture = CultureInfo.CreateSpecificCulture("uk-UA");
- if (LanguageComboBox.SelectedIndex == 2)
culture = CultureInfo.CreateSpecificCulture("ru-RU");
+ if (LanguageComboBox.SelectedIndex == 2)
+ culture = CultureInfo.CreateSpecificCulture("uk-UA");
+ if (LanguageComboBox.SelectedIndex == 3)
+ culture = CultureInfo.CreateSpecificCulture("be-BY");
adjustCulture();
}
diff --git a/tools/Langpack Suite/Form1.resx b/tools/Langpack Suite/Form1.resx index ae38fa6b0a..b052fa8e57 100644 --- a/tools/Langpack Suite/Form1.resx +++ b/tools/Langpack Suite/Form1.resx @@ -128,7 +128,7 @@ from the version info file, if available).</value> <data name="VarButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADr4AAA6+AepCscAAAAGfSURBVDhPpVPNSoJREPUp6iV6iWjbIkqkQEytFhFFGSpl
+ YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAAGfSURBVDhPpVPNSoJREPUp6iV6iWjbIkqkQEytFhFFGSpl
iYniwjJCk0BaSKYEVrRqUdAmbJFZumkRFlQShQUFIVFw6ox8H1/+ETQw3GHmzrlzZubqdE0kvp1FZKOq
tJvdq/MzQe/OoMt+hk5HXpQ2fYy1BLIvnaDDeCBJvb5rDARLorTpY4x3GoIw0NazJwnWcBkzqU9R52ZF
lD7G2nt26kFYGtF5YTz2jLsXIFMEXIlHUdr0jYaL0HsLcvcXHfJjiXxlKwuRpzdgKnQAT+pWbApjRt9P
diff --git a/tools/Langpack Suite/LangpackSuite.csproj b/tools/Langpack Suite/LangpackSuite.csproj index 464ebf1e01..90c1d44440 100644 --- a/tools/Langpack Suite/LangpackSuite.csproj +++ b/tools/Langpack Suite/LangpackSuite.csproj @@ -99,6 +99,7 @@ <EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
+ <EmbeddedResource Include="myRes.be-BY.resx" />
<EmbeddedResource Include="myRes.uk-UA.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>myRes.uk-UA.Designer.cs</LastGenOutput>
|