Update locale

This commit is contained in:
Morb0
2024-11-19 19:12:09 +03:00
parent cb477cab1b
commit 2dcd924eba
6 changed files with 17 additions and 0 deletions

View File

@@ -93,6 +93,18 @@
HorizontalExpand="True"
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
/>
<!-- Corvax-Sponsor-Start -->
<ui:MenuButton
Name="SponsorButton"
Visible="False"
Access="Internal"
Icon="{xe:Tex '/Textures/Interface/cut-diamond.svg.png'}"
ToolTip="{Loc 'game-hud-open-sponsor-menu-button-tooltip'}"
MinSize="42 64"
HorizontalExpand="True"
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
/>
<!-- Corvax-Sponsor-End -->
<ui:MenuButton
Name="AHelpButton"
Access="Internal"

View File

@@ -10,6 +10,7 @@ namespace Content.Client.UserInterface.Systems.MenuBar.Widgets
public GameTopMenuBar()
{
RobustXamlLoader.Load(this);
SponsorButton.Visible = IoCManager.Instance!.TryResolveType<Content.Corvax.Interfaces.Shared.ISharedSponsorsManager>(out _); // Corvax-Sponsor
}
}
}

View File

@@ -7,3 +7,4 @@ game-hud-open-crafting-menu-button-tooltip = Открыть меню созда
game-hud-open-actions-menu-button-tooltip = Открыть меню действий.
game-hud-open-admin-menu-button-tooltip = Открыть меню администратора.
game-hud-open-sandbox-menu-button-tooltip = Открыть меню песочницы.
game-hud-open-sponsor-menu-button-tooltip = Открыть меню спонсора.

View File

@@ -0,0 +1 @@
<svg style="height: 512px; width: 512px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><g class="" style="" transform="translate(0,0)"><path d="M92.906 94.813l60.438 79.75 78.125-79.75H92.905zm189.25 0L359.25 173.5l58.688-78.688H282.155zm-25.344.843l-84.718 86.47H341.53l-84.717-86.47zm177.907 7.906l-58.626 78.563H494.53l-59.81-78.563zm-358.064.75l-57.78 77.813h116.78l-59-77.813zm-58.5 96.5L226.562 429.22 143.344 200.81H18.156zm145.063 0l93.593 256.844 93.593-256.844H163.22zm207.06 0L287.064 429.22 495.469 200.81H370.28z" fill="#fff" fill-opacity="1"></path></g></svg>

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,2 @@
sample:
filter: true