Wires ui tooltip localization (#32284)
* Wires ui tooltip localization * Corrections after review
This commit is contained in:
@@ -584,17 +584,10 @@ namespace Content.Client.Wires.UI
|
|||||||
|
|
||||||
private sealed class HelpPopup : Popup
|
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()
|
public HelpPopup()
|
||||||
{
|
{
|
||||||
var label = new RichTextLabel();
|
var label = new RichTextLabel();
|
||||||
label.SetMessage(Text);
|
label.SetMessage(Loc.GetString("wires-menu-help-popup"));
|
||||||
AddChild(new PanelContainer
|
AddChild(new PanelContainer
|
||||||
{
|
{
|
||||||
StyleClasses = {ExamineSystem.StyleClassEntityTooltip},
|
StyleClasses = {ExamineSystem.StyleClassEntityTooltip},
|
||||||
|
|||||||
@@ -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-name-label = Wires
|
||||||
wires-menu-dead-beef-text = DEAD-BEEF
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user