Wires ui tooltip localization (#32284)

* Wires ui tooltip localization

* Corrections after review
This commit is contained in:
chavonadelal
2024-09-18 22:10:53 +03:00
committed by GitHub
parent 697f4f5ef9
commit 9fad1ab14e
2 changed files with 7 additions and 8 deletions

View File

@@ -584,17 +584,10 @@ namespace Content.Client.Wires.UI
private sealed class HelpPopup : Popup
{
private const string Text = "Click on the gold contacts with a multitool in hand to pulse their wire.\n" +
"Click on the wires with a pair of wirecutters in hand to cut/mend them.\n\n" +
"The lights at the top show the state of the machine, " +
"messing with wires will probably do stuff to them.\n" +
"Wire layouts are different each round, " +
"but consistent between machines of the same type.";
public HelpPopup()
{
var label = new RichTextLabel();
label.SetMessage(Text);
label.SetMessage(Loc.GetString("wires-menu-help-popup"));
AddChild(new PanelContainer
{
StyleClasses = {ExamineSystem.StyleClassEntityTooltip},

View File

@@ -10,3 +10,9 @@ wires-component-ui-on-receive-message-cannot-mend-uncut-wire = You can't mend a
wires-menu-name-label = Wires
wires-menu-dead-beef-text = DEAD-BEEF
wires-menu-help-popup =
Click on the gold contacts with a multitool in hand to pulse their wire.
Click on the wires with a pair of wirecutters in hand to cut/mend them.
The lights at the top show the state of the machine, messing with wires will probably do stuff to them.
Wire layouts are different each round, but consistent between machines of the same type.