fix(copy): stop the shells explainer running three "and"s together

"Closing a tab ends its shell, and Restart server and Quit and Stop
Server end all of them" hides two UI names inside a chain of "and"s.
Quote them and split the clause, which is what the Chinese and Japanese
versions of this paragraph already do.

Also: the serial comma in the two lists that were missing it, and name
the directory shell integration reports — "prompts, exit codes and
directory" never said which one.
This commit is contained in:
l0ng-ai
2026-08-08 19:41:14 +07:00
parent 933a34297e
commit c3037da55b
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -276,7 +276,7 @@ pub fn translate_en(key: L10nKey) -> &'static str {
L10nKey::SettingsX11ForwardingDesc => "Request X11 forwarding (needs XQuartz on macOS).",
L10nKey::SettingsShellIntegration => "Shell integration",
L10nKey::SettingsShellIntegrationDesc => {
"Let the remote shell report prompts, exit codes and directory."
"Let the remote shell report prompts, exit codes, and the working directory."
}
L10nKey::SettingsLoginScripts => "Login scripts",
L10nKey::SettingsLoginScriptsDesc => "Commands sent after the shell opens, one per line.",
@@ -529,7 +529,7 @@ pub fn translate_en(key: L10nKey) -> &'static str {
L10nKey::SettingsUpdateChannelNightly => "Nightly",
L10nKey::SettingsDaemonStale => "The background server is still running {build}.",
L10nKey::SettingsDaemonStaleDesc => {
"tty7 was updated in place, so the app is new but your panes are still served by the previous build. Restarting the server picks up the new one and ends every process running in your panes — shells, agents and SSH sessions alike. There is no hurry: pick a moment when your panes are idle."
"tty7 was updated in place, so the app is new but your panes are still served by the previous build. Restarting the server picks up the new one and ends every process running in your panes — shells, agents, and SSH sessions alike. There is no hurry: pick a moment when your panes are idle."
}
L10nKey::UpdateDialogTitle => "Update available",
L10nKey::UpdateDialogDetail => {
@@ -584,9 +584,9 @@ pub fn translate_en(key: L10nKey) -> &'static str {
}
L10nKey::SettingsHowShellsWorkBody => {
"Your shells run in a background server, not inside this window. Quitting tty7 \
leaves them running: reopen it and your tabs, layout and working directories \
come back with the same shells still in them. Closing a tab ends its shell, and \
Restart server and Quit and Stop Server end all of them."
leaves them running: reopen it and your tabs, layout, and working directories \
come back with the same shells still in them. Closing a tab ends its shell; \
\"Restart server\" and \"Quit and Stop Server\" end all of them."
}
L10nKey::SettingsRestartServer => "Restart server…",
L10nKey::SettingsAppHttpProxy => "Proxy for updates",
+1 -1
View File
@@ -274,7 +274,7 @@ pub fn translate_ja(key: L10nKey) -> Option<&'static str> {
L10nKey::SettingsX11ForwardingDesc => "X11 転送を要求(macOS では XQuartz が必要)",
L10nKey::SettingsShellIntegration => "シェル統合",
L10nKey::SettingsShellIntegrationDesc => {
"リモートシェルにプロンプト・終了コード・ディレクトリを報告させる"
"リモートシェルにプロンプト・終了コード・作業ディレクトリを報告させる"
}
L10nKey::SettingsLoginScripts => "ログインスクリプト",
L10nKey::SettingsLoginScriptsDesc => "シェル起動後に送信するコマンド(1 行に 1 つ)",
+1 -1
View File
@@ -245,7 +245,7 @@ pub fn translate_zh(key: L10nKey) -> Option<&'static str> {
L10nKey::SettingsX11Forwarding => "X11 转发",
L10nKey::SettingsX11ForwardingDesc => "请求 X11 转发(macOS 上需要 XQuartz)。",
L10nKey::SettingsShellIntegration => "Shell 集成",
L10nKey::SettingsShellIntegrationDesc => "让远程 shell 报告提示符、退出码和目录。",
L10nKey::SettingsShellIntegrationDesc => "让远程 shell 报告提示符、退出码和工作目录。",
L10nKey::SettingsLoginScripts => "登录脚本",
L10nKey::SettingsLoginScriptsDesc => "shell 打开后发送的命令,每行一个。",
L10nKey::SettingsSkipBanner => "跳过横幅",