@polang233/kiro-language-pack 1.2.0 → 1.2.1

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/README.en.md CHANGED
@@ -16,16 +16,16 @@ Chinese translations for Kiro, including the editor, sessions, Settings, specs a
16
16
 
17
17
  Node.js 22+ is recommended; the minimum is 18.17. Quit Kiro completely first.
18
18
 
19
- The npm package is awaiting its first publication; these npx commands become available then.
20
-
21
19
  ```bash
22
20
  npx @polang233/kiro-language-pack@latest
23
21
  ```
24
22
 
25
- The default command is `install`. It installs the language pack and translates text in the app files. Each npm version includes its matching VSIX, so users do not need to download or build the source. To specify the language and install directory:
23
+ The default command is `install`. It installs the language pack and translates text in the app files. Each npm version includes its matching VSIX, so users do not need to download or build the source. To switch languages or specify the install directory:
26
24
 
27
25
  ```bash
28
- npx @polang233/kiro-language-pack@latest --locale=zh-tw --dir="path/to/install"
26
+ npx @polang233/kiro-language-pack@latest --locale=zh-cn
27
+ npx @polang233/kiro-language-pack@latest --locale=zh-tw
28
+ npx @polang233/kiro-language-pack@latest --dir="path/to/install"
29
29
  ```
30
30
 
31
31
  | Subcommand | Purpose |
package/README.md CHANGED
@@ -16,16 +16,16 @@ Kiro 中文语言包,支持简体中文和使用台湾用词的繁体中文,
16
16
 
17
17
  推荐 Node.js 22+,最低 18.17。先完全退出 Kiro。
18
18
 
19
- npm 包尚未首次发布,以下 npx 入口在首发后可用。
20
-
21
19
  ```bash
22
20
  npx @polang233/kiro-language-pack@latest
23
21
  ```
24
22
 
25
- 默认执行 `install`,安装语言包并翻译程序内的文案。包内自带本版本 VSIX,无需下载源码或构建。指定语言和安装目录:
23
+ 默认执行 `install`,安装语言包并翻译程序内的文案。包内自带本版本 VSIX,无需下载源码或构建。手动切换语言,或指定安装目录:
26
24
 
27
25
  ```bash
28
- npx @polang233/kiro-language-pack@latest --locale=zh-tw --dir="安装目录"
26
+ npx @polang233/kiro-language-pack@latest --locale=zh-cn
27
+ npx @polang233/kiro-language-pack@latest --locale=zh-tw
28
+ npx @polang233/kiro-language-pack@latest --dir="安装目录"
29
29
  ```
30
30
 
31
31
  | 子命令 | 用途 |
package/README.zh-CN.md CHANGED
@@ -16,16 +16,16 @@ Kiro 中文语言包,支持简体中文和使用台湾用词的繁体中文,
16
16
 
17
17
  推荐 Node.js 22+,最低 18.17。先完全退出 Kiro。
18
18
 
19
- npm 包尚未首次发布,以下 npx 入口在首发后可用。
20
-
21
19
  ```bash
22
20
  npx @polang233/kiro-language-pack@latest
23
21
  ```
24
22
 
25
- 默认执行 `install`,安装语言包并翻译程序内的文案。包内自带本版本 VSIX,无需下载源码或构建。指定语言和安装目录:
23
+ 默认执行 `install`,安装语言包并翻译程序内的文案。包内自带本版本 VSIX,无需下载源码或构建。手动切换语言,或指定安装目录:
26
24
 
27
25
  ```bash
28
- npx @polang233/kiro-language-pack@latest --locale=zh-tw --dir="安装目录"
26
+ npx @polang233/kiro-language-pack@latest --locale=zh-cn
27
+ npx @polang233/kiro-language-pack@latest --locale=zh-tw
28
+ npx @polang233/kiro-language-pack@latest --dir="安装目录"
29
29
  ```
30
30
 
31
31
  | 子命令 | 用途 |
Binary file
package/config.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publisher": "polang233",
5
5
  "$publisher": "Must match the Open VSX namespace you claim with `ovsx create-namespace`, and the Marketplace publisher id if you also publish there. Taken from the GitHub account this repository is authored from; change it here if you publish under an organisation instead.",
6
6
  "namePrefix": "kiro-language-pack",
7
- "version": "1.2.0",
7
+ "version": "1.2.1",
8
8
  "license": "MIT",
9
9
  "repository": "https://github.com/polang233/kiro-language-pack",
10
10
  "homepage": "https://github.com/polang233/kiro-language-pack#readme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polang233/kiro-language-pack",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Kiro 简体/繁体中文汉化工具,自动选择系统语言,支持一键安装与恢复。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,7 +36,8 @@
36
36
  "package:npm": "node scripts/package-npm.mjs",
37
37
  "test:cli": "node --test scripts/test-cli.mjs",
38
38
  "test:package": "node scripts/test-package.mjs",
39
- "test:upgrade": "node --test scripts/test-upgrade.mjs"
39
+ "test:upgrade": "node --test scripts/test-upgrade.mjs",
40
+ "test:published": "node scripts/test-package.mjs --published"
40
41
  },
41
42
  "devDependencies": {
42
43
  "@vscode/vsce": "3.2.1",