From 465e8655c440261fa263dc8c2be1efdcbd4cb2a7 Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 7 Sep 2022 20:34:36 +0200 Subject: [PATCH] 1.10 - fix SE language base (English) --- .gitignore | 1 + src/XmlContentTranslator/Main.Designer.cs | 18 +++++++++--------- src/XmlContentTranslator/Main.cs | 4 ++-- .../Properties/AssemblyInfo.cs | 4 ++-- .../Properties/Resources.Designer.cs | 2 +- .../Properties/Settings.Designer.cs | 2 +- .../XmlContentTranslator.csproj | 2 +- src/XmlContentTranslator/app.config | 2 +- 8 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 1906eb5..10cfdf7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ obj /src/XmlContentTranslator/XmlContentTranslator.csproj.DotSettings /src/XmlContentTranslator/XmlContentTranslator.zip /src/.vs/XmlContentTranslator/v15 +/src/.vs/XmlContentTranslator diff --git a/src/XmlContentTranslator/Main.Designer.cs b/src/XmlContentTranslator/Main.Designer.cs index 7bcf1d3..ac4cf53 100644 --- a/src/XmlContentTranslator/Main.Designer.cs +++ b/src/XmlContentTranslator/Main.Designer.cs @@ -136,7 +136,7 @@ private void InitializeComponent() // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); - this.toolStripMenuItem1.Size = new System.Drawing.Size(305, 22); + this.toolStripMenuItem1.Size = new System.Drawing.Size(341, 22); this.toolStripMenuItem1.Text = "&New"; this.toolStripMenuItem1.Click += new System.EventHandler(this.ToolStripMenuItem1Click); // @@ -144,41 +144,41 @@ private void InitializeComponent() // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.openToolStripMenuItem.Size = new System.Drawing.Size(305, 22); + this.openToolStripMenuItem.Size = new System.Drawing.Size(341, 22); this.openToolStripMenuItem.Text = "&Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenToolStripMenuItemClick); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(305, 22); - this.toolStripMenuItem2.Text = "Open Subtitle Edit language master online..."; + this.toolStripMenuItem2.Size = new System.Drawing.Size(341, 22); + this.toolStripMenuItem2.Text = "Open Subtitle Edit English translation base online..."; this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.saveToolStripMenuItem.Size = new System.Drawing.Size(305, 22); + this.saveToolStripMenuItem.Size = new System.Drawing.Size(341, 22); this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveToolStripMenuItemClick); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; - this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(305, 22); + this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(341, 22); this.saveAsToolStripMenuItem.Text = "Save &as..."; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItemClick); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(302, 6); + this.toolStripSeparator1.Size = new System.Drawing.Size(338, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(305, 22); + this.exitToolStripMenuItem.Size = new System.Drawing.Size(341, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick); // @@ -332,7 +332,7 @@ private void InitializeComponent() this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(820, 350); this.Name = "Main"; - this.Text = "XML Content Translator 1.9"; + this.Text = "XML Content Translator 1.10"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1FormClosing); this.Load += new System.EventHandler(this.Form1Load); this.ResizeEnd += new System.EventHandler(this.Main_ResizeEnd); diff --git a/src/XmlContentTranslator/Main.cs b/src/XmlContentTranslator/Main.cs index 85eefc0..c9782fc 100644 --- a/src/XmlContentTranslator/Main.cs +++ b/src/XmlContentTranslator/Main.cs @@ -910,12 +910,12 @@ private void toolStripMenuItem2_Click(object sender, EventArgs e) openFileDialog1.FileName = string.Empty; openFileDialog1.DefaultExt = ".xml"; openFileDialog1.Filter = "Xml files|*.xml" + "|All files|*.*"; - openFileDialog1.Title = "Open language master file"; + openFileDialog1.Title = "Open English translation base file"; var doc = new XmlDocument(); try { - const string url = "https://raw.githubusercontent.com/SubtitleEdit/subtitleedit/master/LanguageMaster.xml"; + const string url = "https://raw.githubusercontent.com/SubtitleEdit/subtitleedit/main/LanguageBaseEnglish.xml"; var wc = new WebClient(); var xml = wc.DownloadString(url); MakeNew(); diff --git a/src/XmlContentTranslator/Properties/AssemblyInfo.cs b/src/XmlContentTranslator/Properties/AssemblyInfo.cs index f34dcf2..4554747 100644 --- a/src/XmlContentTranslator/Properties/AssemblyInfo.cs +++ b/src/XmlContentTranslator/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.9.0.0")] -[assembly: AssemblyFileVersion("1.9.0.0")] +[assembly: AssemblyVersion("1.10.0.0")] +[assembly: AssemblyFileVersion("1.10.0.0")] diff --git a/src/XmlContentTranslator/Properties/Resources.Designer.cs b/src/XmlContentTranslator/Properties/Resources.Designer.cs index b228607..7b6d51d 100644 --- a/src/XmlContentTranslator/Properties/Resources.Designer.cs +++ b/src/XmlContentTranslator/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace XmlContentTranslator.Properties { // 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", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/src/XmlContentTranslator/Properties/Settings.Designer.cs b/src/XmlContentTranslator/Properties/Settings.Designer.cs index 1248709..c493fec 100644 --- a/src/XmlContentTranslator/Properties/Settings.Designer.cs +++ b/src/XmlContentTranslator/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace XmlContentTranslator.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/src/XmlContentTranslator/XmlContentTranslator.csproj b/src/XmlContentTranslator/XmlContentTranslator.csproj index 676a8db..c7ed32f 100644 --- a/src/XmlContentTranslator/XmlContentTranslator.csproj +++ b/src/XmlContentTranslator/XmlContentTranslator.csproj @@ -10,7 +10,7 @@ Properties XmlContentTranslator XmlContentTranslator - v4.6.2 + v4.8 512 Web_XML.ico diff --git a/src/XmlContentTranslator/app.config b/src/XmlContentTranslator/app.config index 2a0024f..3e0e37c 100644 --- a/src/XmlContentTranslator/app.config +++ b/src/XmlContentTranslator/app.config @@ -1,3 +1,3 @@ - +