diff --git a/src/ui/i18n/en.rs b/src/ui/i18n/en.rs index e6409e5a..9770cf97 100644 --- a/src/ui/i18n/en.rs +++ b/src/ui/i18n/en.rs @@ -261,7 +261,7 @@ pub fn translate_en(key: L10nKey) -> &'static str { L10nKey::SettingsMacsDesc => "Comma-separated (blank = default).", L10nKey::SettingsHostKeyAlgorithms => "Host-key algorithms", L10nKey::SettingsHostKeyAlgorithmsDesc => "Comma-separated (blank = default).", - L10nKey::SettingsCompression => "Compression", + L10nKey::SettingsCompression => "Compression algorithms", L10nKey::SettingsJumpHostVia => "via {jump_name}", L10nKey::SettingsConnected => "connected", L10nKey::SettingsProfileCopied => "{name} (copy)", diff --git a/src/ui/i18n/ja.rs b/src/ui/i18n/ja.rs index 93d77ed5..3924c342 100644 --- a/src/ui/i18n/ja.rs +++ b/src/ui/i18n/ja.rs @@ -259,7 +259,7 @@ pub fn translate_ja(key: L10nKey) -> Option<&'static str> { L10nKey::SettingsMacsDesc => "カンマ区切り(空欄 = デフォルト)", L10nKey::SettingsHostKeyAlgorithms => "ホストキーアルゴリズム", L10nKey::SettingsHostKeyAlgorithmsDesc => "カンマ区切り(空欄 = デフォルト)", - L10nKey::SettingsCompression => "圧縮", + L10nKey::SettingsCompression => "圧縮アルゴリズム", L10nKey::SettingsJumpHostVia => "{jump_name} 経由", L10nKey::SettingsConnected => "接続済み", L10nKey::SettingsProfileCopied => "{name}(コピー)", diff --git a/src/ui/i18n/zh.rs b/src/ui/i18n/zh.rs index 01603c09..60ee2fd5 100644 --- a/src/ui/i18n/zh.rs +++ b/src/ui/i18n/zh.rs @@ -231,7 +231,7 @@ pub fn translate_zh(key: L10nKey) -> Option<&'static str> { L10nKey::SettingsMacsDesc => "逗号分隔(留空 = 默认值)。", L10nKey::SettingsHostKeyAlgorithms => "主机密钥算法", L10nKey::SettingsHostKeyAlgorithmsDesc => "逗号分隔(留空 = 默认值)。", - L10nKey::SettingsCompression => "压缩", + L10nKey::SettingsCompression => "压缩算法", L10nKey::SettingsJumpHostVia => "经由 {jump_name}", L10nKey::SettingsConnected => "已连接", L10nKey::SettingsProfileCopied => "{name}(副本)", diff --git a/src/ui/settings.rs b/src/ui/settings.rs index abe6146c..507b8fd1 100644 --- a/src/ui/settings.rs +++ b/src/ui/settings.rs @@ -3440,7 +3440,9 @@ impl Tty7App { &form.hostkey, cx, )) - .child(self.subgroup_header(L10nKey::SettingsGroupConnection, cx)) + // Compression here is the algorithm list russh negotiates, not + // ssh_config's yes/no switch, so it belongs with the other three + // lists rather than under Connection with the keepalives. .child(text_row( self, t(L10nKey::SettingsCompression), @@ -3448,6 +3450,7 @@ impl Tty7App { &form.compression, cx, )) + .child(self.subgroup_header(L10nKey::SettingsGroupConnection, cx)) .child(text_row( self, t(L10nKey::SettingsKeepaliveInterval),