mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 16:41:36 -07:00
Reformat displaying of server type
This commit is contained in:
parent
69a059e27b
commit
299645ed15
9
Bloxstrap/Resources/Strings.Designer.cs
generated
9
Bloxstrap/Resources/Strings.Designer.cs
generated
@ -594,15 +594,6 @@ namespace Bloxstrap.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {0} server.
|
||||
/// </summary>
|
||||
public static string ContextMenu_ServerInformation_TypeFormat {
|
||||
get {
|
||||
return ResourceManager.GetString("ContextMenu.ServerInformation.TypeFormat", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Add FastFlag.
|
||||
/// </summary>
|
||||
|
@ -300,9 +300,6 @@ Click for more information</value>
|
||||
<data name="ContextMenu.ServerInformation.Type" xml:space="preserve">
|
||||
<value>Type</value>
|
||||
</data>
|
||||
<data name="ContextMenu.ServerInformation.TypeFormat" xml:space="preserve">
|
||||
<value>{0} server</value>
|
||||
</data>
|
||||
<data name="Dialog.AddFastFlag.Title" xml:space="preserve">
|
||||
<value>Add FastFlag</value>
|
||||
</data>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user