From: Jane Sandberg Date: Wed, 19 Oct 2022 13:28:40 +0000 (-0700) Subject: LP1993534: Command line flag usage for ng xi18n X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6c7d0da4d5d5ce34a74a98205d32ac7d61afeae9;p=working%2FEvergreen.git LP1993534: Command line flag usage for ng xi18n To test: 1) cd [Evergreen repo]/Open-ILS/src/eg2 2) npm install 3) npm run export-strings # should fail 4) Apply this patch 5) npm run export-strings # should successfully create a file in the locales directory Signed-off-by: Jane Sandberg Signed-off-by: Jason Boyer --- diff --git a/Open-ILS/src/eg2/package.json b/Open-ILS/src/eg2/package.json index f683930508..95b2499a4c 100644 --- a/Open-ILS/src/eg2/package.json +++ b/Open-ILS/src/eg2/package.json @@ -9,7 +9,7 @@ "lint": "ng lint", "e2e": "ng e2e", "create-mock-idl": "cd src/test_data && perl idl2js.pl", - "export-strings": "ng xi18n --output-path locale --i18n-format xmb", + "export-strings": "ng xi18n --output-path locale --format xmb", "build-cs-CZ": "ng build --configuration=production-cs-CZ --output-path ../../web/eg2/cs-CZ --deploy-url /eg2/cs-CZ/ --base-href /eg2/cs-CZ; sed -i s/IDL2js\\\"/IDL2js?locale=cs-CZ\\\"/g ../../web/eg2/cs-CZ/index.html; sed -i s/lang=\\\"en\\\"/lang=\\\"cs\\\"/g ../../web/eg2/cs-CZ/index.html" }, "private": true,