dsh-coding-sidebar 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +524 -0
- package/cordis.patch.yml +49 -0
- package/lib/client-editor.js +48229 -0
- package/lib/client-mermaid.js +200745 -0
- package/lib/client-registry.js +21867 -0
- package/lib/client-terminal.js +9361 -0
- package/lib/client.js +21867 -0
- package/lib/index.js +4556 -0
- package/lib/invariant.js +22 -0
- package/lib/types/agent-opens.d.ts +65 -0
- package/lib/types/agent-pty.d.ts +226 -0
- package/lib/types/browser-probe.d.ts +15 -0
- package/lib/types/bundle-route.d.ts +12 -0
- package/lib/types/client/BrowserView.d.ts +39 -0
- package/lib/types/client/DiffTab.d.ts +6 -0
- package/lib/types/client/DiffView.d.ts +51 -0
- package/lib/types/client/EditorHost.d.ts +13 -0
- package/lib/types/client/FileTree.d.ts +38 -0
- package/lib/types/client/FreeWindow.d.ts +29 -0
- package/lib/types/client/GitView.d.ts +10 -0
- package/lib/types/client/MarkdownHtml.d.ts +32 -0
- package/lib/types/client/OrphanedTab.d.ts +11 -0
- package/lib/types/client/PdfView.d.ts +6 -0
- package/lib/types/client/RenderBoundary.d.ts +32 -0
- package/lib/types/client/SandboxStatusBar.d.ts +10 -0
- package/lib/types/client/SideCardSection.d.ts +74 -0
- package/lib/types/client/SideChatView.d.ts +16 -0
- package/lib/types/client/Sidebar.d.ts +6 -0
- package/lib/types/client/SubagentView.d.ts +16 -0
- package/lib/types/client/TabBar.d.ts +54 -0
- package/lib/types/client/TerminalView.d.ts +24 -0
- package/lib/types/client/TextEditor.d.ts +10 -0
- package/lib/types/client/TreePanel.d.ts +24 -0
- package/lib/types/client/UploadOverlay.d.ts +20 -0
- package/lib/types/client/add-plugin-modal.d.ts +15 -0
- package/lib/types/client/api.d.ts +275 -0
- package/lib/types/client/binary-download.d.ts +12 -0
- package/lib/types/client/breakpoints.d.ts +17 -0
- package/lib/types/client/browser.d.ts +60 -0
- package/lib/types/client/builtins/index.d.ts +18 -0
- package/lib/types/client/builtins/tabs.d.ts +11 -0
- package/lib/types/client/builtins/viewers.d.ts +3 -0
- package/lib/types/client/chunk-loader.d.ts +131 -0
- package/lib/types/client/chunks/editor.d.ts +9 -0
- package/lib/types/client/chunks/mermaid.d.ts +10 -0
- package/lib/types/client/chunks/terminal.d.ts +9 -0
- package/lib/types/client/cm-themes.d.ts +24 -0
- package/lib/types/client/conversation-draft.d.ts +14 -0
- package/lib/types/client/desktop-env.d.ts +35 -0
- package/lib/types/client/editor-load.d.ts +66 -0
- package/lib/types/client/frame-batcher.d.ts +24 -0
- package/lib/types/client/icons.d.ts +59 -0
- package/lib/types/client/image-types.d.ts +3 -0
- package/lib/types/client/ime-guard.d.ts +36 -0
- package/lib/types/client/index.d.ts +25 -0
- package/lib/types/client/intercept.d.ts +46 -0
- package/lib/types/client/lang.d.ts +14 -0
- package/lib/types/client/layout-push.d.ts +15 -0
- package/lib/types/client/lazy-chunk.d.ts +25 -0
- package/lib/types/client/link-intercept.d.ts +42 -0
- package/lib/types/client/locales-ar.d.ts +18 -0
- package/lib/types/client/locales-de.d.ts +4 -0
- package/lib/types/client/locales-fr.d.ts +10 -0
- package/lib/types/client/locales-hi.d.ts +17 -0
- package/lib/types/client/locales-id.d.ts +15 -0
- package/lib/types/client/locales-it.d.ts +8 -0
- package/lib/types/client/locales-ja.d.ts +17 -0
- package/lib/types/client/locales-ko.d.ts +9 -0
- package/lib/types/client/locales-nl.d.ts +16 -0
- package/lib/types/client/locales-pl.d.ts +19 -0
- package/lib/types/client/locales-pt.d.ts +1 -0
- package/lib/types/client/locales-ru.d.ts +13 -0
- package/lib/types/client/locales-sv.d.ts +1 -0
- package/lib/types/client/locales-th.d.ts +17 -0
- package/lib/types/client/locales-tr.d.ts +17 -0
- package/lib/types/client/locales-vi.d.ts +17 -0
- package/lib/types/client/locales-zh-HK.d.ts +32 -0
- package/lib/types/client/locales-zh-MO.d.ts +32 -0
- package/lib/types/client/locales-zh-TW.d.ts +32 -0
- package/lib/types/client/locales.d.ts +452 -0
- package/lib/types/client/markdown-html.d.ts +96 -0
- package/lib/types/client/markdown-images.d.ts +45 -0
- package/lib/types/client/markdown-labels.d.ts +38 -0
- package/lib/types/client/md-toc.d.ts +4 -0
- package/lib/types/client/mermaid-blocks.d.ts +47 -0
- package/lib/types/client/mermaid-sanitize.d.ts +2 -0
- package/lib/types/client/mermaid.d.ts +12 -0
- package/lib/types/client/open-when-sized.d.ts +20 -0
- package/lib/types/client/open-with-settings.d.ts +4 -0
- package/lib/types/client/open-with.d.ts +87 -0
- package/lib/types/client/openpath-intercept.d.ts +85 -0
- package/lib/types/client/paths.d.ts +43 -0
- package/lib/types/client/pdf-types.d.ts +2 -0
- package/lib/types/client/pinned.d.ts +86 -0
- package/lib/types/client/plugin-settings.d.ts +8 -0
- package/lib/types/client/plugins-shared.d.ts +27 -0
- package/lib/types/client/plugins-tabs.d.ts +3 -0
- package/lib/types/client/plugins-viewers.d.ts +3 -0
- package/lib/types/client/prefs.d.ts +41 -0
- package/lib/types/client/produced-files.d.ts +29 -0
- package/lib/types/client/selection-payload.d.ts +27 -0
- package/lib/types/client/service.d.ts +439 -0
- package/lib/types/client/settings-nav-icon.d.ts +19 -0
- package/lib/types/client/shell-presets.d.ts +48 -0
- package/lib/types/client/sidechat-transcript.d.ts +103 -0
- package/lib/types/client/split-pane.d.ts +36 -0
- package/lib/types/client/state.d.ts +432 -0
- package/lib/types/client/subagent-detect.d.ts +54 -0
- package/lib/types/client/subagent-jobs.d.ts +63 -0
- package/lib/types/client/tab-content-memo.d.ts +40 -0
- package/lib/types/client/terminal-font.d.ts +78 -0
- package/lib/types/client/terminal-links.d.ts +119 -0
- package/lib/types/client/theme.d.ts +45 -0
- package/lib/types/client/titlebar-strip.d.ts +23 -0
- package/lib/types/client/upload.d.ts +69 -0
- package/lib/types/client/wco.d.ts +47 -0
- package/lib/types/config.d.ts +64 -0
- package/lib/types/context-types.d.ts +605 -0
- package/lib/types/fs-operations.d.ts +28 -0
- package/lib/types/fs-search.d.ts +24 -0
- package/lib/types/fs-tree.d.ts +51 -0
- package/lib/types/git.d.ts +124 -0
- package/lib/types/html-route.d.ts +59 -0
- package/lib/types/index.d.ts +47 -0
- package/lib/types/invariant.d.ts +15 -0
- package/lib/types/jobs-routes.d.ts +45 -0
- package/lib/types/open-external.d.ts +24 -0
- package/lib/types/path-security.d.ts +20 -0
- package/lib/types/prefs-shared.d.ts +236 -0
- package/lib/types/pty-deps.d.ts +78 -0
- package/lib/types/pty-manager.d.ts +168 -0
- package/lib/types/sidechat-core.d.ts +172 -0
- package/lib/types/sidechat-routes.d.ts +30 -0
- package/lib/types/subagent-activity.d.ts +44 -0
- package/lib/types/subagent-live-route.d.ts +44 -0
- package/lib/types/tools.d.ts +34 -0
- package/lib/types/trust-fence.d.ts +24 -0
- package/lib/types/wire.d.ts +38 -0
- package/package.json +172 -0
- package/scripts/install.ps1 +306 -0
- package/scripts/install.sh +287 -0
- package/src/agent-opens.ts +265 -0
- package/src/agent-pty.ts +527 -0
- package/src/browser-probe.ts +26 -0
- package/src/bundle-route.ts +129 -0
- package/src/client/BrowserView.tsx +289 -0
- package/src/client/DiffTab.tsx +114 -0
- package/src/client/DiffView.tsx +305 -0
- package/src/client/EditorHost.tsx +558 -0
- package/src/client/FileTree.tsx +669 -0
- package/src/client/FreeWindow.tsx +337 -0
- package/src/client/GitView.tsx +717 -0
- package/src/client/MarkdownHtml.tsx +296 -0
- package/src/client/OrphanedTab.tsx +27 -0
- package/src/client/PdfView.tsx +110 -0
- package/src/client/RenderBoundary.tsx +49 -0
- package/src/client/SandboxStatusBar.tsx +60 -0
- package/src/client/SideCardSection.module.css +960 -0
- package/src/client/SideCardSection.tsx +1163 -0
- package/src/client/SideChatView.module.css +437 -0
- package/src/client/SideChatView.tsx +645 -0
- package/src/client/Sidebar.tsx +1370 -0
- package/src/client/SubagentView.module.css +547 -0
- package/src/client/SubagentView.tsx +883 -0
- package/src/client/TabBar.tsx +365 -0
- package/src/client/TerminalView.tsx +424 -0
- package/src/client/TextEditor.tsx +468 -0
- package/src/client/TreePanel.tsx +275 -0
- package/src/client/UploadOverlay.tsx +62 -0
- package/src/client/add-plugin-modal.tsx +199 -0
- package/src/client/api.ts +357 -0
- package/src/client/binary-download.tsx +23 -0
- package/src/client/breakpoints.ts +61 -0
- package/src/client/browser.ts +167 -0
- package/src/client/builtins/index.ts +37 -0
- package/src/client/builtins/tabs.tsx +340 -0
- package/src/client/builtins/viewers.tsx +125 -0
- package/src/client/chunk-loader.ts +358 -0
- package/src/client/chunks/editor.tsx +9 -0
- package/src/client/chunks/mermaid.tsx +10 -0
- package/src/client/chunks/terminal.tsx +9 -0
- package/src/client/cm-themes.ts +129 -0
- package/src/client/conversation-draft.ts +29 -0
- package/src/client/css-modules.d.ts +5 -0
- package/src/client/desktop-env.ts +72 -0
- package/src/client/editor-load.ts +92 -0
- package/src/client/frame-batcher.ts +56 -0
- package/src/client/icons.tsx +152 -0
- package/src/client/image-types.ts +8 -0
- package/src/client/ime-guard.ts +47 -0
- package/src/client/index.tsx +427 -0
- package/src/client/intercept.tsx +188 -0
- package/src/client/lang.ts +225 -0
- package/src/client/layout-push.ts +24 -0
- package/src/client/layout.css +90 -0
- package/src/client/lazy-chunk.tsx +89 -0
- package/src/client/link-intercept.ts +73 -0
- package/src/client/locales-ar.ts +368 -0
- package/src/client/locales-de.ts +353 -0
- package/src/client/locales-fr.ts +360 -0
- package/src/client/locales-hi.ts +367 -0
- package/src/client/locales-id.ts +365 -0
- package/src/client/locales-it.ts +358 -0
- package/src/client/locales-ja.ts +367 -0
- package/src/client/locales-ko.ts +359 -0
- package/src/client/locales-nl.ts +365 -0
- package/src/client/locales-pl.ts +369 -0
- package/src/client/locales-pt.ts +350 -0
- package/src/client/locales-ru.ts +365 -0
- package/src/client/locales-sv.ts +350 -0
- package/src/client/locales-th.ts +367 -0
- package/src/client/locales-tr.ts +367 -0
- package/src/client/locales-vi.ts +367 -0
- package/src/client/locales-zh-HK.ts +382 -0
- package/src/client/locales-zh-MO.ts +382 -0
- package/src/client/locales-zh-TW.ts +382 -0
- package/src/client/locales.ts +894 -0
- package/src/client/markdown-html.ts +331 -0
- package/src/client/markdown-images.ts +137 -0
- package/src/client/markdown-labels.tsx +52 -0
- package/src/client/md-toc.tsx +127 -0
- package/src/client/mermaid-blocks.ts +110 -0
- package/src/client/mermaid-sanitize.ts +93 -0
- package/src/client/mermaid.tsx +406 -0
- package/src/client/open-when-sized.ts +43 -0
- package/src/client/open-with-settings.tsx +135 -0
- package/src/client/open-with.ts +221 -0
- package/src/client/openpath-intercept.ts +143 -0
- package/src/client/paths.ts +63 -0
- package/src/client/pdf-types.ts +4 -0
- package/src/client/pinned.ts +183 -0
- package/src/client/plugin-settings.ts +43 -0
- package/src/client/plugins-shared.ts +29 -0
- package/src/client/plugins-tabs.ts +96 -0
- package/src/client/plugins-viewers.ts +30 -0
- package/src/client/prefs.ts +210 -0
- package/src/client/produced-files.ts +120 -0
- package/src/client/selection-payload.ts +86 -0
- package/src/client/service.ts +859 -0
- package/src/client/settings-nav-icon.ts +45 -0
- package/src/client/shell-presets.ts +83 -0
- package/src/client/sidebar.module.css +2788 -0
- package/src/client/sidechat-transcript.ts +321 -0
- package/src/client/split-pane.tsx +331 -0
- package/src/client/state.ts +1497 -0
- package/src/client/subagent-detect.ts +137 -0
- package/src/client/subagent-jobs.ts +161 -0
- package/src/client/tab-content-memo.ts +55 -0
- package/src/client/terminal-font.ts +224 -0
- package/src/client/terminal-links.ts +194 -0
- package/src/client/theme.ts +110 -0
- package/src/client/titlebar-strip.ts +37 -0
- package/src/client/upload.ts +187 -0
- package/src/client/wco.ts +120 -0
- package/src/config.ts +154 -0
- package/src/context-types.ts +611 -0
- package/src/fs-operations.ts +95 -0
- package/src/fs-search.ts +113 -0
- package/src/fs-tree.ts +158 -0
- package/src/git.ts +446 -0
- package/src/html-route.ts +106 -0
- package/src/index.ts +1291 -0
- package/src/invariant.ts +32 -0
- package/src/jobs-routes.ts +257 -0
- package/src/open-external.ts +90 -0
- package/src/path-security.ts +75 -0
- package/src/prefs-shared.ts +280 -0
- package/src/pty-deps.ts +240 -0
- package/src/pty-manager.ts +376 -0
- package/src/sidechat-core.ts +468 -0
- package/src/sidechat-routes.ts +344 -0
- package/src/subagent-activity.ts +91 -0
- package/src/subagent-live-route.ts +93 -0
- package/src/tools.ts +482 -0
- package/src/trust-fence.ts +84 -0
- package/src/wire.ts +100 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* French translation of the dsh-coding-sidebar copy.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of the zh dictionary in `locales.ts` (enforced by
|
|
5
|
+
* the `Record<keyof typeof zh, string>` type annotation). The better-locale
|
|
6
|
+
* override store registers this dict under the `betterSidebar` namespace,
|
|
7
|
+
* so it takes effect when the user has selected the `fr` override.
|
|
8
|
+
*/
|
|
9
|
+
/** fr dictionary for the `betterSidebar` namespace. */
|
|
10
|
+
export declare const fr: Record<string, string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The hi (Hindi) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'hi'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Technical terms (Git, SSH, HTTP, URL, Markdown, PDF, VS Code, API, etc.) stay in English.
|
|
11
|
+
* - Common dev-tool terms use Devanagari transliterations (टर्मिनल, ब्राउज़र, सैंडबॉक्स).
|
|
12
|
+
* - Git vocabulary follows English loanwords (स्टेज, कमिट, ब्रांच, चेरी-पिक).
|
|
13
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
14
|
+
* - English brand names (VS Code, Cursor, Zed, SSH, Chrome) stay as-is.
|
|
15
|
+
*/
|
|
16
|
+
/** The hi dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
|
+
export declare const hi: Record<string, string>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The id (Indonesian) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'id'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Git vocabulary stays close to the English form (stage, commit, branch, fork).
|
|
11
|
+
* - Settings labels mirror the zh cadence (… perilaku / … cara).
|
|
12
|
+
* - Placeholders keep {name} verbatim (interpolation runs after lookup).
|
|
13
|
+
* - English brand names (VS Code, Cursor, Zed, SSH) stay as-is.
|
|
14
|
+
*/
|
|
15
|
+
export declare const id: Record<string, string>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Italian copy for the sidebar. Key-set-equal to `zh` in `locales.ts`;
|
|
3
|
+
* consumed by the better-locale override store (see `locales.ts` for the
|
|
4
|
+
* zh/en/ja lookup chain and the `attachBetterLocale` contract).
|
|
5
|
+
*
|
|
6
|
+
* @module dsh-coding-sidebar/client/locales-it
|
|
7
|
+
*/
|
|
8
|
+
export declare const it: Record<string, string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ja (Japanese) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'ja'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Common dev-tool loanwords stay in katakana (ターミナル, ブラウザー, サンドボックス).
|
|
11
|
+
* - Git vocabulary follows the GitHub Japan style guide (ステージ, コミット, ブランチ).
|
|
12
|
+
* - Settings labels end in する/名/方法 to mirror the zh 「…行为/方式」 cadence.
|
|
13
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
14
|
+
* - English brand names (VS Code, Cursor, Zed, SSH) stay as-is.
|
|
15
|
+
*/
|
|
16
|
+
/** The ja dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
|
+
export declare const ja: Record<string, string>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Korean dictionary for the dsh-coding-sidebar plugin (LOCALE_NS `betterSidebar`).
|
|
3
|
+
*
|
|
4
|
+
* Key-set-equal to the zh dictionary in `./locales.ts` (zh is the source of
|
|
5
|
+
* truth). Registered through the better-locale override store when that
|
|
6
|
+
* plugin is installed; the override borrows DSH's English slot, so it takes
|
|
7
|
+
* effect only while DSH's active locale is `'en'`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const ko: Record<string, string>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The nl (Dutch) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'nl'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Formal "u" form for user-facing text.
|
|
11
|
+
* - Technical loanwords stay in English (Git, SSH, HTTP, URL, Markdown, PDF, VS Code).
|
|
12
|
+
* - Git vocabulary follows English-derived conventions (stagen, unstagen, commit, branch).
|
|
13
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
14
|
+
* - English brand names (VS Code, Cursor, Zed, SSH) stay as-is.
|
|
15
|
+
*/
|
|
16
|
+
export declare const nl: Record<string, string>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pl (Polish) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'pl'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Formal register (Pan/Pani/Państwo) for user-facing copy.
|
|
11
|
+
* - Polish diacritics used throughout (ą, ć, ę, ł, ń, ó, ś, ź, ż).
|
|
12
|
+
* - {placeholder} patterns kept verbatim (interpolation runs after lookup).
|
|
13
|
+
* - Git vocabulary follows the English-leaning developer style
|
|
14
|
+
* (commit, branch, stage, diff, cherry-pick, hash, push, fetch, pull).
|
|
15
|
+
* - English brand names (VS Code, Cursor, Zed, SSH, Mermaid, HTML, CSS,
|
|
16
|
+
* PDF, Markdown, Cursor) stay as-is.
|
|
17
|
+
*/
|
|
18
|
+
/** The pl dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
19
|
+
export declare const pl: Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const pt: Record<string, string>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Russian (ru) dictionary for the dsh-coding-sidebar plugin.
|
|
3
|
+
*
|
|
4
|
+
* Translated from the Simplified-Chinese (zh) source-of-truth dictionary in
|
|
5
|
+
* `./locales.ts`. Placeholders like `{name}` / `{path}` / `{dir}` are
|
|
6
|
+
* preserved verbatim; technical terms (Git, SSH, HTTP, URL, Markdown, PDF,
|
|
7
|
+
* VS Code, Tab, cherry-pick, etc.) are kept in English where idiomatic in
|
|
8
|
+
* Russian product UI.
|
|
9
|
+
*
|
|
10
|
+
* Tone: formal «Вы». Key set is type-checked against `zh` via the import in
|
|
11
|
+
* `locales.ts` (`Record<keyof typeof zh, string>`).
|
|
12
|
+
*/
|
|
13
|
+
export declare const ru: Record<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sv: Record<string, string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The th (Thai) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'th'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Technical terms stay in English where appropriate (Git, SSH, HTTP, URL,
|
|
11
|
+
* Markdown, PDF, VS Code, API Key, Base URL, token, etc.).
|
|
12
|
+
* - Placeholders keep {name} verbatim (interpolation runs after lookup).
|
|
13
|
+
* - Formal Thai appropriate for software UI.
|
|
14
|
+
* - Terminology is kept consistent with the DSH core th dictionary.
|
|
15
|
+
*/
|
|
16
|
+
/** The th dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
|
+
export declare const th: Record<string, string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tr (Turkish) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'tr'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Common dev-tool loanwords stay in Turkish (Terminal, Tarayıcı, Klasör).
|
|
11
|
+
* - Git vocabulary follows standard Turkish usage ( Sahnele, İşle, Dal).
|
|
12
|
+
* - Settings labels end in noun/infinitive forms to mirror the zh cadence.
|
|
13
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
14
|
+
* - English brand names (VS Code, Cursor, Zed, SSH) stay as-is.
|
|
15
|
+
*/
|
|
16
|
+
/** The tr dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
|
+
export declare const tr: Record<string, string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The vi (Vietnamese) dictionary for the betterSidebar namespace.
|
|
3
|
+
*
|
|
4
|
+
* Mirrors the key set of `zh` in `locales.ts`. The sidebar's `t()`
|
|
5
|
+
* consults this dict when `attachBetterLocale(store)` has been called
|
|
6
|
+
* with an active better-locale store whose `active` is `'vi'`; absent
|
|
7
|
+
* that, the existing zh/en chain runs unchanged.
|
|
8
|
+
*
|
|
9
|
+
* Translation conventions:
|
|
10
|
+
* - Technical terms stay in English where appropriate (Git, SSH, HTTP, URL,
|
|
11
|
+
* Markdown, PDF, VS Code, API Key, Base URL, token, etc.).
|
|
12
|
+
* - Placeholders keep {name} verbatim (interpolation runs after lookup).
|
|
13
|
+
* - Formal Vietnamese appropriate for software UI.
|
|
14
|
+
* - Terminology is kept consistent with the DSH core vi dictionary.
|
|
15
|
+
*/
|
|
16
|
+
/** The vi dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
17
|
+
export declare const vi: Record<string, string>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zh-HK (Traditional Chinese — Hong Kong) dictionary for the betterSidebar
|
|
3
|
+
* namespace.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the key set of `zh` in `locales.ts`. Consumed by better-locale's
|
|
6
|
+
* override store when the active override id is `'zh-HK'` (registered under
|
|
7
|
+
* the `betterSidebar` namespace). Absent that, the existing zh/en chain
|
|
8
|
+
* runs unchanged.
|
|
9
|
+
*
|
|
10
|
+
* Hong Kong regional conventions:
|
|
11
|
+
* - 软件 → 軟件 (NOT 軟體); 网络 → 網絡 (NOT 網路); 鼠标 → 滑鼠
|
|
12
|
+
* - 檔案 (file), 資料夾 (folder), 程式 (program), 程式碼 (code), 螢幕 (screen)
|
|
13
|
+
* - 預設 (default), 儲存 (save), 設定 (settings/config), 唯讀 (read-only)
|
|
14
|
+
* - 資源管理器 → 檔案總管; refresh → 重新整理; cache → 快取
|
|
15
|
+
* - timeout → 逾時; loop → 迴圈; override → 覆寫; built-in → 內建
|
|
16
|
+
* - adapter → 介面卡; interface → 介面; address → 位址; field → 欄位
|
|
17
|
+
* - byte → 位元組; binary → 二進位; character → 字元; hash → 雜湊
|
|
18
|
+
* - rename → 重新命名; archive → 歸檔; idle → 閒置; mount → 掛載
|
|
19
|
+
* - package → 套件; generate → 產生; fetch → 取得; export → 匯出
|
|
20
|
+
* - login → 登入; detect → 偵測; block → 封鎖; access → 存取
|
|
21
|
+
* - port → 連接埠; sensor → 感測器; server → 伺服器; global → 全域
|
|
22
|
+
* - nested → 巢狀; thread → 執行緒; queue → 佇列; tab → 標籤
|
|
23
|
+
* - source code → 原始碼; symlink → 符號連結; recover → 復原
|
|
24
|
+
* - placeholder → 佔位符; template → 範本; variable → 變數
|
|
25
|
+
* - through → 透過; paste → 貼上; project → 專案; account → 帳號
|
|
26
|
+
* - session (会话) → 工作階段; chat (对话) → 對話
|
|
27
|
+
* - quotation marks: "" → 「」
|
|
28
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
29
|
+
* - English brand names (VS Code, Cursor, Zed, SSH, Git, Chrome) stay as-is.
|
|
30
|
+
*/
|
|
31
|
+
/** The zh-HK dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
32
|
+
export declare const zhHK: Record<string, string>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zh-HK (Traditional Chinese — Hong Kong) dictionary for the betterSidebar
|
|
3
|
+
* namespace.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the key set of `zh` in `locales.ts`. Consumed by better-locale's
|
|
6
|
+
* override store when the active override id is `'zh-HK'` (registered under
|
|
7
|
+
* the `betterSidebar` namespace). Absent that, the existing zh/en chain
|
|
8
|
+
* runs unchanged.
|
|
9
|
+
*
|
|
10
|
+
* Hong Kong regional conventions:
|
|
11
|
+
* - 软件 → 軟件 (NOT 軟體); 网络 → 網絡 (NOT 網路); 鼠标 → 滑鼠
|
|
12
|
+
* - 檔案 (file), 資料夾 (folder), 程式 (program), 程式碼 (code), 螢幕 (screen)
|
|
13
|
+
* - 預設 (default), 儲存 (save), 設定 (settings/config), 唯讀 (read-only)
|
|
14
|
+
* - 資源管理器 → 檔案總管; refresh → 重新整理; cache → 快取
|
|
15
|
+
* - timeout → 逾時; loop → 迴圈; override → 覆寫; built-in → 內建
|
|
16
|
+
* - adapter → 介面卡; interface → 介面; address → 位址; field → 欄位
|
|
17
|
+
* - byte → 位元組; binary → 二進位; character → 字元; hash → 雜湊
|
|
18
|
+
* - rename → 重新命名; archive → 歸檔; idle → 閒置; mount → 掛載
|
|
19
|
+
* - package → 套件; generate → 產生; fetch → 取得; export → 匯出
|
|
20
|
+
* - login → 登入; detect → 偵測; block → 封鎖; access → 存取
|
|
21
|
+
* - port → 連接埠; sensor → 感測器; server → 伺服器; global → 全域
|
|
22
|
+
* - nested → 巢狀; thread → 執行緒; queue → 佇列; tab → 標籤
|
|
23
|
+
* - source code → 原始碼; symlink → 符號連結; recover → 復原
|
|
24
|
+
* - placeholder → 佔位符; template → 範本; variable → 變數
|
|
25
|
+
* - through → 透過; paste → 貼上; project → 專案; account → 帳號
|
|
26
|
+
* - session (会话) → 工作階段; chat (对话) → 對話
|
|
27
|
+
* - quotation marks: "" → 「」
|
|
28
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
29
|
+
* - English brand names (VS Code, Cursor, Zed, SSH, Git, Chrome) stay as-is.
|
|
30
|
+
*/
|
|
31
|
+
/** The zh-HK dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
32
|
+
export declare const zhMO: Record<string, string>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The zh-HK (Traditional Chinese — Hong Kong) dictionary for the betterSidebar
|
|
3
|
+
* namespace.
|
|
4
|
+
*
|
|
5
|
+
* Mirrors the key set of `zh` in `locales.ts`. Consumed by better-locale's
|
|
6
|
+
* override store when the active override id is `'zh-HK'` (registered under
|
|
7
|
+
* the `betterSidebar` namespace). Absent that, the existing zh/en chain
|
|
8
|
+
* runs unchanged.
|
|
9
|
+
*
|
|
10
|
+
* Hong Kong regional conventions:
|
|
11
|
+
* - 软件 → 軟體 (NOT 軟體); 网络 → 網路 (NOT 網路); 鼠标 → 滑鼠
|
|
12
|
+
* - 檔案 (file), 資料夾 (folder), 程式 (program), 程式碼 (code), 螢幕 (screen)
|
|
13
|
+
* - 預設 (default), 儲存 (save), 設定 (settings/config), 唯讀 (read-only)
|
|
14
|
+
* - 資源管理器 → 檔案總管; refresh → 重新整理; cache → 快取
|
|
15
|
+
* - timeout → 逾時; loop → 迴圈; override → 覆寫; built-in → 內建
|
|
16
|
+
* - adapter → 介面卡; interface → 介面; address → 位址; field → 欄位
|
|
17
|
+
* - byte → 位元組; binary → 二進位; character → 字元; hash → 雜湊
|
|
18
|
+
* - rename → 重新命名; archive → 歸檔; idle → 閒置; mount → 掛載
|
|
19
|
+
* - package → 套件; generate → 產生; fetch → 取得; export → 匯出
|
|
20
|
+
* - login → 登入; detect → 偵測; block → 封鎖; access → 存取
|
|
21
|
+
* - port → 連接埠; sensor → 感測器; server → 伺服器; global → 全域
|
|
22
|
+
* - nested → 巢狀; thread → 執行緒; queue → 佇列; tab → 標籤
|
|
23
|
+
* - source code → 原始碼; symlink → 符號連結; recover → 復原
|
|
24
|
+
* - placeholder → 佔位符; template → 範本; variable → 變數
|
|
25
|
+
* - through → 透過; paste → 貼上; project → 專案; account → 帳號
|
|
26
|
+
* - session (会话) → 工作階段; chat (对话) → 對話
|
|
27
|
+
* - quotation marks: "" → 「」
|
|
28
|
+
* - Placeholders keep `{name}` verbatim (interpolation runs after lookup).
|
|
29
|
+
* - English brand names (VS Code, Cursor, Zed, SSH, Git, Chrome) stay as-is.
|
|
30
|
+
*/
|
|
31
|
+
/** The zh-HK dictionary (key-set-equal to zh, enforced by the type annotation in locales.ts). */
|
|
32
|
+
export declare const zhTW: Record<string, string>;
|