From 5308c1cd4807edb2ec33f75923e609e8a382f1af Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 6 Apr 2017 11:58:00 -0400 Subject: [PATCH] german translations aint showin halp --- ShiftOS.WinForms/Resources/strings_de.txt | 9 +++++---- ShiftOS.WinForms/Resources/strings_en.txt | 1 + ShiftOS.WinForms/WinformsDesktop.cs | 6 +++--- ShiftOS_TheReturn/Commands.cs | 1 - 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ShiftOS.WinForms/Resources/strings_de.txt b/ShiftOS.WinForms/Resources/strings_de.txt index 0602612..139ed69 100644 --- a/ShiftOS.WinForms/Resources/strings_de.txt +++ b/ShiftOS.WinForms/Resources/strings_de.txt @@ -48,7 +48,7 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{UPGRADES}":"Upgrades", "{APPLICATION}":"Anwendung", "{SCRIPT}":"Skript", - "{ERROR}":"Error", + "{ERROR}":"Fehler", "{SCRIPTS}":"Skripts", "{NULL}":"null", "{ID}":"ID Num", @@ -109,7 +109,7 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{UPGRADE_DEVELOPMENT_DESCRIPTION}":"Development Upgrade Don't Buy", "{SECONDS_LEFT}":"sekunden übrig", "{CASH_OUT_WITH_CODEPOINTS}":"Cash out with your codepoints", - "{PONG_PLAY_ON_FOR_MORE}":"Play on for more!", + "{PONG_PLAY_ON_FOR_MORE}":"Spiel für mehr!", "{YOU_REACHED_LEVEL}":"You've reached level", "{PONG_BEAT_AI_REWARD}":"Reward for beating AI (CP)", "{PONG_BEAT_AI_REWARD_SECONDARY}":"Codepoints for beating AI:", @@ -121,7 +121,7 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{TERMINAL_FORMATTING_DRIVE}":"Formatting drive... %percent %", "{INSTALLING_SHIFTOS}":"Installing ShiftOS on %domain.", "{YOU_MISSED_OUT_ON}":"You missed out on", - "{BUT_YOU_GAINED}":"But you gained", + "{BUT_YOU_GAINED}":"Aber du hast gewonnen", "{PONG_PLAYON_DESC}":"Or do you want to try your luck on the next level to increase your reward?", "{PONG_CASHOUT_DESC}":"Would you like the end the game now and cash out with your reward?", "{INITIAL_H_VEL}":"Initial H Vel", @@ -131,7 +131,7 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{MULTIPLAYER_ONLY}":"Program not compatible with single-user domain.", "{MULTIPLAYER_ONLY_EXP}":"This program cannot run within a single-user domain. You must be within a multi-user domain to use this program.", "{SHIFTER_SKIN_APPLIED}":"Shifter - Settings applied!", - "{YOU_HAVE_EARNED}":"You have earned", + "{YOU_HAVE_EARNED}":"Du hast bekommen", "{CREATING_PATH}":"Creating directory: %path", "{CREATING_FILE}":"Creating file: %path", "{SHIFTORIUM_HELP_DESCRIPTION}": "Help Descriptions", @@ -240,5 +240,6 @@ Wenn eine Systemdatei von dem Virenscanner erkannt wird, wird sie ersetzt.", "{DIALOG_NAME}":"Dialog", "{COLOR_PICKER_NAME}":"Color Picker", "{CHAT_NAME}":"Chat", + "{NOTIFICATIONS}":"Benachrichtigungen", "{GERMAN_SECRET}":"guten tag polen ist anschluss", } \ No newline at end of file diff --git a/ShiftOS.WinForms/Resources/strings_en.txt b/ShiftOS.WinForms/Resources/strings_en.txt index cc4bd1a..f63f0e0 100644 --- a/ShiftOS.WinForms/Resources/strings_en.txt +++ b/ShiftOS.WinForms/Resources/strings_en.txt @@ -240,4 +240,5 @@ If a system file is deleted by the virus scanner, it will be replaced.", "{DIALOG_NAME}":"Dialog", "{COLOR_PICKER_NAME}":"Color Picker", "{CHAT_NAME}":"Chat", + "{NOTIFICATIONS}":"Notifications", } diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index 033802e..182c607 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -65,7 +65,7 @@ namespace ShiftOS.WinForms //Soon this will pop a balloon note. this.Invoke(new Action(() => { - btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")"; + btnnotifications.Text = Localization.Parse("{NOTIFICATIONS} (" + NotificationDaemon.GetUnreadCount().ToString() + ")"); })); }; @@ -74,7 +74,7 @@ namespace ShiftOS.WinForms //Soon this will pop a balloon note. this.Invoke(new Action(() => { - btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")"; + btnnotifications.Text = Localization.Parse("{NOTIFICATIONS} (" + NotificationDaemon.GetUnreadCount().ToString() + ")"); })); }; @@ -100,7 +100,7 @@ namespace ShiftOS.WinForms this.Invoke(new Action(() => SetupDesktop())); this.Invoke(new Action(() => { - btnnotifications.Text = "Notifications (" + NotificationDaemon.GetUnreadCount().ToString() + ")"; + btnnotifications.Text = Localization.Parse("{NOTIFICATIONS} (" + NotificationDaemon.GetUnreadCount().ToString() + ")"); })); }; Shiftorium.Installed += () => diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs index fedff19..c4f0c7a 100644 --- a/ShiftOS_TheReturn/Commands.cs +++ b/ShiftOS_TheReturn/Commands.cs @@ -357,7 +357,6 @@ namespace ShiftOS.Engine return true; } - [Command("lang", usage = "{{COMMAND_SOS_LANG_USAGE}}", description = "{{COMMAND_SOS_LANG_DESCRIPTION}}")] [RequiresArgument("language")] public static bool SetLanguage(Dictionary userArgs) {