angular-cn/packages/core/test/bundling
Pete Bacon Darwin 9188751adc fix(ivy): i18n - do not render message ids unnecessarily (#32867)
In an attempt to be compatible with previous translation files
the Angular compiler was generating instructions that always
included the message id. This was because it was not possible
to accurately re-generate the id from the calls to `$localize()` alone.

In line with https://hackmd.io/EQF4_-atSXK4XWg8eAha2g this
commit changes the compiler so that it only renders ids if they are
"custom" ones provided by the template author.

NOTE:

When translating messages generated by the Angular compiler
from i18n tags in templates, the `$localize.translate()` function
will compute message ids, if no custom id is provided, using a
common digest function that only relies upon the information
available in the `$localize()` calls.

This computed message id will not be the same as the message
ids stored in legacy translation files. Such files will need to be
migrated to use the new common digest function.

This only affects developers who have been trialling `$localize`, have
been calling `loadTranslations()`, and are not exclusively using custom
ids in their templates.

PR Close #32867
2019-10-02 14:52:00 -07:00
..
animation_world build(ivy): make sure animation_world prodserver and devserver work as expected (#32778) 2019-09-23 14:18:22 -07:00
core_all ci: update size benchmarks for core with 9.0.0-next.8 (#32947) 2019-10-02 13:22:36 -07:00
cyclic_import build: update rxjs to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
hello_world build: update rxjs to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
hello_world_i18n fix(ivy): i18n - do not render message ids unnecessarily (#32867) 2019-10-02 14:52:00 -07:00
hello_world_r2 build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
injection build: update rxjs to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
todo build: update rxjs to 6.5.3 (#32812) 2019-10-01 14:56:45 -07:00
todo_i18n fix(ivy): i18n - do not render message ids unnecessarily (#32867) 2019-10-02 14:52:00 -07:00
todo_r2 test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00
util test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00