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
@@ -337,8 +337,8 @@
"Confirm password": "Berretsi pasahitza",
"Conference calls are not supported in this client": "Bezero honek ez ditu konferentzia deiak onartzen",
"Could not connect to the integration server": "Ezin izan da integrazio zerbitzarira konektatu",
"%(count)s new messages.one": "mezu berri %(count)s",
"%(count)s new messages.other": "%(count)s mezu berri",
"%(count)s new messages|one": "mezu berri %(count)s",
"%(count)s new messages|other": "%(count)s mezu berri",
"Create a new chat or reuse an existing one": "Sortu txat berria edo berrerabili aurreko bat",
"Create an account": "Sortu kontua",
"Create Room": "Sortu gela",
@@ -647,9 +647,9 @@
"Unrecognised command:": "Agindu ezezaguna:",
"Unrecognised room alias:": "Gelaren ezizen ezezaguna:",
"Unverified": "Egiaztatu gabea",
"Uploading %(filename)s and %(count)s others.zero": "%(filename)s igotzen",
"Uploading %(filename)s and %(count)s others.one": "%(filename)s eta beste %(count)s igotzen",
"Uploading %(filename)s and %(count)s others.other": "%(filename)s eta beste %(count)s igotzen",
"Uploading %(filename)s and %(count)s others|zero": "%(filename)s igotzen",
"Uploading %(filename)s and %(count)s others|one": "%(filename)s eta beste %(count)s igotzen",
"Uploading %(filename)s and %(count)s others|other": "%(filename)s eta beste %(count)s igotzen",
"uploaded a file": "fitxategi bat igo du",
"Upload avatar": "Igo abatarra",
"Upload Failed": "Igoerak huts egin du",
@@ -754,8 +754,8 @@
"Sent messages will be stored until your connection has returned.": "Bidalitako mezuak zure konexioa berreskuratu arte gordeko dira.",
"Auto-complete": "Osatze automatikoa",
"<a>Resend all</a> or <a>cancel all</a> now. You can also select individual messages to resend or cancel.": "<a>Birbidali guztiak</a> edo <a>baztertu guztiak</a> orain. Mezuak banaka aukeratu ditzakezu ere birbidali ala baztertzeko.",
"(~%(count)s results).one": "(~%(count)s emaitza)",
"(~%(count)s results).other": "(~%(count)s emaitza)",
"(~%(count)s results)|one": "(~%(count)s emaitza)",
"(~%(count)s results)|other": "(~%(count)s emaitza)",
"bold": "lodia",
"italic": "etzana",
"strike": "marratua",
@@ -916,8 +916,8 @@
"Disable Peer-to-Peer for 1:1 calls": "Desgaitu P2P biren arteko deietan",
"Add a widget": "Gehitu trepeta bat",
"Allow": "Baimendu",
"and %(count)s others....other": "eta beste %(count)s...",
"and %(count)s others....one": "eta beste bat...",
"and %(count)s others...|other": "eta beste %(count)s...",
"and %(count)s others...|one": "eta beste bat...",
"Cannot add any more widgets": "Ezin dira trepeta gehiago gehitu",
"Changes colour scheme of current room": "Gela honen kolore eskema aldatzen du",
"Delete widget": "Ezabatu trepeta",