diff --git a/src/Plugin.Discord/Globalization/de-DE/de-DE.xaml b/src/Plugin.Discord/Globalization/de-DE/de-DE.xaml index de11f6c8..fdf42138 100644 --- a/src/Plugin.Discord/Globalization/de-DE/de-DE.xaml +++ b/src/Plugin.Discord/Globalization/de-DE/de-DE.xaml @@ -5,14 +5,14 @@ > - Backup - Error + Sicherung + Fehler Mod Update Entdeckt Herunterfahren Herunterfahren Nachricht Herunterfahren Grund Server Status Änderung - Starten + Gestartet Update Ergebnisse @@ -66,7 +66,7 @@ Name: Der Name Ihres Konfigurationsprofils. Aktiviert - Ist das Konfigurationsprofil aktiviert. + Konfigurationsprofil aktiviern. Webhook Url: Dies ist Ihre Webhook Url, die von discord bereitgestellt wird. Bot Name: diff --git a/src/Plugin.Discord/Globalization/en-US/en-US.xaml b/src/Plugin.Discord/Globalization/en-US/en-US.xaml index 9783fead..db83bd89 100644 --- a/src/Plugin.Discord/Globalization/en-US/en-US.xaml +++ b/src/Plugin.Discord/Globalization/en-US/en-US.xaml @@ -118,6 +118,8 @@ Test Action Error An error occurred while trying to test the config profile. The profile is not enabled and cannot be tested. + + Test '{0}' alert type message for profile name '{1}' diff --git a/src/Plugin.Discord/Globalization/pt-BR/pt-BR.xaml b/src/Plugin.Discord/Globalization/pt-BR/pt-BR.xaml index 87fd7a08..4d80d07e 100644 --- a/src/Plugin.Discord/Globalization/pt-BR/pt-BR.xaml +++ b/src/Plugin.Discord/Globalization/pt-BR/pt-BR.xaml @@ -7,17 +7,17 @@ Backup Erro - Mod Update Detected + Mod Update Detectado Desligar Mensagem de desligamento Motivo de desligamento Mudança de status do servidor - Começar + Ligar Resultados da atualização - Cancela + Cancelar Fechar OK Salva @@ -73,7 +73,7 @@ Isso substituirá o nome que você configurou no seu webhook. Deixe em branco para usar o padrão. Usar texto para fala (TTS) Se ativado, fará o bot anunciar com Texto e Voz, caso contrário, desativará Texto e Voz. - Mensagem de prefixo com nome do perfil do Serve Manager + Mensagem em prefixo do perfil Se ativada, a mensagem de alerta será enviada com o prefixo do nome do perfil do Serve Manager. Opções de mensagem Negrito @@ -98,7 +98,7 @@ Nome do perfil do Serve Manager Tipo de alerta - Teste + Testar Erro ao adicionar Ocorreu um erro ao tentar adicionar um tipo de alerta. diff --git a/src/Plugin.Discord/VersionFeed.xml b/src/Plugin.Discord/VersionFeed.xml index 15674491..46bc6d63 100644 --- a/src/Plugin.Discord/VersionFeed.xml +++ b/src/Plugin.Discord/VersionFeed.xml @@ -7,6 +7,35 @@ 2021-12-03T00:00:00Z + + urn:uuid:A9EC2F32-E026-485F-BD7B-C657DBA95B54 + 1.0.19 (1.0.19.1) + 1.0.19.1 + + 2021-12-09T00:00:00Z + +
+

+ BUGFIX +
+

    +
  • Fixed alert test message to support globalization.
  • +
+ NEW +
+
    +
  • de-DE Translation file added.
  • +
  • pt-BR Translation file added.
  • +
+

+
+
+ + bletch + bletch1971@hotmail.com + +
+ urn:uuid:C01A4AA0-D839-4732-9814-301DAC6EB094 1.0.18 (1.0.18.1) diff --git a/src/Plugin.Discord/VersionFeedBeta.xml b/src/Plugin.Discord/VersionFeedBeta.xml index 552f42bb..a012716b 100644 --- a/src/Plugin.Discord/VersionFeedBeta.xml +++ b/src/Plugin.Discord/VersionFeedBeta.xml @@ -5,28 +5,27 @@ Discord Plugin Version Feed This is the Discord Plugin beta version feed. - 2021-12-03T00:00:00Z + 2021-12-09T00:00:00Z - urn:uuid:C01A4AA0-D839-4732-9814-301DAC6EB094 - 1.0.18 (1.0.18.1) - 1.0.18.1 + urn:uuid:A9EC2F32-E026-485F-BD7B-C657DBA95B54 + 1.0.19 (1.0.19.1) + 1.0.19.1 - 2021-12-03T00:00:00Z + 2021-12-09T00:00:00Z

+ BUGFIX +
+

    +
  • Fixed alert test message to support globalization.
  • +
NEW
  • de-DE Translation file added.
  • pt-BR Translation file added.
  • -
  • zh-CN Translation file added.
  • -
- CHANGE -
-
    -
  • Have enabled globalization support for the plugin.

diff --git a/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs b/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs index 973f1e45..0b8487b4 100644 --- a/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs +++ b/src/Plugin.Discord/Windows/ConfigProfileWindow.xaml.cs @@ -118,7 +118,8 @@ namespace ServerManagerTool.Plugin.Discord.Windows { foreach (var alertType in Profile.AlertTypes) { - Plugin.HandleAlert(Profile, alertType.Value, profileName.Value, $"Test '{alertType.Value}' message for profile name '{profileName.Value}'."); + var testMessage = string.Format(ResourceUtils.GetResourceString(this.Resources, "ConfigProfileWindow_TestAlertMessage"), alertType.Value, profileName.Value); + Plugin.HandleAlert(Profile, alertType.Value, profileName.Value, testMessage); Task.Delay(1000).Wait(); } }