From 1b1e29cbfef543aa2411de7b9228c03900b4bfe4 Mon Sep 17 00:00:00 2001 From: FelixSe Date: Sun, 16 Jun 2019 12:39:06 +0200 Subject: [PATCH] Localize ssh profiles gui --- FluentTerminal.App/Dialogs/SshInfoDialog.xaml | 26 +++++----- FluentTerminal.App/Strings/de/Resources.resw | 48 ++++++++++++++++--- FluentTerminal.App/Strings/en/Resources.resw | 31 +++++++++++- FluentTerminal.App/Strings/es/Resources.resw | 39 +++++++++++++-- .../Strings/zh-CN/Resources.resw | 36 ++++++++++++-- .../SettingsPages/SshProfileSettings.xaml | 23 ++++----- .../Views/SettingsPages/ThemeSettings.xaml | 43 ++++++++++------- 7 files changed, 188 insertions(+), 58 deletions(-) diff --git a/FluentTerminal.App/Dialogs/SshInfoDialog.xaml b/FluentTerminal.App/Dialogs/SshInfoDialog.xaml index 0275765b..26deb62d 100644 --- a/FluentTerminal.App/Dialogs/SshInfoDialog.xaml +++ b/FluentTerminal.App/Dialogs/SshInfoDialog.xaml @@ -59,11 +59,11 @@ - - + + - - + + @@ -77,6 +77,7 @@ x:Uid="UserTextBox" Grid.Row="0" Grid.Column="0" + Width="140" PlaceholderText="user" Text="{Binding Username, Mode=TwoWay}" /> @@ -118,8 +120,8 @@ x:Uid="BrowseButton" Grid.Row="1" Grid.Column="4" - Width="76" - Margin="0,10,0,0" + Margin="0,10,4,0" + HorizontalAlignment="Stretch" Click="BrowseButtonOnClick" Content="Browse" /> @@ -255,8 +256,7 @@ + Grid.ColumnSpan="5"> @@ -265,7 +265,7 @@ x:Uid="SaveShortcutButton" Grid.Row="0" Grid.Column="1" - Margin="0,0,2,0" + Margin="0,10,4,0" HorizontalAlignment="Stretch" Click="SaveLink_OnClick" Content="Save Shortcut" /> diff --git a/FluentTerminal.App/Strings/de/Resources.resw b/FluentTerminal.App/Strings/de/Resources.resw index 034c68ab..324be0b9 100644 --- a/FluentTerminal.App/Strings/de/Resources.resw +++ b/FluentTerminal.App/Strings/de/Resources.resw @@ -336,7 +336,7 @@ Fuzzy ThemeSettings.xaml - Text kopiert + Informieren wenn Text kopiert wurde TerminalSettings.xaml @@ -396,7 +396,7 @@ Fuzzy ThemeSettings.xaml - Tastaturkürzel + Tastaturbelegung ShellProfileSettings.xaml @@ -416,7 +416,7 @@ Fuzzy ShellProfileSettings.xaml - Zeilenenden-Anpassung bei Einfügen + Zeilenenden-Anpassung beim Einfügen: ShellProfileSettings.xaml @@ -436,7 +436,7 @@ Fuzzy MouseSettings.xaml - EInfügen + Einfügen MouseSettings.xaml @@ -512,7 +512,7 @@ Fuzzy TerminalSettings.xaml - Theme + Theme: ThemeSettings.xaml @@ -637,7 +637,7 @@ Fuzzy Command - Leeren + Bildschirm leeren Command @@ -832,4 +832,40 @@ Fuzzy Sind Sie sicher dass Sie dieses Profil löschen wollen? + + Neues SSH-Fenster + + + Neuer Tab mit SSH-Profil + + + Neues Fenster mit SSH-Profil + + + SSH-Profile + Fuzzy + + + Tab-Farbe: + Fuzzy + + + ConPty verwenden + Fuzzy + + + Benutzer + Fuzzy + + + Von Port + Fuzzy + + + bis Port + Fuzzy + + + Mosh-Ports + \ No newline at end of file diff --git a/FluentTerminal.App/Strings/en/Resources.resw b/FluentTerminal.App/Strings/en/Resources.resw index 3f74b81e..875f76c9 100644 --- a/FluentTerminal.App/Strings/en/Resources.resw +++ b/FluentTerminal.App/Strings/en/Resources.resw @@ -426,7 +426,7 @@ Fuzzy ShellProfileSettings.xaml - Line ending translation mode on paste + Line ending translation mode on paste: ShellProfileSettings.xaml @@ -522,7 +522,7 @@ Fuzzy TerminalSettings.xaml - Theme + Theme: ThemeSettings.xaml @@ -879,4 +879,31 @@ Fuzzy New window for SSH profile + + SSH Profiles + Fuzzy + + + Tab color: + Fuzzy + + + Use ConPty + Fuzzy + + + Username + Fuzzy + + + From port + Fuzzy + + + to port + Fuzzy + + + Mosh port range + \ No newline at end of file diff --git a/FluentTerminal.App/Strings/es/Resources.resw b/FluentTerminal.App/Strings/es/Resources.resw index 23d7e940..25026e1e 100644 --- a/FluentTerminal.App/Strings/es/Resources.resw +++ b/FluentTerminal.App/Strings/es/Resources.resw @@ -223,8 +223,7 @@ Arrancar al encender - GeneralSettings.xaml -Fuzzy + GeneralSettings.xaml Opciones @@ -822,12 +821,42 @@ Fuzzy Ninguno - New output + Nueva entrada - Exited with error + Se salió con error - Are you sure you want to delete this profile? + ¿Quieres eliminar este perfil? + + + New SSH window + + + New tab for SSH profile + + + New window for SSH profile + + + SSH Profiles + + + Tab color: + + + Use ConPty + + + Username + + + From port + + + to port + + + Mosh port range \ No newline at end of file diff --git a/FluentTerminal.App/Strings/zh-CN/Resources.resw b/FluentTerminal.App/Strings/zh-CN/Resources.resw index b77d1311..7b5ed1fc 100644 --- a/FluentTerminal.App/Strings/zh-CN/Resources.resw +++ b/FluentTerminal.App/Strings/zh-CN/Resources.resw @@ -862,12 +862,42 @@ Fuzzy - New output + 新输出 - Exited with error + 进程退出错误 - Are you sure you want to delete this profile? + 确定删除这个配置文件吗? + + + New SSH window + + + New tab for SSH profile + + + New window for SSH profile + + + SSH Profiles + + + Tab color: + + + Use ConPty + + + Username + + + From port + + + to port + + + Mosh port range \ No newline at end of file diff --git a/FluentTerminal.App/Views/SettingsPages/SshProfileSettings.xaml b/FluentTerminal.App/Views/SettingsPages/SshProfileSettings.xaml index 1e9ba295..789b2dcc 100644 --- a/FluentTerminal.App/Views/SettingsPages/SshProfileSettings.xaml +++ b/FluentTerminal.App/Views/SettingsPages/SshProfileSettings.xaml @@ -114,12 +114,11 @@ + Text="{x:Bind Converter={StaticResource I18NConverter},ConverterParameter=Setting_SShProfiles.Content}" /> @@ -305,9 +303,8 @@ @@ -170,7 +175,10 @@ Margin="0,0,6,0"> - + @@ -211,19 +219,19 @@ @@ -243,14 +251,17 @@ - +