summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-04 10:28:47 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-04 10:28:47 +0000
commit2a53a07949971e08b3526f168f701bf038c9dbf9 (patch)
treed9ad28188ae7bb839c2e0b9cc7c5e3081cc6c9ee /tools
parente67bf0ac881c04b422c601f757776893974031c1 (diff)
added ability to generate different langpacks
added new command line param (\p) git-svn-id: http://svn.miranda-ng.org/main/trunk@2955 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools')
-rw-r--r--tools/Langpack Suite/Form1.Designer.cs60
-rw-r--r--tools/Langpack Suite/Form1.cs42
-rw-r--r--tools/Langpack Suite/Form1.resx2
-rw-r--r--tools/Langpack Suite/LangpackSuite.csproj5
-rw-r--r--tools/Langpack Suite/myRes.Designer.cs613
-rw-r--r--tools/Langpack Suite/myRes.be-BY.resx6
-rw-r--r--tools/Langpack Suite/myRes.resx6
-rw-r--r--tools/Langpack Suite/myRes.ru-RU.resx6
-rw-r--r--tools/Langpack Suite/myRes.uk-UA.resx6
9 files changed, 100 insertions, 646 deletions
diff --git a/tools/Langpack Suite/Form1.Designer.cs b/tools/Langpack Suite/Form1.Designer.cs
index 7e4b702db7..e31daadeb2 100644
--- a/tools/Langpack Suite/Form1.Designer.cs
+++ b/tools/Langpack Suite/Form1.Designer.cs
@@ -31,6 +31,8 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.CreateLangpackBtn = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.LangpacksComboBox = new System.Windows.Forms.ComboBox();
+ this.label7 = new System.Windows.Forms.Label();
this.LangpackNameEdit = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.InfMessageLangBox = new System.Windows.Forms.TextBox();
@@ -78,7 +80,8 @@
//
// CreateLangpackBtn
//
- this.CreateLangpackBtn.Location = new System.Drawing.Point(99, 187);
+ this.CreateLangpackBtn.Enabled = false;
+ this.CreateLangpackBtn.Location = new System.Drawing.Point(99, 208);
this.CreateLangpackBtn.Name = "CreateLangpackBtn";
this.CreateLangpackBtn.Size = new System.Drawing.Size(141, 31);
this.CreateLangpackBtn.TabIndex = 1;
@@ -88,26 +91,47 @@
//
// groupBox2
//
+ this.groupBox2.Controls.Add(this.LangpacksComboBox);
+ this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.LangpackNameEdit);
this.groupBox2.Controls.Add(this.label1);
this.groupBox2.Location = new System.Drawing.Point(6, 3);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(317, 58);
+ this.groupBox2.Size = new System.Drawing.Size(317, 75);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Output File";
//
+ // LangpacksComboBox
+ //
+ this.LangpacksComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.LangpacksComboBox.FormattingEnabled = true;
+ this.LangpacksComboBox.Location = new System.Drawing.Point(129, 13);
+ this.LangpacksComboBox.Name = "LangpacksComboBox";
+ this.LangpacksComboBox.Size = new System.Drawing.Size(168, 21);
+ this.LangpacksComboBox.TabIndex = 11;
+ this.LangpacksComboBox.SelectedIndexChanged += new System.EventHandler(this.LangpacksComboBox_SelectedIndexChanged);
+ //
+ // label7
+ //
+ this.label7.Location = new System.Drawing.Point(6, 16);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(125, 18);
+ this.label7.TabIndex = 10;
+ this.label7.Text = "Available Langpacks:";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
+ //
// LangpackNameEdit
//
- this.LangpackNameEdit.Location = new System.Drawing.Point(129, 22);
+ this.LangpackNameEdit.Location = new System.Drawing.Point(129, 44);
this.LangpackNameEdit.Name = "LangpackNameEdit";
- this.LangpackNameEdit.Size = new System.Drawing.Size(151, 20);
+ this.LangpackNameEdit.Size = new System.Drawing.Size(168, 20);
this.LangpackNameEdit.TabIndex = 1;
- this.LangpackNameEdit.Text = "Langpack_russian";
+ this.LangpackNameEdit.Text = "Langpack_";
//
// label1
//
- this.label1.Location = new System.Drawing.Point(6, 25);
+ this.label1.Location = new System.Drawing.Point(6, 47);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(125, 13);
this.label1.TabIndex = 0;
@@ -117,7 +141,7 @@
// InfMessageLangBox
//
this.InfMessageLangBox.BackColor = System.Drawing.SystemColors.Control;
- this.InfMessageLangBox.Location = new System.Drawing.Point(7, 224);
+ this.InfMessageLangBox.Location = new System.Drawing.Point(7, 245);
this.InfMessageLangBox.Multiline = true;
this.InfMessageLangBox.Name = "InfMessageLangBox";
this.InfMessageLangBox.ReadOnly = true;
@@ -133,7 +157,7 @@
this.tabControl1.Location = new System.Drawing.Point(-3, 0);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(337, 321);
+ this.tabControl1.Size = new System.Drawing.Size(337, 344);
this.tabControl1.TabIndex = 8;
//
// tabPage1
@@ -147,7 +171,7 @@
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(329, 295);
+ this.tabPage1.Size = new System.Drawing.Size(329, 318);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Generator";
//
@@ -156,7 +180,7 @@
this.groupBox3.Controls.Add(this.OwnFileCheckBox);
this.groupBox3.Controls.Add(this.SelectOwnFileBtn);
this.groupBox3.Controls.Add(this.OwnFileEdit);
- this.groupBox3.Location = new System.Drawing.Point(6, 130);
+ this.groupBox3.Location = new System.Drawing.Point(6, 151);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(317, 53);
this.groupBox3.TabIndex = 5;
@@ -197,7 +221,7 @@
this.groupBox6.Controls.Add(this.label6);
this.groupBox6.Controls.Add(this.VIURLTextBox);
this.groupBox6.Controls.Add(this.GetVICheckBox);
- this.groupBox6.Location = new System.Drawing.Point(6, 61);
+ this.groupBox6.Location = new System.Drawing.Point(6, 82);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(317, 67);
this.groupBox6.TabIndex = 8;
@@ -243,7 +267,7 @@
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(329, 295);
+ this.tabPage2.Size = new System.Drawing.Size(329, 318);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "LinkListGen";
//
@@ -306,7 +330,7 @@
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage3.Size = new System.Drawing.Size(329, 295);
+ this.tabPage3.Size = new System.Drawing.Size(329, 318);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "Dupes Search";
//
@@ -431,7 +455,7 @@
//
// label5
//
- this.label5.Location = new System.Drawing.Point(83, 327);
+ this.label5.Location = new System.Drawing.Point(83, 351);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(119, 18);
this.label5.TabIndex = 9;
@@ -447,7 +471,7 @@
"Русский",
"Українська",
"Беларускі"});
- this.LanguageComboBox.Location = new System.Drawing.Point(204, 324);
+ this.LanguageComboBox.Location = new System.Drawing.Point(204, 348);
this.LanguageComboBox.Name = "LanguageComboBox";
this.LanguageComboBox.Size = new System.Drawing.Size(121, 21);
this.LanguageComboBox.TabIndex = 10;
@@ -456,7 +480,7 @@
// VarButton
//
this.VarButton.Image = ((System.Drawing.Image)(resources.GetObject("VarButton.Image")));
- this.VarButton.Location = new System.Drawing.Point(7, 322);
+ this.VarButton.Location = new System.Drawing.Point(7, 346);
this.VarButton.Name = "VarButton";
this.VarButton.Size = new System.Drawing.Size(22, 22);
this.VarButton.TabIndex = 11;
@@ -467,7 +491,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(329, 348);
+ this.ClientSize = new System.Drawing.Size(329, 373);
this.Controls.Add(this.VarButton);
this.Controls.Add(this.LanguageComboBox);
this.Controls.Add(this.label5);
@@ -536,6 +560,8 @@
private System.Windows.Forms.TextBox VIURLTextBox;
private System.Windows.Forms.CheckBox GetVICheckBox;
private System.Windows.Forms.Button VarButton;
+ public System.Windows.Forms.ComboBox LangpacksComboBox;
+ private System.Windows.Forms.Label label7;
}
}
diff --git a/tools/Langpack Suite/Form1.cs b/tools/Langpack Suite/Form1.cs
index 19bfc3abf4..40c3b3d38c 100644
--- a/tools/Langpack Suite/Form1.cs
+++ b/tools/Langpack Suite/Form1.cs
@@ -34,6 +34,18 @@ namespace Langpack_Suite
tipper.ReshowDelay = 500;
tipper.ShowAlways = true;
+ DirectoryInfo root = Directory.GetParent(Directory.GetCurrentDirectory());
+ string[] dirs = Directory.GetDirectories(root.ToString());
+ foreach (string dir in dirs)
+ {
+ if (!dir.Equals(Directory.GetCurrentDirectory()) && File.Exists(dir + "\\=HEAD=.txt"))
+ {
+ int pos = dir.LastIndexOf('\\');
+ string item = dir.Substring(pos + 1);
+ LangpacksComboBox.Items.Add(item);
+ }
+ }
+
for (int i = 1; i < arguments.Length; i++)
{
string key = arguments[i].Substring(0, 2);
@@ -51,7 +63,7 @@ namespace Langpack_Suite
if (fname.Contains("\\"))
OwnFileEdit.Text = fname;
else
- OwnFileEdit.Text = Directory.GetCurrentDirectory() + "\\" + fname;
+ OwnFileEdit.Text = Directory.GetParent(Directory.GetCurrentDirectory()).ToString() + "\\" + LangpacksComboBox.Text + "\\" + fname;
OwnFileCheckBox.Checked = true;
OwnFilesCheckBoxChange();
}
@@ -66,6 +78,12 @@ namespace Langpack_Suite
{
output = arguments[i].Substring(2);
}
+ if (key.Equals("\\p"))
+ {
+ string fname = arguments[i].Substring(2);
+ LangpacksComboBox.Text = fname;
+ LangpacksComboBoxChange();
+ }
}
if (quiet)
{
@@ -151,7 +169,8 @@ namespace Langpack_Suite
NotTranslFindBtn.Text = CurrentText;
CurrentText = rm.GetString("CommentFindBtn", culture);
CommentFindBtn.Text = CurrentText;
-
+ CurrentText = rm.GetString("AvailLangpacks", culture);
+ label7.Text = CurrentText;
}
private void GenerateLang()
@@ -169,7 +188,7 @@ namespace Langpack_Suite
InfMessageLangBox.Text = LocaleText + "\r\n";
- FolderName = Directory.GetCurrentDirectory();
+ FolderName = Directory.GetParent(Directory.GetCurrentDirectory()).ToString() + "\\" + LangpacksComboBox.Text;
if (output == "")
output = FolderName + "\\" + LangpackNameEdit.Text + ".txt";
if (File.Exists(output))
@@ -631,7 +650,7 @@ namespace Langpack_Suite
SelectOwnFilesOpenFileDialog.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
SelectOwnFilesOpenFileDialog.FilterIndex = 1;
SelectOwnFilesOpenFileDialog.RestoreDirectory = true;
- SelectOwnFilesOpenFileDialog.InitialDirectory = Directory.GetCurrentDirectory();
+ SelectOwnFilesOpenFileDialog.InitialDirectory = Directory.GetParent(Directory.GetCurrentDirectory()).ToString() + "\\" + LangpacksComboBox.Text;
if (SelectOwnFilesOpenFileDialog.ShowDialog() == DialogResult.OK)
{
try
@@ -665,7 +684,7 @@ namespace Langpack_Suite
string LocaleText = rm.GetString("LinkListGen", culture);
InfMessageLinkBox.Text = LocaleText + "\r\n";
- FolderName = Directory.GetCurrentDirectory();
+ FolderName = Directory.GetParent(Directory.GetCurrentDirectory()).ToString() + "\\" + LangpacksComboBox.Text;
if (File.Exists(FolderName + "\\LinkList.txt"))
File.Delete(FolderName + "\\LinkList.txt");
@@ -736,7 +755,7 @@ namespace Langpack_Suite
string FolderName = "";
InfMessageFindBox.Text = "";
- FolderName = Directory.GetCurrentDirectory();
+ FolderName = Directory.GetParent(Directory.GetCurrentDirectory()).ToString() + "\\" + LangpacksComboBox.Text;
DirectoryInfo RootDir = new DirectoryInfo(FolderName);
ResourceManager rm = new ResourceManager("LangpackSuite.myRes", typeof(MainForm).Assembly);
string LocaleText = rm.GetString("FindLang", culture);
@@ -823,5 +842,16 @@ namespace Langpack_Suite
string LocaleHead = rm.GetString("VarHead", culture);
MessageBox.Show(LocaleText, LocaleHead);
}
+
+ private void LangpacksComboBoxChange()
+ {
+ LangpackNameEdit.Text = "Langpack_" + LangpacksComboBox.Text;
+ CreateLangpackBtn.Enabled = true;
+ }
+
+ private void LangpacksComboBox_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ LangpacksComboBoxChange();
+ }
}
} \ No newline at end of file
diff --git a/tools/Langpack Suite/Form1.resx b/tools/Langpack Suite/Form1.resx
index b052fa8e57..cc6a4fb43d 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
- YQUAAAAJcEhZcwAADr0AAA69AUf7kK0AAAGfSURBVDhPpVPNSoJREPUp6iV6iWjbIkqkQEytFhFFGSpl
+ YQUAAAAJcEhZcwAADrwAAA68AZW8ckkAAAGfSURBVDhPpVPNSoJREPUp6iV6iWjbIkqkQEytFhFFGSpl
iYniwjJCk0BaSKYEVrRqUdAmbJFZumkRFlQShQUFIVFw6ox8H1/+ETQw3GHmzrlzZubqdE0kvp1FZKOq
tJvdq/MzQe/OoMt+hk5HXpQ2fYy1BLIvnaDDeCBJvb5rDARLorTpY4x3GoIw0NazJwnWcBkzqU9R52ZF
lD7G2nt26kFYGtF5YTz2jLsXIFMEXIlHUdr0jYaL0HsLcvcXHfJjiXxlKwuRpzdgKnQAT+pWbApjRt9P
diff --git a/tools/Langpack Suite/LangpackSuite.csproj b/tools/Langpack Suite/LangpackSuite.csproj
index ac383f575a..8b0474ea1a 100644
--- a/tools/Langpack Suite/LangpackSuite.csproj
+++ b/tools/Langpack Suite/LangpackSuite.csproj
@@ -76,11 +76,6 @@
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
- <Compile Include="myRes.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>myRes.resx</DependentUpon>
- </Compile>
<Compile Include="Program.cs">
<Generator>ResXFileCodeGenerator</Generator>
</Compile>
diff --git a/tools/Langpack Suite/myRes.Designer.cs b/tools/Langpack Suite/myRes.Designer.cs
deleted file mode 100644
index de131dc25a..0000000000
--- a/tools/Langpack Suite/myRes.Designer.cs
+++ /dev/null
@@ -1,613 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.17929
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace LangpackSuite {
- using System;
-
-
- /// <summary>
- /// A strongly-typed resource class, for looking up localized strings, etc.
- /// </summary>
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class myRes {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal myRes() {
- }
-
- /// <summary>
- /// Returns the cached ResourceManager instance used by this class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LangpackSuite.myRes", typeof(myRes).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- /// <summary>
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- /// </summary>
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Langpack assigned....
- /// </summary>
- internal static string AssignLang {
- get {
- return ResourceManager.GetString("AssignLang", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Assign.
- /// </summary>
- internal static string AssignLangBtn {
- get {
- return ResourceManager.GetString("AssignLangBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Automatic.
- /// </summary>
- internal static string AutoModeBtn {
- get {
- return ResourceManager.GetString("AutoModeBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Commented lines founded....
- /// </summary>
- internal static string ComFound {
- get {
- return ResourceManager.GetString("ComFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Find Commented.
- /// </summary>
- internal static string CommentFindBtn {
- get {
- return ResourceManager.GetString("CommentFindBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Commented lines not found!.
- /// </summary>
- internal static string ComNotFound {
- get {
- return ResourceManager.GetString("ComNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File =CORE=.txt not found....
- /// </summary>
- internal static string CoreNotFound {
- get {
- return ResourceManager.GetString("CoreNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Create Langpack.
- /// </summary>
- internal static string CreateLangpackBtn {
- get {
- return ResourceManager.GetString("CreateLangpackBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Done!.
- /// </summary>
- internal static string Done {
- get {
- return ResourceManager.GetString("Done", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Find Dupes.
- /// </summary>
- internal static string DupesFindBtn {
- get {
- return ResourceManager.GetString("DupesFindBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File =DUPES=.txt not found....
- /// </summary>
- internal static string DupesNotFound {
- get {
- return ResourceManager.GetString("DupesNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Dupes founded....
- /// </summary>
- internal static string DupFound {
- get {
- return ResourceManager.GetString("DupFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Dupes not found!.
- /// </summary>
- internal static string DupNotFound {
- get {
- return ResourceManager.GetString("DupNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Working stoped..
- /// </summary>
- internal static string DupStop {
- get {
- return ResourceManager.GetString("DupStop", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Error.
- /// </summary>
- internal static string Error {
- get {
- return ResourceManager.GetString("Error", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to .txt not found....
- /// </summary>
- internal static string File2NotFound {
- get {
- return ResourceManager.GetString("File2NotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to not found....
- /// </summary>
- internal static string FileNotFound {
- get {
- return ResourceManager.GetString("FileNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File .
- /// </summary>
- internal static string FileText {
- get {
- return ResourceManager.GetString("FileText", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Finding Langpack....
- /// </summary>
- internal static string FindLang {
- get {
- return ResourceManager.GetString("FindLang", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Generation stopped..
- /// </summary>
- internal static string GenStop {
- get {
- return ResourceManager.GetString("GenStop", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Generating langpack....
- /// </summary>
- internal static string GenText {
- get {
- return ResourceManager.GetString("GenText", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Get VersionInfo from Internet or type full local path.
- /// </summary>
- internal static string GetVICheckBox {
- get {
- return ResourceManager.GetString("GetVICheckBox", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Assign Langpack File.
- /// </summary>
- internal static string groupBox1 {
- get {
- return ResourceManager.GetString("groupBox1", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Output File.
- /// </summary>
- internal static string groupBox2 {
- get {
- return ResourceManager.GetString("groupBox2", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Working mode.
- /// </summary>
- internal static string groupBox5 {
- get {
- return ResourceManager.GetString("groupBox5", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File =HEAD=.txt not found....
- /// </summary>
- internal static string HeadNotFound {
- get {
- return ResourceManager.GetString("HeadNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Information.
- /// </summary>
- internal static string Inf {
- get {
- return ResourceManager.GetString("Inf", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Langpack File Name:.
- /// </summary>
- internal static string label1 {
- get {
- return ResourceManager.GetString("label1", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Name:.
- /// </summary>
- internal static string label2 {
- get {
- return ResourceManager.GetString("label2", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to LinkList.txt file contains links to the translation files of different
- ///plugins and can be used in any download manager. Downloaded
- ///files can be used to generate a complete localization or consisting
- ///only from localization of plugins used by you (information is taken
- ///from the version info file, if available)..
- /// </summary>
- internal static string label3 {
- get {
- return ResourceManager.GetString("label3", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to URL of SVN:.
- /// </summary>
- internal static string label4 {
- get {
- return ResourceManager.GetString("label4", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to e.g. http://www.miranda-vi.org/report/mataes.
- /// </summary>
- internal static string label6 {
- get {
- return ResourceManager.GetString("label6", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Langpack not Founded....
- /// </summary>
- internal static string LangNotFound {
- get {
- return ResourceManager.GetString("LangNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to not assigned.
- /// </summary>
- internal static string LangPathLbl {
- get {
- return ResourceManager.GetString("LangPathLbl", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Language:.
- /// </summary>
- internal static string LanguageLbl {
- get {
- return ResourceManager.GetString("LanguageLbl", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Generating LinkList....
- /// </summary>
- internal static string LinkListGen {
- get {
- return ResourceManager.GetString("LinkListGen", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Create File.
- /// </summary>
- internal static string LinkListGenBtn {
- get {
- return ResourceManager.GetString("LinkListGenBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Manual.
- /// </summary>
- internal static string ManualModeBtn {
- get {
- return ResourceManager.GetString("ManualModeBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Can not open file..
- /// </summary>
- internal static string NotOpen {
- get {
- return ResourceManager.GetString("NotOpen", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Not Translated lines founded....
- /// </summary>
- internal static string NotTransFound {
- get {
- return ResourceManager.GetString("NotTransFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Find Not Translated.
- /// </summary>
- internal static string NotTranslFindBtn {
- get {
- return ResourceManager.GetString("NotTranslFindBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Not translated lines not found!.
- /// </summary>
- internal static string NotTransNotFound {
- get {
- return ResourceManager.GetString("NotTransNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Can not write file..
- /// </summary>
- internal static string NotWrite {
- get {
- return ResourceManager.GetString("NotWrite", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Add your own file to Langpack.
- /// </summary>
- internal static string OwnFileCheckBox {
- get {
- return ResourceManager.GetString("OwnFileCheckBox", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Writing files from Plugins folder....
- /// </summary>
- internal static string PlugLink {
- get {
- return ResourceManager.GetString("PlugLink", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Subfolder Plugins not found....
- /// </summary>
- internal static string PlugLinkNotFound {
- get {
- return ResourceManager.GetString("PlugLinkNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Writing files from Root folder....
- /// </summary>
- internal static string RootLink {
- get {
- return ResourceManager.GetString("RootLink", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Select.
- /// </summary>
- internal static string SelectOwnFileBtn {
- get {
- return ResourceManager.GetString("SelectOwnFileBtn", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Generator.
- /// </summary>
- internal static string tabPage1 {
- get {
- return ResourceManager.GetString("tabPage1", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to LinkListGen.
- /// </summary>
- internal static string tabPage2 {
- get {
- return ResourceManager.GetString("tabPage2", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Dupes Search.
- /// </summary>
- internal static string tabPage3 {
- get {
- return ResourceManager.GetString("tabPage3", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Command line arguments list.
- /// </summary>
- internal static string tipper {
- get {
- return ResourceManager.GetString("tipper", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Arguments.
- /// </summary>
- internal static string VarHead {
- get {
- return ResourceManager.GetString("VarHead", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to \q - silent generate
- ///\n - Langpack file name
- ///\o - Path for adding own File
- ///\u - link to VI from miranda-vi.org or full local path
- ///\l - Output Langpack path
- ///
- ///Example, LangpackSuite.exe \q \nLang_Test \o&quot;My Strings.txt&quot; \uD:\Miranda\VersionInfo.txt.
- /// </summary>
- internal static string VarText {
- get {
- return ResourceManager.GetString("VarText", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File =VERSION=.txt not found....
- /// </summary>
- internal static string VersionNotFound {
- get {
- return ResourceManager.GetString("VersionNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to File VersionInfo.txt founded, making shot langpack....
- /// </summary>
- internal static string VIGen {
- get {
- return ResourceManager.GetString("VIGen", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Writing files from Weather folder....
- /// </summary>
- internal static string WeatherLink {
- get {
- return ResourceManager.GetString("WeatherLink", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Subfolder Weather not found....
- /// </summary>
- internal static string WeatherLinkNotFound {
- get {
- return ResourceManager.GetString("WeatherLinkNotFound", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to VersionInfo.txt not found, making full langpack....
- /// </summary>
- internal static string WOVIGen {
- get {
- return ResourceManager.GetString("WOVIGen", resourceCulture);
- }
- }
-
- /// <summary>
- /// Looks up a localized string similar to Selected wrong directory....
- /// </summary>
- internal static string WrongSelect {
- get {
- return ResourceManager.GetString("WrongSelect", resourceCulture);
- }
- }
- }
-}
diff --git a/tools/Langpack Suite/myRes.be-BY.resx b/tools/Langpack Suite/myRes.be-BY.resx
index d206a1b090..1e74e9b3b3 100644
--- a/tools/Langpack Suite/myRes.be-BY.resx
+++ b/tools/Langpack Suite/myRes.be-BY.resx
@@ -306,7 +306,11 @@
\o - шлях да файла для ўключэння ў пакет
\u - спасылка на VI з miranda-vi.org ці поўны лакальны шлях
\l - шлях выходнага файла пакета
+\p - даступны моўнай пакет
-Прыклад, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt</value>
+Прыклад, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt \prussian</value>
+ </data>
+ <data name="AvailLangpacks" xml:space="preserve">
+ <value>Даступныя пакеты:</value>
</data>
</root> \ No newline at end of file
diff --git a/tools/Langpack Suite/myRes.resx b/tools/Langpack Suite/myRes.resx
index 9ac8e9e429..7e7d2ffffe 100644
--- a/tools/Langpack Suite/myRes.resx
+++ b/tools/Langpack Suite/myRes.resx
@@ -304,7 +304,11 @@ from the version info file, if available).</value>
\o - Path for adding own File
\u - link to VI from miranda-vi.org or full local path
\l - Output Langpack path
+\p - Avaliable Langpack folder name
-Example, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt</value>
+Example, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt \prussian</value>
+ </data>
+ <data name="AvailLangpacks" xml:space="preserve">
+ <value>Available Langpacks:</value>
</data>
</root> \ No newline at end of file
diff --git a/tools/Langpack Suite/myRes.ru-RU.resx b/tools/Langpack Suite/myRes.ru-RU.resx
index ffe8763b5b..aec3ab47ab 100644
--- a/tools/Langpack Suite/myRes.ru-RU.resx
+++ b/tools/Langpack Suite/myRes.ru-RU.resx
@@ -306,7 +306,11 @@
\o - путь к файлу для включения в ленгпак
\u - ссылка на ВИ с miranda-vi.org или полный локальный путь
\l - путь выходного файла ленгпака
+\p - доступный языковой пакет
-Пример, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt</value>
+Пример, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt \prussian</value>
+ </data>
+ <data name="AvailLangpacks" xml:space="preserve">
+ <value>Доступные пакеты:</value>
</data>
</root> \ No newline at end of file
diff --git a/tools/Langpack Suite/myRes.uk-UA.resx b/tools/Langpack Suite/myRes.uk-UA.resx
index 6be9f10a21..ed623d4fd7 100644
--- a/tools/Langpack Suite/myRes.uk-UA.resx
+++ b/tools/Langpack Suite/myRes.uk-UA.resx
@@ -306,7 +306,11 @@
\o - шлях до файлу для включення у ленгпак
\u - Посилання на ВІ с miranda-vi.org або повний локальний шлях
\l - шлях вихідного файлу ленгпаку
+\p - доступний мовний пакет
-Приклад, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt</value>
+Приклад, LangpackSuite.exe \q \nLang_Test \o"My Strings.txt" \uD:\Miranda\VersionInfo.txt \prussian</value>
+ </data>
+ <data name="AvailLangpacks" xml:space="preserve">
+ <value>Доступні пакети:</value>
</data>
</root> \ No newline at end of file