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
+7 -7
View File
@@ -140,8 +140,8 @@
"%(items)s and %(remaining)s others": "%(items)s y %(remaining)s otros",
"%(items)s and one other": "%(items)s y otro",
"%(items)s and %(lastItem)s": "%(items)s y %(lastItem)s",
"and %(count)s others....other": "y %(count)s otros...",
"and %(count)s others....one": "y otro...",
"and %(count)s others...|other": "y %(count)s otros...",
"and %(count)s others...|one": "y otro...",
"%(names)s and %(lastPerson)s are typing": "%(names)s y %(lastPerson)s están escribiendo",
"%(names)s and one other are typing": "%(names)s y otro están escribiendo",
"%(names)s and %(count)s others are typing": "%(names)s y %(count)s otros están escribiendo",
@@ -341,8 +341,8 @@
"Anyone": "Cualquiera",
"<a>Click here</a> to join the discussion!": "¡<a>Pulse aquí</a> para unirse a la conversación!",
"Close": "Cerrar",
"%(count)s new messages.one": "%(count)s mensaje nuevo",
"%(count)s new messages.other": "%(count)s mensajes nuevos",
"%(count)s new messages|one": "%(count)s mensaje nuevo",
"%(count)s new messages|other": "%(count)s mensajes nuevos",
"Create a new chat or reuse an existing one": "Cree una nueva conversación o reutilice una existente",
"Custom": "Personalizado",
"Custom level": "Nivel personalizado",
@@ -688,9 +688,9 @@
"unknown": "desconocido",
"Unnamed Room": "Sala sin nombre",
"Unverified": "Sin verificar",
"Uploading %(filename)s and %(count)s others.zero": "Subiendo %(filename)s",
"Uploading %(filename)s and %(count)s others.one": "Subiendo %(filename)s y %(count)s otros",
"Uploading %(filename)s and %(count)s others.other": "Subiendo %(filename)s y %(count)s otros",
"Uploading %(filename)s and %(count)s others|zero": "Subiendo %(filename)s",
"Uploading %(filename)s and %(count)s others|one": "Subiendo %(filename)s y %(count)s otros",
"Uploading %(filename)s and %(count)s others|other": "Subiendo %(filename)s y %(count)s otros",
"Upload avatar": "Subir avatar",
"Upload Failed": "Error al subir",
"Upload Files": "Subir archivos",