translate labels back to English

This commit is contained in:
2025-12-05 19:05:15 +03:00
parent 1687d9f078
commit b35b38cd57
4 changed files with 12 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ public class AboutWindow : Window
{ {
public AboutWindow() public AboutWindow()
{ {
this.Title = "О приложении"; this.Title = "About";
this.Width = 600; this.Width = 600;
this.Height = 400; this.Height = 400;
@@ -24,7 +24,10 @@ public class AboutWindow : Window
var AboutText = new TextBlock var AboutText = new TextBlock
{ {
Text = "KeyKeeper - личный менеджер паролей и ключей,\nгде пользователь сможет сохранять свои логины, пароли, адреса электронной почты, ключи восстановления с различных веб-сайтов и\nиз приложений и управлять ими. Ключи и пароли\nбудут храниться исключительно локально на\nкомпьютере пользователя и всё хранилище\nцеликом можно будет защитить мастер-паролем.", Text = "KeyKeeper is a personal password and key manager\n" +
"where you can save passwords and other login\n" +
"information, configure one-time code generation,\n" +
"and create encryption keys for personal use.\n",
HorizontalAlignment = HorizontalAlignment.Left, HorizontalAlignment = HorizontalAlignment.Left,
FontSize = 16, FontSize = 16,
TextAlignment = TextAlignment.Left, TextAlignment = TextAlignment.Left,

View File

@@ -7,12 +7,12 @@ public class SettingsWindow : Window
{ {
public SettingsWindow() public SettingsWindow()
{ {
this.Title = "Настройки"; this.Title = "Settings";
this.Width = 400; this.Width = 400;
this.Height = 300; this.Height = 300;
var textBlock = new TextBlock var textBlock = new TextBlock
{ {
Text = "Окно настроек", Text = "Settings window",
HorizontalAlignment = Avalonia.Layout.HorizontalAlignment.Center, HorizontalAlignment = Avalonia.Layout.HorizontalAlignment.Center,
VerticalAlignment = Avalonia.Layout.VerticalAlignment.Center, VerticalAlignment = Avalonia.Layout.VerticalAlignment.Center,
FontSize = 16 FontSize = 16

View File

@@ -24,12 +24,12 @@ namespace KeyKeeper.Views
{ {
var file = await StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions var file = await StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
{ {
Title = "Создать новое хранилище паролей", Title = "Create new password store",
SuggestedFileName = "passwords.kkp", SuggestedFileName = "passwords.kkp",
DefaultExtension = "kkp", DefaultExtension = "kkp",
FileTypeChoices = new[] FileTypeChoices = new[]
{ {
new FilePickerFileType("Хранилище KeyKeeper") new FilePickerFileType("KeyKeeper files")
{ {
Patterns = new[] { "*.kkp" } Patterns = new[] { "*.kkp" }
} }
@@ -68,11 +68,11 @@ namespace KeyKeeper.Views
AllowMultiple = false, AllowMultiple = false,
FileTypeFilter = new[] FileTypeFilter = new[]
{ {
new FilePickerFileType("Хранилище KeyKeeper") new FilePickerFileType("KeyKeeper files")
{ {
Patterns = new[] { "*.kkp" } Patterns = new[] { "*.kkp" }
}, },
new FilePickerFileType("Все файлы") new FilePickerFileType("All files")
{ {
Patterns = new[] { "*.*" } Patterns = new[] { "*.*" }
} }

View File

@@ -2,7 +2,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:KeyKeeper.ViewModels" xmlns:vm="using:KeyKeeper.ViewModels"
x:Class="KeyKeeper.Views.RepositoryWindow" x:Class="KeyKeeper.Views.RepositoryWindow"
Title="KeyKeeper - Хранилище паролей" Title="KeyKeeper - Password store"
CanResize="False" CanResize="False"
Width="800" Width="800"
Height="600" Height="600"