From c0ae168330a10928290602d9eac9fab9e8fc881c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 4 Jan 2013 07:04:32 +0000 Subject: added Belorussian interface language git-svn-id: http://svn.miranda-ng.org/main/trunk@2950 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/Langpack Suite/Form1.Designer.cs | 3 ++- tools/Langpack Suite/Form1.cs | 14 ++++++++++---- tools/Langpack Suite/Form1.resx | 2 +- tools/Langpack Suite/LangpackSuite.csproj | 1 + 4 files changed, 14 insertions(+), 6 deletions(-) (limited to 'tools/Langpack Suite') 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 @@ -76,12 +76,16 @@ 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). 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 @@ Form1.cs + ResXFileCodeGenerator myRes.uk-UA.Designer.cs -- cgit v1.2.3