angular-docs-cn/integration/cli-hello-world-ivy-i18n
Pete Bacon Darwin 62f7d0fe5c fix(ivy): i18n - ensure that colons in i18n metadata are not rendered (#33820)
The `:` char is used as a metadata marker in `$localize` messages.
If this char appears in the metadata it must be escaped, as `\:`.
Previously, although the `:` char was being escaped, the TS AST
being generated was not correct and so it was being output double
escaped, which meant that it appeared in the rendered message.

As of TS 3.6.2 the "raw" string can be specified when creating tagged
template AST nodes, so it is possible to correct this.

PR Close #33820
2019-11-18 16:00:22 -08:00
..
e2e test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
src fix(ivy): i18n - ensure that colons in i18n metadata are not rendered (#33820) 2019-11-18 16:00:22 -08:00
.editorconfig test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
.gitignore test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
README.md test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
angular.json test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
browserslist test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
karma.conf.js test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
package.json test(ngcc): build `zone.js` from source in `scripts/build-packages-dist.sh` (#33733) 2019-11-12 09:55:16 -08:00
tsconfig.app.json test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
tsconfig.json test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
tsconfig.spec.json test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
tslint.json test: add cli-hello-world-ivy-i18n integration test (#33510) 2019-11-01 17:50:56 +00:00
yarn.lock test(ngcc): build `zone.js` from source in `scripts/build-packages-dist.sh` (#33733) 2019-11-12 09:55:16 -08:00

README.md

CliHelloWorldIvyI18n

This project tests i18n using localize with CLI.

It includes a date pipe to ensure localeData is pulled into builds correctly.