-
Notifications
You must be signed in to change notification settings - Fork 29.5k
i18n Ivy extactor: missing type="fmt" inside <source> 聽#38791
Copy link
Copy link
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationfreq2: mediumregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versionstate: has PRtype: bug/fix
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationfreq2: mediumregressionIndicates than the issue relates to something that worked in a previous versionIndicates than the issue relates to something that worked in a previous versionstate: has PRtype: bug/fix
馃悶 bug report
Is this a regression?
Kind of. Makes translation system (Crowdin in my case) treat the extracted text as a new string
Description
Given following HTML:
<div i18n>You're using a web browser<br/>that we don't support.</div>Old extractor would produce:
<source>You're using a web browser<ph id="0" equiv="LINE_BREAK" type="fmt" disp="<br/>"/>that we don't support.</source>But with the --ivy flag it produces:
<source>You're using a web browser<ph id="0" equiv="LINE_BREAK" disp="<br/>"/>that we don't support.</source>so the
type="fmt"is missing, changing into a new string.馃實 Your Environment
Angular Version: