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);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,39 @@
|
||||
# titles that get displayed in the wire hacking window
|
||||
wires-board-name-default = Wires
|
||||
wires-board-name-booze = BoozeDispenser
|
||||
wires-board-name-soda = SodaDispenser
|
||||
wires-board-name-thermomachine = Thermomachine
|
||||
wires-board-name-pa = Mk2 Particle Accelerator
|
||||
wires-board-name-highsec = HighSec Control
|
||||
wires-board-name-vessel = Vessel
|
||||
wires-board-name-smes = SMES
|
||||
wires-board-name-substation = Substation
|
||||
wires-board-name-apc = APC
|
||||
wires-board-name-autolathe = Autolathe
|
||||
wires-board-name-protolathe = Protolathe
|
||||
wires-board-name-airalarm = Air Alarm
|
||||
wires-board-name-firealarm = Fire Alarm
|
||||
wires-board-name-arcade = Arcade
|
||||
wires-board-name-ape = Ape
|
||||
wires-board-name-anomalygenerator = AnomalyGenerator
|
||||
wires-board-name-cloningpod = CloningPod
|
||||
wires-board-name-cryopod = Cryo pod
|
||||
wires-board-name-chemdispenser = ChemDispenser
|
||||
wires-board-name-chemmaster = ChemMaster
|
||||
wires-board-name-generator = Generator
|
||||
wires-board-name-vendingmachine = Vending Machine
|
||||
wires-board-name-intercom = Intercom
|
||||
wires-board-name-hydroponicstray = HydroponicsTray
|
||||
wires-board-name-telecomserver = TelecomServer
|
||||
wires-board-name-medicalscanner = MedicalScanner
|
||||
wires-board-name-reclaimer = Reclaimer
|
||||
wires-board-name-minigravitygenerator = MiniGravityGenerator
|
||||
wires-board-name-dawinstrument = DawInstrument
|
||||
wires-board-name-airlock = Airlock Control
|
||||
wires-board-name-firelock = Firelock Control
|
||||
wires-board-name-windoor = Windoor Control
|
||||
wires-board-name-mech = Mech
|
||||
wires-board-name-fatextractor = FatExtractor
|
||||
|
||||
# names that get displayed in the wire hacking hud & admin logs.
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@
|
||||
- type: WiresVisuals
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "DawInstrument"
|
||||
BoardName: wires-board-name-dawinstrument
|
||||
LayoutId: DawInstrument
|
||||
- type: Machine
|
||||
board: DawInstrumentMachineCircuitboard
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
- type: Clickable
|
||||
- type: WiresPanel
|
||||
- type: Wires #we just want the panel
|
||||
BoardName: Mech
|
||||
BoardName: wires-board-name-mech
|
||||
LayoutId: Mech
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
- type: Machine
|
||||
board: BoozeDispenserMachineCircuitboard
|
||||
- type: Wires
|
||||
BoardName: "BoozeDispenser"
|
||||
BoardName: wires-board-name-booze
|
||||
LayoutId: BoozeDispenser
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
- type: Machine
|
||||
board: ChemDispenserMachineCircuitboard
|
||||
- type: Wires
|
||||
BoardName: "ChemDispenser"
|
||||
BoardName: wires-board-name-chemdispenser
|
||||
LayoutId: ChemDispenser
|
||||
- type: UpgradePowerDraw
|
||||
powerDrawMultiplier: 0.75
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
- type: Machine
|
||||
board: SodaDispenserMachineCircuitboard
|
||||
- type: Wires
|
||||
BoardName: "SodaDispenser"
|
||||
BoardName: wires-board-name-soda
|
||||
LayoutId: SodaDispenser
|
||||
- type: GuideHelp
|
||||
guides:
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
usesApcPower: true
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Airlock Control"
|
||||
BoardName: wires-board-name-airlock
|
||||
LayoutId: Airlock
|
||||
- type: DoorSignalControl
|
||||
- type: DeviceNetwork
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
usesApcPower: true
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "HighSec Control"
|
||||
BoardName: wires-board-name-highsec
|
||||
LayoutId: HighSec
|
||||
alwaysRandomize: true
|
||||
- type: UserInterface
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
- type: WiresVisuals
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Firelock Control"
|
||||
BoardName: wires-board-name-firelock
|
||||
LayoutId: Firelock
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
|
||||
@@ -118,7 +118,7 @@
|
||||
usesApcPower: true
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Windoor Control"
|
||||
BoardName: wires-board-name-windoor
|
||||
LayoutId: Airlock
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
LayoutId: Arcade
|
||||
BoardName: "Arcade"
|
||||
BoardName: wires-board-name-arcade
|
||||
- type: ActivatableUI
|
||||
key: enum.SpaceVillainArcadeUiKey.Key
|
||||
- type: ActivatableUIRequiresPower
|
||||
@@ -128,7 +128,7 @@
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
LayoutId: Arcade
|
||||
BoardName: "Arcade"
|
||||
BoardName: wires-board-name-arcade
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.BlockGameUiKey.Key
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
- type: WiresVisuals
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Cryo pod"
|
||||
BoardName: wires-board-name-cryopod
|
||||
LayoutId: CryoPod
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
- type: Appearance
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Vessel"
|
||||
BoardName: wires-board-name-vessel
|
||||
LayoutId: Vessel
|
||||
- type: AmbientSound
|
||||
enabled: false
|
||||
@@ -175,7 +175,7 @@
|
||||
- type: WiresPanel
|
||||
- type: WiresVisuals
|
||||
- type: Wires
|
||||
BoardName: "Ape"
|
||||
BoardName: wires-board-name-ape
|
||||
LayoutId: Ape
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
@@ -264,7 +264,7 @@
|
||||
doAfterDelay: 5
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "AnomalyGenerator"
|
||||
BoardName: wires-board-name-anomalygenerator
|
||||
LayoutId: AnomalyGenerator
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
# Machine / Construction stuff
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "chem_master"
|
||||
BoardName: wires-board-name-chemmaster
|
||||
LayoutId: chem_master
|
||||
- type: Machine
|
||||
board: ChemMasterMachineCircuitboard
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
- Biomass
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "CloningPod"
|
||||
BoardName: wires-board-name-cloningpod
|
||||
LayoutId: CloningPod
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 200 #Receives most of its power from the console
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
board: FatExtractorMachineCircuitboard
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: FatExtractor
|
||||
BoardName: wires-board-name-fatextractor
|
||||
LayoutId: FatExtractor
|
||||
- type: Appearance
|
||||
- type: Speech
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
max: 1
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "MiniGravityGenerator"
|
||||
BoardName: wires-board-name-minigravitygenerator
|
||||
LayoutId: MiniGravityGenerator
|
||||
- type: Machine
|
||||
board: MiniGravityGeneratorCircuitboard
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
acts: ["Destruction"]
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Autolathe"
|
||||
BoardName: wires-board-name-autolathe
|
||||
LayoutId: Autolathe
|
||||
- type: ActivatableUI
|
||||
key: enum.LatheUiKey.Key
|
||||
@@ -185,7 +185,7 @@
|
||||
- type: Machine
|
||||
board: ProtolatheMachineCircuitboard
|
||||
- type: Wires
|
||||
BoardName: "Protolathe"
|
||||
BoardName: wires-board-name-protolathe
|
||||
LayoutId: Protolathe
|
||||
- type: MaterialStorage
|
||||
whitelist:
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
board: MaterialReclaimerMachineCircuitboard
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "reclaimer"
|
||||
BoardName: wires-board-name-reclaimer
|
||||
LayoutId: Reclaimer
|
||||
- type: MaterialReclaimer
|
||||
whitelist:
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
board: MedicalScannerMachineCircuitboard
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "MedicalScanner"
|
||||
BoardName: wires-board-name-medicalscanner
|
||||
LayoutId: MedicalScanner
|
||||
- type: Appearance
|
||||
- type: Climbable
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
board: TelecomServerCircuitboard
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "TelecomServer"
|
||||
BoardName: wires-board-name-telecomserver
|
||||
LayoutId: TelecomServer
|
||||
- type: Transform
|
||||
anchored: true
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
type: WiresBoundUserInterface
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Vending Machine"
|
||||
BoardName: wires-board-name-vendingmachine
|
||||
LayoutId: Vending
|
||||
- type: Anchorable
|
||||
- type: TypingIndicator
|
||||
|
||||
@@ -239,7 +239,7 @@
|
||||
key: enum.ThermomachineUiKey.Key
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Thermomachine"
|
||||
BoardName: wires-board-name-thermomachine
|
||||
LayoutId: Thermomachine
|
||||
- type: WiresVisuals
|
||||
- type: NodeContainer
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
type: WiresBoundUserInterface
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Mk2 Particle Accelerator"
|
||||
BoardName: wires-board-name-pa
|
||||
LayoutId: ParticleAccelerator
|
||||
|
||||
# Unfinished
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
# Construction, interaction
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Generator"
|
||||
BoardName: wires-board-name-generator
|
||||
LayoutId: Generator
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
- type: WallMount
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "APC"
|
||||
BoardName: wires-board-name-apc
|
||||
LayoutId: APC
|
||||
- type: WiresVisuals
|
||||
- type: Damageable
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
castShadows: false
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "SMES"
|
||||
BoardName: wires-board-name-smes
|
||||
LayoutId: SMES
|
||||
- type: Machine
|
||||
board: SMESMachineCircuitboard
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
totalIntensity: 200
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Substation"
|
||||
BoardName: wires-board-name-substation
|
||||
LayoutId: Substation
|
||||
- type: Machine
|
||||
board: SubstationMachineCircuitboard
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
type: WiresBoundUserInterface
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Air Alarm"
|
||||
BoardName: wires-board-name-airalarm
|
||||
LayoutId: AirAlarm
|
||||
- type: AccessReader
|
||||
access: [["Atmospherics"]]
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
type: WiresBoundUserInterface
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Fire Alarm"
|
||||
BoardName: wires-board-name-firealarm
|
||||
LayoutId: FireAlarm
|
||||
- type: Sprite
|
||||
sprite: Structures/Wallmounts/air_monitors.rsi
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
anchored: true
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "Intercom"
|
||||
BoardName: wires-board-name-intercom
|
||||
LayoutId: Intercom
|
||||
- type: ActivatableUIRequiresPower
|
||||
- type: ActivatableUI
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
board: HydroponicsTrayMachineCircuitboard
|
||||
- type: WiresPanel
|
||||
- type: Wires
|
||||
BoardName: "HydroponicsTray"
|
||||
BoardName: wires-board-name-hydroponicstray
|
||||
LayoutId: HydroponicsTray
|
||||
- type: AmbientSound
|
||||
volume: -9
|
||||
|
||||
Reference in New Issue
Block a user