mirror of
https://github.com/Tribufu/ServerManagers
synced 2026-08-09 12:41:06 +00:00
Language file updates
Changed alert test message to support globalization
This commit is contained in:
parent
6423dfc293
commit
717ad0a697
6 changed files with 52 additions and 21 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue