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=84fc0a2b47bf8435dd8086b60d6b92165cf5e81d;p=Evergreen.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 377d652838..f47c879454 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,