-
Notifications
You must be signed in to change notification settings - Fork 25.5k
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
feat(compiler): do not parse xtb messages not needed by angular #14111
Conversation
@@ -49,6 +51,22 @@ export class Xtb extends Serializer { | |||
} | |||
} | |||
|
|||
function createLazyProperty(messages: any, id: string, nodes: ml.Node[], converter: XmlToI18n) { |
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.
Just pass a closure, and make this function generic.
const XTB = `<?xml version="1.0" encoding="UTF-8" ?> | ||
<translationbundle> | ||
<translation id="angular">is great</translation> | ||
<translation id="non angular">is <b>less</b> great</translation> |
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.
<invalid-tag>
...
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. |
fixes #14046