Make location in crew monitoring console localizable (#40247)
This commit is contained in:
parent
d3f0290c5c
commit
e948958e08
|
|
@ -64,7 +64,9 @@ public sealed partial class CrewMonitoringNavMapControl : NavMapControl
|
|||
if (!LocalizedNames.TryGetValue(netEntity, out var name))
|
||||
name = "Unknown";
|
||||
|
||||
var message = name + "\nLocation: [x = " + MathF.Round(blip.Coordinates.X) + ", y = " + MathF.Round(blip.Coordinates.Y) + "]";
|
||||
var message = name + "\n" + Loc.GetString("navmap-location",
|
||||
("x", MathF.Round(blip.Coordinates.X)),
|
||||
("y", MathF.Round(blip.Coordinates.Y)));
|
||||
|
||||
_trackedEntityLabel.Text = message;
|
||||
_trackedEntityPanel.Visible = true;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
navmap-zoom = Zoom: {$value}x
|
||||
navmap-recenter = Recenter
|
||||
navmap-toggle-beacons = Show departments
|
||||
navmap-location = Location: [x = {$x}, y = {$y}]
|
||||
|
|
|
|||
Loading…
Reference in New Issue