Fix plurals in translations

Weblate doesn't understand counterpart's multi-level format for
plurals and helpfully mangles them to be dot-separated keys when it
saves the translation file. Store the source files with pipe
separators and convert to counterpart format at build time.
This commit is contained in:
David Baker
2017-09-04 17:09:36 +01:00
parent 05ac085ddd
commit de2940f469
22 changed files with 165 additions and 185 deletions
+2 -4
View File
@@ -192,10 +192,8 @@
"%(items)s and %(remaining)s others": "%(items)s та інші %(remaining)s",
"%(items)s and one other": "%(items)s і ще один інший",
"%(items)s and %(lastItem)s": "%(items)s та %(lastItem)s",
"and %(count)s others...": {
"other": "та %(count)s інші...",
"one": "і інше..."
},
"and %(count)s others...|one": "і інше...",
"and %(count)s others...|other": "та %(count)s інші...",
"%(names)s and %(lastPerson)s are typing": "%(names)s та %(lastPerson)s пишуть",
"%(names)s and one other are typing": "%(names)s та інші пишуть",
"%(names)s and %(count)s others are typing": "%(names)s та %(count)s інших пишуть",