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
+4 -4
View File
@@ -150,8 +150,8 @@
"%(items)s and %(remaining)s others": "%(items)s och %(remaining)s andra",
"%(items)s and one other": "%(items)s och en annan",
"%(items)s and %(lastItem)s": "%(items)s och %(lastItem)s",
"and %(count)s others....other": "och %(count)s andra...",
"and %(count)s others....one": "och en annan...",
"and %(count)s others...|other": "och %(count)s andra...",
"and %(count)s others...|one": "och en annan...",
"%(names)s and %(lastPerson)s are typing": "%(names)s och %(lastPerson)s skriver",
"%(names)s and one other are typing": "%(names)s och en annan skriver",
"%(names)s and %(count)s others are typing": "%(names)s och %(count)s andra skriver",
@@ -303,8 +303,8 @@
"changing room on a RoomView is not supported": "det går inte att byta rum i en RoomView",
"<a>Click here</a> to join the discussion!": "<a>Klicka här</a> för att gå med i diskussionen!",
"Close": "Stäng",
"%(count)s new messages.one": "%(count)s nytt meddelande",
"%(count)s new messages.other": "%(count)s nya meddelanden",
"%(count)s new messages|one": "%(count)s nytt meddelande",
"%(count)s new messages|other": "%(count)s nya meddelanden",
"Create a new chat or reuse an existing one": "Skapa en ny chatt eller använd en existerande",
"Custom": "Egen",
"Decline": "Avvisa",