diff --git a/Bloxstrap/Resources/Strings.Designer.cs b/Bloxstrap/Resources/Strings.Designer.cs index 998250b..cc35677 100644 --- a/Bloxstrap/Resources/Strings.Designer.cs +++ b/Bloxstrap/Resources/Strings.Designer.cs @@ -594,15 +594,6 @@ namespace Bloxstrap.Resources { } } - /// - /// Looks up a localized string similar to {0} server. - /// - public static string ContextMenu_ServerInformation_TypeFormat { - get { - return ResourceManager.GetString("ContextMenu.ServerInformation.TypeFormat", resourceCulture); - } - } - /// /// Looks up a localized string similar to Add FastFlag. /// diff --git a/Bloxstrap/Resources/Strings.resx b/Bloxstrap/Resources/Strings.resx index 2feb7fb..b88f07b 100644 --- a/Bloxstrap/Resources/Strings.resx +++ b/Bloxstrap/Resources/Strings.resx @@ -300,9 +300,6 @@ Click for more information Type - - {0} server - Add FastFlag diff --git a/Bloxstrap/UI/ViewModels/ContextMenu/ServerInformationViewModel.cs b/Bloxstrap/UI/ViewModels/ContextMenu/ServerInformationViewModel.cs index 89b1439..71d50c3 100644 --- a/Bloxstrap/UI/ViewModels/ContextMenu/ServerInformationViewModel.cs +++ b/Bloxstrap/UI/ViewModels/ContextMenu/ServerInformationViewModel.cs @@ -11,9 +11,7 @@ namespace Bloxstrap.UI.ViewModels.ContextMenu private readonly ActivityWatcher _activityWatcher; public string InstanceId => _activityWatcher.ActivityJobId; - public string ServerType => string.Format( - Resources.Strings.ContextMenu_ServerInformation_TypeFormat, - Resources.Strings.ResourceManager.GetStringSafe($"Enums.ServerType.{_activityWatcher.ActivityServerType}")); + public string ServerType => Resources.Strings.ResourceManager.GetStringSafe($"Enums.ServerType.{_activityWatcher.ActivityServerType}"); public string ServerLocation { get; private set; } = Resources.Strings.ContextMenu_ServerInformation_Loading; public ICommand CopyInstanceIdCommand => new RelayCommand(CopyInstanceId);