mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Server Monitor Changes
- fixed the display of the map name. - added the ports as a grid column. - language file update
This commit is contained in:
parent
09659d9ae2
commit
f51e92c5a2
17 changed files with 175 additions and 51 deletions
|
|
@ -16,7 +16,7 @@ namespace ServerManagerTool.Lib.ViewModel
|
|||
if (valueString == null)
|
||||
return string.Empty;
|
||||
|
||||
var name = GlobalizedApplication.Instance.GetResourceString(valueString);
|
||||
var name = GlobalizedApplication.Instance.GetResourceString($"Map_{valueString}");
|
||||
if (!string.IsNullOrWhiteSpace(name))
|
||||
return name;
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ namespace ServerManagerTool.Lib.ViewModel
|
|||
var mapName = ModUtils.GetMapName(valueString);
|
||||
|
||||
// check if the name is stored in the globalization file
|
||||
name = GlobalizedApplication.Instance.GetResourceString(mapName);
|
||||
name = GlobalizedApplication.Instance.GetResourceString($"Map_{mapName}");
|
||||
if (!string.IsNullOrWhiteSpace(name))
|
||||
return name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue