Includes build tweaks to get the cz-CS build to work.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
}
},
"i18n": {
+ "sourceLocale": "en-US",
"locales": {
"cs-CZ": {
"translation": "src/locale/messages.cs-CZ.xtb",
"e2e": "ng e2e",
"create-mock-idl": "cd src/test_data && perl idl2js.pl",
"export-strings": "ng xi18n --output-path locale --i18n-format xmb",
- "build-cs-CZ": "ng build --configuration=production-cs-CZ --output-path ../../web/eg2/ --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"
+ "build-cs-CZ": "ng build --configuration=production-cs-CZ --output-path ../../web/eg2 --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,
"browserslist": [
production: true,
// TODO: a way to pass these in at build time.
// locales: ['en-US', 'fr-CA', 'cs-CZ']
- locales: ['en-US']
+ locales: ['en-US', 'cs-CZ']
};