LP 1993534: Followup to replace deprecated command
authorJason Boyer <JBoyer@equinoxOLI.org>
Thu, 20 Oct 2022 21:32:09 +0000 (17:32 -0400)
committerJane Sandberg <sandbergja@gmail.com>
Thu, 20 Oct 2022 22:27:04 +0000 (15:27 -0700)
Running ng xi18n manually complained that it's deprecated and extract-i18n
is the new hotness.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>

Open-ILS/src/eg2/package.json

index 63b2967..3022582 100644 (file)
@@ -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 --format xmb",
+    "export-strings": "ng extract-i18n --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,