未验证 提交 3c309a11 编写于 作者: S Shu Muto 提交者: GitHub

Fix i18n extract option (#5766)

上级 38a40e8a
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -43,7 +43,7 @@
"check:frontend:scss": "./aio/scripts/format.sh --styles --check && ./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml 'src/app/frontend/**/*.scss' -v -q",
"check:frontend:html": "./aio/scripts/format.sh --html --check",
"check:license": "license-check-and-add check",
"check:i18n": "ng extract-i18n --no-progress --outFile ../i18n/messages.xlf && aio/scripts/xliffmerge.sh",
"check:i18n": "ng extract-i18n --no-progress --output-path ./i18n/ && aio/scripts/xliffmerge.sh",
"fix": "concurrently \"npm run fix:backend\" \"npm run fix:frontend\" \"npm run fix:license\" \"npm run fix:i18n\"",
"fix:backend": "golangci-lint run -c .golangci.yml --fix ./src/app/backend/...",
"fix:frontend": "concurrently \"npm run fix:frontend:ts\" \"npm run fix:frontend:scss\" \"npm run fix:frontend:html\"",
......@@ -51,7 +51,7 @@
"fix:frontend:scss": "scssfmt -r 'src/**/*.scss'",
"fix:frontend:html": "./aio/scripts/format.sh --html",
"fix:license": "license-check-and-add add",
"fix:i18n": "ng extract-i18n --outFile ../i18n/messages.xlf && aio/scripts/xliffmerge.sh",
"fix:i18n": "ng extract-i18n --output-path ./i18n/ && aio/scripts/xliffmerge.sh",
"clean": "rm -rf .go_workspace .tmp coverage dist npm-debug.log",
"postversion": "node aio/scripts/version.js",
"postinstall": "node aio/scripts/version.js && command -v golangci-lint >/dev/null 2>&1 || { curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0; } && go mod download && ./aio/scripts/install-codegen.sh && ngcc"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册