-
Notifications
You must be signed in to change notification settings - Fork 26.6k
fix(localize): ensure required XLIFF parameters are serialized #38575
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
When extracting i18n messages from source code, the XLIFF serializers were missing some required attributes on the `<file>` element. This commit re-introduces the `original` property to each of XLIFF 1.2 and 2.0 serializers. Also it adds in the required `id` property for the XLIFF 2.0 seralizer. Fixes angular#38570
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@petebacondarwin, quick question: should this fix also go to the patch branch (this PR is currently marked as "master-only")? |
The message extraction is only on master |
…ar#38575) When extracting i18n messages from source code, the XLIFF serializers were missing some required attributes on the `<file>` element. This commit re-introduces the `original` property to each of XLIFF 1.2 and 2.0 serializers. Also it adds in the required `id` property for the XLIFF 2.0 seralizer. Fixes angular#38570 PR Close angular#38575
angular#38575)" This reverts commit ac04d30.
…ar#38575) When extracting i18n messages from source code, the XLIFF serializers were missing some required attributes on the `<file>` element. This commit re-introduces the `original` property to each of XLIFF 1.2 and 2.0 serializers. Also it adds in the required `id` property for the XLIFF 2.0 seralizer. Fixes angular#38570 PR Close angular#38575
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
When extracting i18n messages from source code, the XLIFF
serializers were missing some required attributes on the
<file>
element.
This commit re-introduces the
original
property to each of XLIFF 1.2and 2.0 serializers. Also it adds in the required
id
property for theXLIFF 2.0 seralizer.
Fixes #38570