-
Notifications
You must be signed in to change notification settings - Fork 27.1k
i18n's ph value doesn't allow single quotes, only double quotes #15318
Copy link
Copy link
Closed
Labels
area: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationfreq2: mediumtype: bug/fix
Description
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
<span i18n="description">begin message {{param // i18n(ph = "name")}} end</span>
In i18n's ph value, only double quotes are allowed. Single quotes are not and the placeholder is ignored.
Expected behavior
Expected to be able to use single quotes too.
Minimal reproduction of the problem with instructions
- Angular version: 4.0.0-rc.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationfreq2: mediumtype: bug/fix