准备发布!

This commit is contained in:
2026-08-11 12:27:37 +02:00
parent 2a049c7e92
commit 2fd40d9d51
2 changed files with 26 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
# Changelog
## 0.1.21 — 2026-08-11
### Added
- English/Chinese localization for the extension manifest, commands, settings, status bar, notifications, hover, completions, CodeLens, and diagnostics.
- `package.nls.*` and `l10n/` bundles so future languages can be added without touching source code.
- AI-generated project disclosure in both `README.md` and `README.zh-CN.md`.
### Changed
- Packaged extension now includes localization resources.
- `npm run package` no longer fails on missing repository-link rewriting.
### Fixed
- Parser errors carry stable codes and parameters so the UI layer can localize them while the parsing core stays VS Code-independent.
+8 -2
View File
@@ -3,8 +3,13 @@
"displayName": "%ra3modxml.displayName%", "displayName": "%ra3modxml.displayName%",
"description": "%ra3modxml.description%", "description": "%ra3modxml.description%",
"version": "0.1.21", "version": "0.1.21",
"publisher": "ra3-mod-xml", "publisher": "lanyi",
"license": "SEE LICENSE IN LICENSE", "license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://git.ra3battle.cn/RA3CoronaDevelopers/Ra3ModXmlExt.git"
},
"homepage": "https://git.ra3battle.cn/RA3CoronaDevelopers/Ra3ModXmlExt",
"l10n": "./l10n", "l10n": "./l10n",
"engines": { "engines": {
"vscode": "^1.85.0" "vscode": "^1.85.0"
@@ -135,7 +140,8 @@
"generate-model": "node tools/xsd-to-model.mjs", "generate-model": "node tools/xsd-to-model.mjs",
"pretest": "tsc", "pretest": "tsc",
"test": "node --test \"test/*.test.mjs\"", "test": "node --test \"test/*.test.mjs\"",
"package": "npm run build && vsce package --no-rewrite-relative-links" "package": "npm run build && vsce package --no-rewrite-relative-links",
"publish": "npm run build && vsce publish --no-rewrite-relative-links"
}, },
"dependencies": { "dependencies": {
"fast-xml-parser": "^4.5.0" "fast-xml-parser": "^4.5.0"