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
@@ -218,8 +218,8 @@
"Confirm your new password": "Apstiprini jauno paroli",
"Continue": "Turpināt",
"Could not connect to the integration server": "Neizdevās savienoties ar integrācijas serveri",
"%(count)s new messages.one": "jaunu ziņu skaits: %(count)s",
"%(count)s new messages.other": "%(count)s jaunas ziņas",
"%(count)s new messages|one": "jaunu ziņu skaits: %(count)s",
"%(count)s new messages|other": "%(count)s jaunas ziņas",
"Create a new chat or reuse an existing one": "Izveidot jaunu čatu vai izmantot eksistējošu",
"Create an account": "Reģistrēt kontu",
"Create Room": "Izveidot istabu",
@@ -494,9 +494,9 @@
"%(senderName)s turned on end-to-end encryption (algorithm %(algorithm)s).": "%(senderName)s ieslēdza ierīce-ierīce šifrēšanu (algorithm %(algorithm)s).",
"%(senderName)s unbanned %(targetName)s.": "%(senderName)s atcēla pieejas ierobežojumu (atbanoja) %(targetName)s.",
"Unknown room %(roomId)s": "Nezināma istaba %(roomId)s",
"Uploading %(filename)s and %(count)s others.zero": "Tiek augšuplādēts %(filename)s",
"Uploading %(filename)s and %(count)s others.one": "Tiek augšuplādēts %(filename)s un %(count)s citi",
"Uploading %(filename)s and %(count)s others.other": "Tiek augšuplādēts %(filename)s un %(count)s citi",
"Uploading %(filename)s and %(count)s others|zero": "Tiek augšuplādēts %(filename)s",
"Uploading %(filename)s and %(count)s others|one": "Tiek augšuplādēts %(filename)s un %(count)s citi",
"Uploading %(filename)s and %(count)s others|other": "Tiek augšuplādēts %(filename)s un %(count)s citi",
"%(user)s is a": "%(user)s ir",
"%(userName)s (power %(powerLevelNumber)s)": "%(userName)s (power %(powerLevelNumber)s)",
"Username invalid: %(errMessage)s": "Neatbilstošs lietotājvārds: %(errMessage)s",
@@ -512,8 +512,8 @@
"%(weekDayName)s %(time)s": "%(weekDayName)s %(time)s",
"Password too short (min %(MIN_PASSWORD_LENGTH)s).": "Parole ir par īsu (jābūt vismaz %(MIN_PASSWORD_LENGTH)s zīmēm).",
"An error occurred: %(error_string)s": "Notikusi kļūda: %(error_string)s",
"(~%(count)s results).one": "(~%(count)s rezultāts)",
"(~%(count)s results).other": "(~%(count)s rezultāti)",
"(~%(count)s results)|one": "(~%(count)s rezultāts)",
"(~%(count)s results)|other": "(~%(count)s rezultāti)",
"%(severalUsers)sjoined %(repeats)s times": "%(severalUsers)s pievienojās %(repeats)s reizes",
"%(oneUser)sjoined %(repeats)s times": "%(oneUser)s pievienojās %(repeats)s reizes",
"%(severalUsers)sjoined": "%(severalUsers)s pievienojās",
@@ -916,8 +916,8 @@
"Encryption key request": "Šifrēšanas atslēgas pieprasījums",
"Add a widget": "Pievienot Widžetu",
"Allow": "Atļaut",
"and %(count)s others....other": "un vēl %(count)s citi...",
"and %(count)s others....one": "un vēl viens cits...",
"and %(count)s others...|other": "un vēl %(count)s citi...",
"and %(count)s others...|one": "un vēl viens cits...",
"Cannot add any more widgets": "Nav iespējams pievienot vairāk vidžetu",
"Changes colour scheme of current room": "Nomaina pašreizējās istabas krāsu paleti",
"Delete widget": "Dzēst widžetu",