angular-translate / angular-translate/grunt-po2json-angular-translate
Incorrect interpolation variables into plurals
- Lingua principale
- JavaScript
- Stelle
- 8
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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}}"
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.