Rename credits to spacebucks & integrate with cargo (#9119)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
xmlns:userInterface="clr-namespace:Content.Client.UserInterface"
|
||||
SetSize="600 600"
|
||||
MinSize="600 600">
|
||||
<BoxContainer Orientation="Vertical">
|
||||
<BoxContainer Orientation="Vertical" Margin="5 0 5 0">
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<Label Text="{Loc 'cargo-console-menu-account-name-label'}"
|
||||
StyleClasses="LabelKeyText" />
|
||||
@@ -14,7 +14,7 @@
|
||||
<Label Text="{Loc 'cargo-console-menu-points-label'}"
|
||||
StyleClasses="LabelKeyText" />
|
||||
<Label Name="PointsLabel"
|
||||
Text="0" />
|
||||
Text="0$" />
|
||||
</BoxContainer>
|
||||
<BoxContainer Orientation="Horizontal">
|
||||
<Label Text="{Loc 'cargo-console-menu-order-capacity-label'}"
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace Content.Client.Cargo.UI
|
||||
{
|
||||
Product = prototype,
|
||||
ProductName = { Text = prototype.Name },
|
||||
PointCost = { Text = prototype.PointCost.ToString() },
|
||||
PointCost = { Text = Loc.GetString("cargo-console-menu-points-amount", ("amount", prototype.PointCost.ToString())) },
|
||||
Icon = { Texture = _spriteSystem.Frame0(prototype.Icon) },
|
||||
};
|
||||
button.MainButton.OnPressed += args =>
|
||||
@@ -171,7 +171,7 @@ namespace Content.Client.Cargo.UI
|
||||
public void UpdateBankData(string name, int points)
|
||||
{
|
||||
AccountNameLabel.Text = name;
|
||||
PointsLabel.Text = points.ToString();
|
||||
PointsLabel.Text = Loc.GetString("cargo-console-menu-points-amount", ("amount", points.ToString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</PanelContainer.PanelOverride>
|
||||
<Label Name="PointCost"
|
||||
Access="Public"
|
||||
MinSize="40 32"
|
||||
MinSize="52 32"
|
||||
Align="Right" />
|
||||
</PanelContainer>
|
||||
</BoxContainer>
|
||||
|
||||
Reference in New Issue
Block a user