From 6e9e4aaf841f7fd91ac6685466179882233cf0b9 Mon Sep 17 00:00:00 2001 From: FaDeOkno Date: Tue, 6 Aug 2024 21:19:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4?= =?UTF-8?q?=D1=87=D0=B8=D0=BA=D0=B8=20=D0=B7=D0=B0=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D0=B8=20=D0=BA=D0=B0=D0=BA=20=D0=BD=D0=B0?= =?UTF-8?q?=D0=B4=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Language/UI/LanguageMenuWindow.xaml.cs | 39 ++++++++----------- .../Languages/LanguageMenuUIController.cs | 1 - .../ADT/Language/TranslatorSystem.cs | 21 ++++++++-- .../Components/HandheldTranslatorComponent.cs | 1 + .../Language/Systems/SharedLanguageSystem.cs | 18 ++++++++- .../ADT/prototypes/Actions/language-menu.ftl | 4 +- .../Entities/Objects/Device/translators.ftl | 4 +- 7 files changed, 56 insertions(+), 32 deletions(-) diff --git a/Content.Client/ADT/Language/UI/LanguageMenuWindow.xaml.cs b/Content.Client/ADT/Language/UI/LanguageMenuWindow.xaml.cs index 087a8a93a3d..095e5148ff9 100644 --- a/Content.Client/ADT/Language/UI/LanguageMenuWindow.xaml.cs +++ b/Content.Client/ADT/Language/UI/LanguageMenuWindow.xaml.cs @@ -41,20 +41,19 @@ public void UpdateState(LanguageMenuStateMessage state) { CurrentLanguageLabel.Text = Loc.GetString("language-menu-current-language", ("language", _language.GetLanguage(state.CurrentLanguage).LocalizedName)); - //OptionsList.RemoveAllChildren(); List options = new(); List