From b4429354c3147f7bdbb80cfb49b0e9b5f30619cc Mon Sep 17 00:00:00 2001 From: Slavasil Date: Sun, 26 Apr 2026 21:40:39 +0300 Subject: [PATCH] translate settings window to English --- src/KeyKeeper/{Views => }/AppSettings.cs | 0 src/KeyKeeper/SettingsWindow.cs | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/KeyKeeper/{Views => }/AppSettings.cs (100%) diff --git a/src/KeyKeeper/Views/AppSettings.cs b/src/KeyKeeper/AppSettings.cs similarity index 100% rename from src/KeyKeeper/Views/AppSettings.cs rename to src/KeyKeeper/AppSettings.cs diff --git a/src/KeyKeeper/SettingsWindow.cs b/src/KeyKeeper/SettingsWindow.cs index bf08122..6f38710 100644 --- a/src/KeyKeeper/SettingsWindow.cs +++ b/src/KeyKeeper/SettingsWindow.cs @@ -10,7 +10,7 @@ public class SettingsWindow : Window public SettingsWindow() { // Базовые параметры окна - this.Title = "Настройки"; + this.Title = "Settings"; this.Width = 450; this.Height = 250; this.MinWidth = 450; @@ -29,7 +29,7 @@ public class SettingsWindow : Window // Заголовок окна var titleText = new TextBlock { - Text = "Настройки приложения", + Text = "App Settings", FontSize = 20, FontWeight = FontWeight.Bold, Margin = new Thickness(0, 0, 0, 10) @@ -38,7 +38,7 @@ public class SettingsWindow : Window // Чекбокс (Галочка) var exitOnCloseCheckBox = new CheckBox { - Content = "Завершение работы KeyKeeper при закрытии хранилища", + Content = "Exit KeyKeeper when closing vault", FontSize = 14, // Подгружаем сохраненное состояние из статического класса IsChecked = AppSettings.ExitOnRepositoryClose @@ -58,4 +58,4 @@ public class SettingsWindow : Window // Назначаем стек основным контентом окна this.Content = mainStack; } -} \ No newline at end of file +}