Localize wires window title (#19577)
* Localize wires window title * Reset
This commit is contained in:
@@ -9,7 +9,7 @@ public sealed partial class WiresComponent : Component
|
||||
/// The name of this entity's internal board.
|
||||
/// </summary>
|
||||
[DataField("BoardName")]
|
||||
public string BoardName { get; set; } = "Wires";
|
||||
public string BoardName { get; set; } = "wires-board-name-default";
|
||||
|
||||
/// <summary>
|
||||
/// The layout ID of this entity's wires.
|
||||
|
||||
@@ -595,7 +595,7 @@ public sealed class WiresSystem : SharedWiresSystem
|
||||
_uiSystem.TrySetUiState(uid, WiresUiKey.Key, new WiresBoundUserInterfaceState(
|
||||
clientList.ToArray(),
|
||||
statuses.Select(p => new StatusEntry(p.key, p.value)).ToArray(),
|
||||
wires.BoardName,
|
||||
Loc.GetString(wires.BoardName),
|
||||
wires.SerialNumber,
|
||||
wires.WireSeed), ui: ui);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user