观战筛选和排序
Showing
... | ... | @@ -14,7 +14,9 @@ |
"dist": "tsc && build", | ||
"build:aot": "ngc -p tsconfig-aot.json && rollup -c rollup-config.js", | ||
"tsc": "tsc", | ||
"i18n": "ng-xi18n && sed -i.bak 's/source-language=\"en\"/source-language=\"zh-CN\"/' messages.xlf" | ||
"i18n": "ng-xi18n && sed -i.bak 's/source-language=\"en\"/source-language=\"zh-CN\"/' messages.xlf", | ||
"i18n:upload": "npm run i18n && curl --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} --request PUT --header 'Content-type: multipart/form-data' --form content=@messages.xlf https://www.transifex.com/api/2/project/mycard/resource/messages/content/", | ||
"i18n:download": "curl --output locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:zh112998 https://www.transifex.com/api/2/project/mycard/resource/messages/translation/en_US/?file && sed -i.bak 's/\\&/\\&/g; s/\\</</g; s/\\>/>/g; s/\\"/\"/g;' locale/messages.en-US.xlf" | ||
}, | ||
"dependencies": { | ||
"@angular/common": "latest", | ||
... | ... |
Please register or sign in to comment