angular-cn/packages/localize/src
Pete Bacon Darwin cf9a47ba53 feat(localize): allow duplicate messages to be handled during extraction (#38082)
Previously, the i18n message extractor just quietly ignored messages that
it extracted that had the same id. It can be helpful to identify these
to track down messages that have the same id but different message text.

Now the messages are checked for duplicate ids with different message text.
Any that are found can be reported based on the new `--duplicateMessageHandling`
command line option (or `duplicateMessageHandling` API options property).

* "ignore" - no action is taken
* "warning" - a diagnostic warning is written to the logger
* "error" - the extractor throws an error and exits

Fixes #38077

PR Close #38082
2020-07-16 13:53:38 -07:00
..
localize build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tools feat(localize): allow duplicate messages to be handled during extraction (#38082) 2020-07-16 13:53:38 -07:00
utils feat(localize): implement message extraction tool (#32912) 2020-06-25 14:10:03 -07:00
translate.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00