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
+9 -9
View File
@@ -141,8 +141,8 @@
"%(items)s and %(remaining)s others": "%(items)s en %(remaining)s andere",
"%(items)s and one other": "%(items)s en één andere",
"%(items)s and %(lastItem)s": "%(items)s en %(lastItem)s",
"and %(count)s others....other": "en %(count)s andere...",
"and %(count)s others....one": "en één andere...",
"and %(count)s others...|other": "en %(count)s andere...",
"and %(count)s others...|one": "en één andere...",
"%(names)s and %(lastPerson)s are typing": "%(names)s en %(lastPerson)s zijn aan het typen",
"%(names)s and one other are typing": "%(names)s en één andere zijn aan het typen",
"%(names)s and %(count)s others are typing": "%(names)s en %(count)s andere zijn aan het typen",
@@ -222,7 +222,7 @@
"Are you sure you want to upload the following files?": "Weet u zeker dat u de volgende bestanden wil uploaden?",
"<a>Click here</a> to join the discussion!": "<a>Klik hier</a> om mee te doen aan de discussie!",
"Close": "Sluiten",
"%(count)s new messages.one": "%(count)s nieuw bericht",
"%(count)s new messages|one": "%(count)s nieuw bericht",
"Create new room": "Een nieuwe kamer maken",
"Custom Server Options": "Aangepaste serverinstellingen",
"Dismiss": "Afwijzen",
@@ -329,7 +329,7 @@
"Set a Display Name": "Weergavenaam instellen",
"Upload an avatar:": "Een avatar uploaden:",
"Can't connect to homeserver - please check your connectivity, ensure your <a>homeserver's SSL certificate</a> is trusted, and that a browser extension is not blocking requests.": "Geen verbinding met de thuisserver - controleer je verbinding. Controleer het <a>SSL-certificaat van de thuisserver</a> en browser-extensies die verzoeken kunnen blokkeren.",
"%(count)s new messages.other": "%(count)s nieuwe berichten",
"%(count)s new messages|other": "%(count)s nieuwe berichten",
"Create an account": "Open een account",
"Cryptography": "Cryptografie",
"Current password": "Huidig wachtwoord",
@@ -644,9 +644,9 @@
"Unrecognised command:": "Onbekende commando:",
"Unrecognised room alias:": "Onbekende ruimte alias:",
"Unverified": "Niet geverifieerd",
"Uploading %(filename)s and %(count)s others.zero": "Aan het uploaden %(filename)s",
"Uploading %(filename)s and %(count)s others.one": "%(filename)s en %(count)s andere aan het uploaden",
"Uploading %(filename)s and %(count)s others.other": "%(filename)s en %(count)s anderen aan het uploaden",
"Uploading %(filename)s and %(count)s others|zero": "Aan het uploaden %(filename)s",
"Uploading %(filename)s and %(count)s others|one": "%(filename)s en %(count)s andere aan het uploaden",
"Uploading %(filename)s and %(count)s others|other": "%(filename)s en %(count)s anderen aan het uploaden",
"uploaded a file": "Bestand geüpload",
"Upload avatar": "Avatar uploaden",
"Upload Failed": "Uploaden Mislukt",
@@ -737,8 +737,8 @@
"Sent messages will be stored until your connection has returned.": "Verstuurde berichten zullen opgeslagen worden tot je connectie weer terug is.",
"Auto-complete": "Automatisch aanvullen",
"<a>Resend all</a> or <a>cancel all</a> now. You can also select individual messages to resend or cancel.": "<a>Verstuur alle</a> of <a>annuleer alle</a> nu. Je kan ook individuele berichten selecteren om te versturen of te annuleren.",
"(~%(count)s results).one": "(~%(count)s resultaat)",
"(~%(count)s results).other": "(~%(count)s resultaten)",
"(~%(count)s results)|one": "(~%(count)s resultaat)",
"(~%(count)s results)|other": "(~%(count)s resultaten)",
"or": "of",
"Active call": "Actief gesprek",
"bold": "vetgedrukt",