Add bundled English and Simplified Chinese UI translations (1.1.0-dev)

This commit is contained in:
2026-10-14 10:28:49 +08:00
parent 41395f4102
commit 3b2b213b6f
24 changed files with 1699 additions and 32 deletions
+9 -5
View File
@@ -1,6 +1,6 @@
{
"name": "wp-asciiplayer",
"version": "1.2.3",
"version": "1.1.0-dev",
"private": true,
"description": "Native WordPress asciicast block with real playback previews and compatible shortcodes",
"type": "module",
@@ -9,13 +9,15 @@
"node": ">=22.22.2"
},
"scripts": {
"build": "wp-scripts build --config webpack.config.cjs && node scripts/vendor.mjs && node scripts/verify-build.mjs",
"build": "wp-scripts build --config webpack.config.cjs && node scripts/vendor.mjs && npm run i18n && node scripts/verify-build.mjs",
"start": "wp-scripts start --config webpack.config.cjs",
"test": "node --test tests/js/*.test.js",
"test": "npm run i18n:check && node --test tests/js/*.test.js",
"test:php": "php tests/php/run.php",
"test:e2e": "playwright test",
"wp-env": "wp-env",
"package": "node scripts/package.mjs"
"package": "node scripts/package.mjs",
"i18n": "node scripts/i18n.mjs",
"i18n:check": "node scripts/i18n.mjs --check"
},
"dependencies": {
"asciinema-player": "3.17.0"
@@ -23,7 +25,9 @@
"devDependencies": {
"@playwright/test": "1.64.0",
"@wordpress/env": "11.17.0",
"@wordpress/scripts": "36.1.0"
"@wordpress/scripts": "36.1.0",
"@babel/parser": "7.29.9",
"gettext-parser": "1.4.0"
},
"cssnano": {
"preset": [