From 78fcfce2522f0d3a16d148725beb4a6eafd6e215 Mon Sep 17 00:00:00 2001 From: Rylan/wowmom98 Date: Sun, 8 Jan 2017 17:48:56 -0500 Subject: [PATCH] localization in titles of programs read the summary --- ShiftOS.WinForms/Applications/Chat.Designer.cs | 2 +- .../Applications/ColorPicker.Designer.cs | 2 +- ShiftOS.WinForms/Applications/Dialog.Designer.cs | 2 +- .../Applications/FileDialog.Designer.cs | 2 +- .../Applications/FileSkimmer.Designer.cs | 2 +- .../Applications/GraphicPicker.Designer.cs | 2 +- .../Applications/MUDAuthenticator.Designer.cs | 2 +- .../Applications/MUDControlCentre.Designer.cs | 1 + ShiftOS.WinForms/Applications/Shifter.Designer.cs | 2 +- .../Applications/Skin Loader.Designer.cs | 2 +- .../Applications/VirusScanner.Designer.cs | 2 +- ShiftOS.WinForms/Resources/strings_de.txt | 13 +++++++++++++ ShiftOS.WinForms/Resources/strings_en.txt | 13 +++++++++++++ 13 files changed, 37 insertions(+), 10 deletions(-) diff --git a/ShiftOS.WinForms/Applications/Chat.Designer.cs b/ShiftOS.WinForms/Applications/Chat.Designer.cs index d2284f2..f2c0a70 100644 --- a/ShiftOS.WinForms/Applications/Chat.Designer.cs +++ b/ShiftOS.WinForms/Applications/Chat.Designer.cs @@ -93,7 +93,7 @@ namespace ShiftOS.WinForms.Applications this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel1); this.Name = "Chat"; - this.Text = "Chat"; + this.Text = "{CHAT_NAME}"; this.Size = new System.Drawing.Size(633, 318); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); diff --git a/ShiftOS.WinForms/Applications/ColorPicker.Designer.cs b/ShiftOS.WinForms/Applications/ColorPicker.Designer.cs index 487dd4b..9f0abf0 100644 --- a/ShiftOS.WinForms/Applications/ColorPicker.Designer.cs +++ b/ShiftOS.WinForms/Applications/ColorPicker.Designer.cs @@ -3266,7 +3266,7 @@ namespace ShiftOS.WinForms.Applications this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.pgcontents); this.Name = "ColorPicker"; - this.Text = "Color Picker"; + this.Text = "{COLOR_PICKER_NAME}"; this.Size = new System.Drawing.Size(552, 657); this.Load += new System.EventHandler(this.Color_Picker_Load); this.pgcontents.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Applications/Dialog.Designer.cs b/ShiftOS.WinForms/Applications/Dialog.Designer.cs index 41619ea..7f9a9b2 100644 --- a/ShiftOS.WinForms/Applications/Dialog.Designer.cs +++ b/ShiftOS.WinForms/Applications/Dialog.Designer.cs @@ -54,7 +54,7 @@ namespace ShiftOS.WinForms.Applications { this.components = new System.ComponentModel.Container(); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Text = "Dialog"; + this.Text = "{DIALOG_NAME}"; } #endregion diff --git a/ShiftOS.WinForms/Applications/FileDialog.Designer.cs b/ShiftOS.WinForms/Applications/FileDialog.Designer.cs index f43d473..467e0c0 100644 --- a/ShiftOS.WinForms/Applications/FileDialog.Designer.cs +++ b/ShiftOS.WinForms/Applications/FileDialog.Designer.cs @@ -149,7 +149,7 @@ namespace ShiftOS.WinForms.Applications this.ClientSize = new System.Drawing.Size(634, 369); this.Controls.Add(this.panel1); this.Name = "FileDialog"; - this.Text = "File Dialog"; + this.Text = "{FILE_DIALOG_NAME}"; this.panel1.ResumeLayout(false); this.pnlfiletype.ResumeLayout(false); this.pnlfiletype.PerformLayout(); diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.Designer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.Designer.cs index 7067387..df31977 100644 --- a/ShiftOS.WinForms/Applications/FileSkimmer.Designer.cs +++ b/ShiftOS.WinForms/Applications/FileSkimmer.Designer.cs @@ -94,7 +94,7 @@ namespace ShiftOS.WinForms.Applications this.ClientSize = new System.Drawing.Size(634, 369); this.Controls.Add(this.panel1); this.Name = "FileSkimmer"; - this.Text = "File Skimmer"; + this.Text = "{FILE_SKIMMER_NAME}"; this.Load += new System.EventHandler(this.FileSkimmer_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Applications/GraphicPicker.Designer.cs b/ShiftOS.WinForms/Applications/GraphicPicker.Designer.cs index 04ee3d2..988acbd 100644 --- a/ShiftOS.WinForms/Applications/GraphicPicker.Designer.cs +++ b/ShiftOS.WinForms/Applications/GraphicPicker.Designer.cs @@ -252,7 +252,7 @@ namespace ShiftOS.WinForms.Applications this.ClientSize = new System.Drawing.Size(390, 383); this.Controls.Add(this.pgcontents); this.Name = "GraphicPicker"; - this.Text = "Graphic Picker"; + this.Text = "{GRAPHIC_PICKER_NAME}"; this.Load += new System.EventHandler(this.Graphic_Picker_Load); this.pgcontents.ResumeLayout(false); this.pgcontents.PerformLayout(); diff --git a/ShiftOS.WinForms/Applications/MUDAuthenticator.Designer.cs b/ShiftOS.WinForms/Applications/MUDAuthenticator.Designer.cs index 7e8a451..154cfe4 100644 --- a/ShiftOS.WinForms/Applications/MUDAuthenticator.Designer.cs +++ b/ShiftOS.WinForms/Applications/MUDAuthenticator.Designer.cs @@ -206,7 +206,7 @@ namespace ShiftOS.WinForms.Applications this.ClientSize = new System.Drawing.Size(622, 430); this.Controls.Add(this.panel1); this.Name = "MUDAuthenticator"; - this.Text = "Multi-User Domain Admin Panel"; + this.Text = "{MUD_AUTHENTICATOR_NAME}"; this.panel1.ResumeLayout(false); this.pnlmain.ResumeLayout(false); this.pnlusers.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Applications/MUDControlCentre.Designer.cs b/ShiftOS.WinForms/Applications/MUDControlCentre.Designer.cs index 8938c27..2843fc0 100644 --- a/ShiftOS.WinForms/Applications/MUDControlCentre.Designer.cs +++ b/ShiftOS.WinForms/Applications/MUDControlCentre.Designer.cs @@ -748,6 +748,7 @@ namespace ShiftOS.WinForms.Applications this.Controls.Add(this.toolStripContainer1); this.ForeColor = System.Drawing.Color.White; this.Name = "MUDControlCentre"; + this.Text = "{MUD_CONTROL_CENTRE_NAME}"; this.Size = new System.Drawing.Size(756, 488); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); diff --git a/ShiftOS.WinForms/Applications/Shifter.Designer.cs b/ShiftOS.WinForms/Applications/Shifter.Designer.cs index a5ea55b..44045b5 100644 --- a/ShiftOS.WinForms/Applications/Shifter.Designer.cs +++ b/ShiftOS.WinForms/Applications/Shifter.Designer.cs @@ -162,7 +162,7 @@ namespace ShiftOS.WinForms.Applications this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panel1); this.Name = "Shifter"; - this.Text = "Shifter"; + this.Text = "{SHIFTER_NAME}"; this.Size = new System.Drawing.Size(893, 539); this.Load += new System.EventHandler(this.Shifter_Load); this.panel1.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Applications/Skin Loader.Designer.cs b/ShiftOS.WinForms/Applications/Skin Loader.Designer.cs index 62a5bc1..ef5be7e 100644 --- a/ShiftOS.WinForms/Applications/Skin Loader.Designer.cs +++ b/ShiftOS.WinForms/Applications/Skin Loader.Designer.cs @@ -426,7 +426,7 @@ namespace ShiftOS.WinForms.Applications this.Controls.Add(this.pnlborder); this.Controls.Add(this.pnldesktop); this.Name = "Skin_Loader"; - this.Text = "Skin Loader"; + this.Text = "{SKIN_LOADER_NAME}"; this.pnldesktop.ResumeLayout(false); this.pnlborder.ResumeLayout(false); this.flbuttons.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Applications/VirusScanner.Designer.cs b/ShiftOS.WinForms/Applications/VirusScanner.Designer.cs index 54c8c63..3d6088d 100644 --- a/ShiftOS.WinForms/Applications/VirusScanner.Designer.cs +++ b/ShiftOS.WinForms/Applications/VirusScanner.Designer.cs @@ -199,7 +199,7 @@ namespace ShiftOS.WinForms.Applications this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.pgcontents); this.Name = "VirusScanner"; - this.Text = "Virus Scanner"; + this.Text = "{VIRUS_SCANNER_NAME}"; this.Size = new System.Drawing.Size(565, 343); this.Load += new System.EventHandler(this.VirusScanner_Load); this.grpresults.ResumeLayout(false); diff --git a/ShiftOS.WinForms/Resources/strings_de.txt b/ShiftOS.WinForms/Resources/strings_de.txt index 3cd11e4..5661c45 100644 --- a/ShiftOS.WinForms/Resources/strings_de.txt +++ b/ShiftOS.WinForms/Resources/strings_de.txt @@ -224,4 +224,17 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{WAV_PLAYER_NAME}":"WAV Player", "{SHIFTORIUM_NAME}":"Shiftorium", "{TEXTPAD_NAME}":"TextPad", + "{VIRUS_SCANNER_NAME}":"Virus Scanner", + "{SKIN_LOADER_NAME}":"Skin Loader", + "{SHIFTER_NAME}":"Shifter", + "{NAME_CHANGER_NAME}":"Name Changer", + "{MUD_PASSWORD_CRACKER_NAME}":"Multi-User Domain Password Cracker v1.0", + "{MUD_CONTROL_CENTRE_NAME}":"MUD Control Centre", + "{MUD_AUTHENTICATOR_NAME}":"Multi-User Domain Admin Panel", + "{GRAPHIC_PICKER_NAME}":"Graphic Picker", + "{FILE_SKIMMER_NAME}":"File Skimmer", + "{FILE_DIALOG_NAME}":"File Dialog", + "{DIALOG_NAME}":"Dialog", + "{COLOR_PICKER_NAME}":"Color Picker", + "{CHAT_NAME}":"Chat", } \ No newline at end of file diff --git a/ShiftOS.WinForms/Resources/strings_en.txt b/ShiftOS.WinForms/Resources/strings_en.txt index 267724a..032a554 100644 --- a/ShiftOS.WinForms/Resources/strings_en.txt +++ b/ShiftOS.WinForms/Resources/strings_en.txt @@ -223,4 +223,17 @@ If a system file is deleted by the virus scanner, it will be replaced.", "{WAV_PLAYER_NAME}":"WAV Player", "{SHIFTORIUM_NAME}":"Shiftorium", "{TEXTPAD_NAME}":"TextPad", + "{VIRUS_SCANNER_NAME}":"Virus Scanner", + "{SKIN_LOADER_NAME}":"Skin Loader", + "{SHIFTER_NAME}":"Shifter", + "{NAME_CHANGER_NAME}":"Name Changer", + "{MUD_PASSWORD_CRACKER_NAME}":"Multi-User Domain Password Cracker v1.0", + "{MUD_CONTROL_CENTRE_NAME}":"MUD Control Centre", + "{MUD_AUTHENTICATOR_NAME}":"Multi-User Domain Admin Panel", + "{GRAPHIC_PICKER_NAME}":"Graphic Picker", + "{FILE_SKIMMER_NAME}":"File Skimmer", + "{FILE_DIALOG_NAME}":"File Dialog", + "{DIALOG_NAME}":"Dialog", + "{COLOR_PICKER_NAME}":"Color Picker", + "{CHAT_NAME}":"Chat", } \ No newline at end of file