angular/packages/localize/src/utils
Pete Bacon Darwin 601f87c2ec fix(ivy): i18n - throw an error if a translation contains an invalid placeholder (#32867)
Previously if a translation contains a placeholder that
does not exist in the message being translated, that
placeholder is evaluated as `undefined`.

Translations should never contain such placeholder names
so now `translate` will throw a helpful error in instead.

PR Close #32867
2019-10-02 14:52:00 -07:00
..
constants.ts fix(ivy): i18n - use MessageId for matching translations (#32594) 2019-09-17 09:17:44 -07:00
messages.ts fix(ivy): i18n - start generated placeholder name at PH (#32493) 2019-09-17 15:13:30 -07:00
translations.ts fix(ivy): i18n - throw an error if a translation contains an invalid placeholder (#32867) 2019-10-02 14:52:00 -07:00