diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml b/Content.Client/Lobby/UI/LobbyGui.xaml index ab4869aaad2..594160b9062 100644 --- a/Content.Client/Lobby/UI/LobbyGui.xaml +++ b/Content.Client/Lobby/UI/LobbyGui.xaml @@ -27,12 +27,12 @@ + VerticalAlignment="Center" Margin="20 0 0 450" /> - + @@ -61,11 +61,11 @@ Access="Public" ButtonText="{Loc 'ui-lobby-options-button'}" Margin="0 10 0 10" /> - + ButtonText="{Loc 'ui-lobby-open-votemenu'}" + Margin="0 10 0 10" /> - diff --git a/Content.Client/Lobby/UI/LobbyGui.xaml.cs b/Content.Client/Lobby/UI/LobbyGui.xaml.cs index 71f644dd440..b496ca93294 100644 --- a/Content.Client/Lobby/UI/LobbyGui.xaml.cs +++ b/Content.Client/Lobby/UI/LobbyGui.xaml.cs @@ -24,7 +24,7 @@ public LobbyGui() OptionsButton.OnPressed += _ => _userInterfaceManager.GetUIController().ToggleWindow(); // BACKMEN Edit Start - /*DiscordButton.OnPressed += _ => _stalinManager.RequestUri();*/ + VotemenuButton.OnPressed += _ => _consoleHost.ExecuteCommand("votemenu"); ChangelogButton.OnPressed += _ => UserInterfaceManager.GetUIController().ToggleWindow(); QuitButton.OnPressed += _ => _consoleHost.ExecuteCommand("disconnect"); // BACKMEN Edit End diff --git a/Resources/Locale/ru-RU/lobby/lobby-gui.ftl b/Resources/Locale/ru-RU/lobby/lobby-gui.ftl index c2ef3cefd32..15cd5a8bcb7 100644 --- a/Resources/Locale/ru-RU/lobby/lobby-gui.ftl +++ b/Resources/Locale/ru-RU/lobby/lobby-gui.ftl @@ -1,4 +1,5 @@ ui-lobby-title = Лобби: {$serverName} +ui-lobby-open-votemenu = Меню Голосований ui-lobby-ahelp-button = AHelp ui-lobby-options-button = Настройки ui-lobby-leave-button = Выйти