Implement fluent for some Menu files (#3893)

This commit is contained in:
Visne
2021-05-21 15:39:33 +02:00
committed by GitHub
parent e9844e8c4c
commit d97dd4400d
15 changed files with 134 additions and 59 deletions

View File

@@ -26,7 +26,7 @@ namespace Content.Client.GameObjects.Components.Configuration
_inputs = new List<(string name, LineEdit input)>();
Title = Loc.GetString("Device Configuration");
Title = Loc.GetString("configuration-menu-device-title");
_baseContainer = new VBoxContainer
{
@@ -48,7 +48,7 @@ namespace Content.Client.GameObjects.Components.Configuration
var confirmButton = new Button
{
Text = Loc.GetString("Confirm"),
Text = Loc.GetString("configuration-menu-confirm"),
HorizontalAlignment = HAlignment.Center,
VerticalAlignment = VAlignment.Center
};

View File

@@ -147,14 +147,14 @@ namespace Content.Client.GameObjects.Components.Wires
{
(_nameLabel = new Label
{
Text = Loc.GetString("Wires"),
Text = Loc.GetString("wires-menu-name-label"),
FontOverride = font,
FontColorOverride = StyleNano.NanoGold,
VerticalAlignment = VAlignment.Center,
}),
(_serialLabel = new Label
{
Text = Loc.GetString("DEAD-BEEF"),
Text = "DEAD-BEEF",
FontOverride = fontSmall,
FontColorOverride = Color.Gray,
VerticalAlignment = VAlignment.Center,