Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

fix(web): the terminal's "New shell" action reads "New terminal" (#746)

Yaowei Zheng281e1cb84c45
diff --git a/changelog/unreleased/2026-09-16-new-terminal-label.md b/changelog/unreleased/2026-09-16-new-terminal-label.md
new file mode 100644
index 00000000..03638e70
--- /dev/null
+++ b/changelog/unreleased/2026-09-16-new-terminal-label.md
@@ -0,0 +1,12 @@
+# The terminal's "New shell" action reads "New terminal"
+
+- **Date:** 2026-09-16
+- **Type:** fix
+- **Scope:** `web`
+- **PR:** [#746](https://github.com/Prism-Shadow/penguin-harness/pull/746)
+
+[中文版](2026-09-16-new-terminal-label.zh.md)
+
+The action that starts another terminal, in the dock's add-tab menu and on the standalone terminal
+page, was labelled "新建 Shell" in Chinese and "New shell" in English while every other terminal
+label says terminal. It now reads "新建终端" and "New terminal".
diff --git a/changelog/unreleased/2026-09-16-new-terminal-label.zh.md b/changelog/unreleased/2026-09-16-new-terminal-label.zh.md
new file mode 100644
index 00000000..ef15b462
--- /dev/null
+++ b/changelog/unreleased/2026-09-16-new-terminal-label.zh.md
@@ -0,0 +1,10 @@
+# 终端的「新建 Shell」改称「新建终端」
+
+- **Date:** 2026-09-16
+- **Type:** fix
+- **Scope:** `web`
+- **PR:** [#746](https://github.com/Prism-Shadow/penguin-harness/pull/746)
+
+[English](2026-09-16-new-terminal-label.md)
+
+新开一个终端的操作(侧栏「添加面板」菜单与独立终端页上)中文写作「新建 Shell」、英文写作「New shell」,而其余终端相关文案都叫终端。现在改为「新建终端」与「New terminal」。
diff --git a/packages/web/e2e/terminal.spec.mjs b/packages/web/e2e/terminal.spec.mjs
index f6bfe5d9..388914fa 100644
--- a/packages/web/e2e/terminal.spec.mjs
+++ b/packages/web/e2e/terminal.spec.mjs
@@ -5,7 +5,7 @@
* scrollback, colours and cursor included — instead of starting over;
* - the reattached page is a live terminal, not a screenshot of one;
* - work started before the reload is still running after it (the shell never restarted);
- * - "New shell" is the one action that deliberately drops the session;
+ * - "New terminal" is the one action that deliberately drops the session;
* - the page is deep-linkable: ?id= attaches an existing terminal (the dock's detach
* handoff), ?cwd= picks the starting directory of a new one.
*/
@@ -96,7 +96,7 @@ test("keeps the shell and its screen across a reload", async ({ page }) => {
await run(page, "pkill -f 'penguin-e2e-ticks' >/dev/null 2>&1; rm -f /tmp/penguin-e2e-ticks");
});
-test("New shell starts a fresh session", async ({ page }) => {
+test("New terminal starts a fresh session", async ({ page }) => {
await provisionAndLogin(page.request, U, P);
await killAllTerminals(page.request);
await page.goto(`${BASE}/terminal`);
diff --git a/packages/web/src/features/terminal/terminal-appearance.ts b/packages/web/src/features/terminal/terminal-appearance.ts
index 50227715..b8c48a82 100644
--- a/packages/web/src/features/terminal/terminal-appearance.ts
+++ b/packages/web/src/features/terminal/terminal-appearance.ts
@@ -19,7 +19,7 @@ export interface TerminalChrome {
surface: string;
/** Border colour for the pane edge and the header rule (pair with border-b/border-t/…). */
border: string;
- /** Header icon buttons (detach, new shell, close). */
+ /** Header icon buttons (detach, new terminal, close). */
iconButton: string;
/** The header's drag grip. */
grip: string;
diff --git a/packages/web/src/features/terminal/terminal-page.tsx b/packages/web/src/features/terminal/terminal-page.tsx
index d9a58bb7..f591ffbf 100644
--- a/packages/web/src/features/terminal/terminal-page.tsx
+++ b/packages/web/src/features/terminal/terminal-page.tsx
@@ -50,7 +50,7 @@ export function parseTerminalParams(search: string): TerminalPageParams {
};
}
-/** Rewrites `?id=` in place (keeping cwd/name so "new shell" can recreate alike). */
+/** Rewrites `?id=` in place (keeping cwd/name so "New terminal" can recreate alike). */
function writeIdToUrl(id: string): void {
const url = new URL(location.href);
url.searchParams.set("id", id);
@@ -117,7 +117,7 @@ export function TerminalPage() {
[generation],
);
- /** "New shell": drop the current session and recreate from cwd/name (id removed). */
+ /** "New terminal": drop the current session and recreate from cwd/name (id removed). */
const restart = useCallback(() => {
localStorage.removeItem(STORAGE_KEY);
const url = new URL(location.href);
@@ -138,7 +138,7 @@ export function TerminalPage() {
* Ctrl+W inside the terminal takes the dock tab's × path — confirm, then end the shell —
* and then closes this window, which exists only to host that shell. A window the browser
* will not let a script close (one opened by address rather than by the dock's detach)
- * stays, showing the exited shell with "New shell" one click away. The kill is awaited
+ * stays, showing the exited shell with "New terminal" one click away. The kill is awaited
* first so the dock's detach watcher, which probes the shell when the window closes, finds
* it ended rather than restoring a tab for it.
*/
diff --git a/packages/web/src/lib/strings-en.ts b/packages/web/src/lib/strings-en.ts
index 4622f340..e1b57046 100644
--- a/packages/web/src/lib/strings-en.ts
+++ b/packages/web/src/lib/strings-en.ts
@@ -76,7 +76,7 @@ export const en: Strings = {
/** Server-side terminal (the in-app dock and the standalone /terminal page). */
terminal: {
title: "Terminal",
- newShell: "New shell",
+ newShell: "New terminal",
/** Tab strip ×: kills the shell itself (server-side), unlike closing the dock. */
killShell: "Kill this terminal",
/** Boundary drag handle between the dock and the main content (double-click resets). */
diff --git a/packages/web/src/lib/strings.ts b/packages/web/src/lib/strings.ts
index 3745ca61..83ca9ec4 100644
--- a/packages/web/src/lib/strings.ts
+++ b/packages/web/src/lib/strings.ts
@@ -80,7 +80,7 @@ export const zh = {
/** Server-side terminal (the in-app dock and the standalone /terminal page). */
terminal: {
title: "终端",
- newShell: "新建 Shell",
+ newShell: "新建终端",
/** Tab strip ×: kills the shell itself (server-side), unlike closing the dock. */
killShell: "关闭此终端",
/** Pane body when creating/attaching a shell failed (the server message follows). */