Skip to content

feat(i18n): name the two plugin extension kinds distinctly (#998 item 4) - #1427

Open
Blue-Berrys wants to merge 2 commits into
vastsa:mainfrom
Blue-Berrys:feat/plugin-panel-terminology
Open

Blue-Berrys wants to merge 2 commits into
vastsa:mainfrom
Blue-Berrys:feat/plugin-panel-terminology

Conversation

@Blue-Berrys

Copy link
Copy Markdown
Contributor

Problem

Issue #998, item 4. The capability chips said "Panel" and "Work panel view(s)" — two phrases too close to tell apart on screen, though the two contributions behave differently: ui.panel opens a separate floating window, while contributes.views docks a tab into the side work panel. The issue's author could not tell from the UI where a plugin would appear, and the same confusion applies to anyone reading a row.

Changes

Values only, no keys — every locale renames the two capability labels to state the behavior:

locale panel views
en Standalone panel window Side panel view
zh-CN 独立面板窗口 侧边面板视图
zh-TW 獨立面板視窗 側邊面板檢視
de Eigenständiges Panel-Fenster Seitliche Panel-Ansicht
es Ventana de panel independiente Vista lateral del panel
fr Fenêtre de panneau autonome Vue latérale du panneau
ko 독립 패널 창 사이드 패널 화면
pt-BR Janela de painel independente Visualização lateral do painel
tr Bağımsız panel penceresi Yan panel görünümü

These labels surface wherever capability chips do (installed rows, market rows and their row details). The ui.panel permission chip ("Show plugin panel") is a separate key and keeps its wording.

Verification

  • packages/i18n typecheck — the <satisfies EnglishCatalog> key structure still passes for all nine locales; values-only changes.
  • packages/i18n test suite — 29 passed (catalogs, renderer-keys against the desktop sources, user-facing-copy).
  • Desktop tsc --noEmit — clean.

Partially addresses #998; items 2 and 6 remain follow-ups.

…item 4)

Capability chips said "Panel" and "Work panel view(s)" — two phrases
too close to tell apart on screen, though the two contributions behave
differently: `ui.panel` opens a separate floating window, while
`contributes.views` docks a tab into the work panel.

The two labels now state that difference in every locale: a standalone
panel window versus a side panel view. Values only; no key changes.

@muzimu217 muzimu217 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified locally on the PR branch: pnpm -C packages/i18n test passes (29/29, including the renderer-keys and catalogs completeness checks).

Checked the terminology against the code it names:

  • panel ↔ PluginUiMeta (packages/shared/src/types/plugins.ts:73): the plugin's own OS window with width/height/title and the shape: "panel" | "widget" placement — "Standalone panel window" is accurate.
  • views ↔ PluginViewMeta / the <pluginId>/<viewId> work-panel tab resource: docked side-panel views — "Side panel view" is accurate.

All 9 locales covered (the repo has exactly these locales; no ja to miss), keys unchanged, values only. The new labels also disambiguate the pair better than "Panel" vs "Work panel views" did, which matters now that #1429 lists panels in the New launcher next to views.

No blockers from me.

This branch was previously deployed

1 inactive deployment
Preview — d3eec917 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants