angular-translate / angular-translate/grunt-po2json-angular-translate
Incorrect interpolation variables into plurals
Open
- Dominant language
- JavaScript
- Stars
- 8
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Correct
```
.po:
msgstr[0] "Время: %d {name} секунда"
msgstr[1] "Время: %d {name} секунд"
msgstr[2] "Время: %d {name} секуды"
.json:
"Время: {{name}} {PLURALIZE, plural, offset:1 =2{# секунда} other{# секунд}}"
```
Incorrect
```
.po:
msgstr[0] "Время: %d секунда {name}"
msgstr[1] "Время: %d секунд {name}"
msgstr[2] "Время: %d секуды {name}"
.json:
"Время: {{PLURALIZE, plural, offset:1 =2{# секунда}} other{# секунд}} {name}"
```
Must be
```
"Время: {{PLURALIZE, plural, offset:1 =2{# секунда}} other{# секунд}} {{name}}"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.