[Tails-l10n] Translation status in 3.15

Supprimer ce message

Répondre à ce message
Auteur: Cyril Brulebois
Date:  
À: tails-l10n
CC: tails-rm
Anciens-sujets: [Tails-l10n] Errors for ar (REMOVED), fa (REMOVED), hu (REMOVED), kk (REMOVED), nl (PLEASE FIX)
Sujet: [Tails-l10n] Translation status in 3.15
Hi,

Being in the middle of preparing 3.15, I'm going to double check the
changes in the jenkins-tools submodule, but it seems check_po is now
waaay slower than it used to be, possibly because it's now checking
every single PO file instead of just po/*?

Anyway, there's a single issue, with zh_CN:

    ERROR: po/zh_CN.po:
        i18nspector is not happy:
            E: python-brace-format-string-unknown-argument msgid "Couldn't lock volume {volume_name}:\n{error_message}": '卷名称' in msgstr but not in msgid
            E: python-brace-format-string-unknown-argument msgid "Couldn't lock volume {volume_name}:\n{error_message}": '错误信息' in msgstr but not in msgid
            E: python-brace-format-string-missing-argument msgid "Couldn't lock volume {volume_name}:\n{error_message}": error_message not in msgstr while in msgid
            E: python-brace-format-string-missing-argument msgid "Couldn't lock volume {volume_name}:\n{error_message}": volume_name not in msgstr while in msgid


I've tentatively fixed it with the attached patch (“un-translating” place
holders and fixing what seemed to be a missing newline), also marking that
string fuzzy to draw attention on it.

Can you please loop translators in and get that double checked?

Thanks for your time.


Cheers,
--
Cyril 'kibi' Brulebois (ckb@???)
From d062912b0cac4fcecb3a98913e3cfb0b9084fd74 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <ckb@???>
Date: Mon, 8 Jul 2019 15:14:19 +0200
Subject: [PATCH] Attempt fixing format strings for zh_CN.

---
po/zh_CN.po | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/zh_CN.po b/po/zh_CN.po
index 2ced72b61f..75c16b864b 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -708,11 +708,11 @@ msgstr ""
#. Translators: Don't translate {volume_name} or {error_message},
#. they are placeholder and will be replaced.
#: config/chroot_local-includes/usr/local/lib/python3/dist-packages/unlock_veracrypt_volumes/volume.py:330
-#, python-brace-format
+# fuzzy, python-brace-format
msgid ""
"Couldn't lock volume {volume_name}:\n"
"{error_message}"
-msgstr "无法锁定卷{卷名称}:{错误信息}"
+msgstr "无法锁定卷{volume_name}:\n{error_message}"

#: config/chroot_local-includes/usr/local/lib/python3/dist-packages/unlock_veracrypt_volumes/volume.py:332
msgid "Error locking volume"
--
2.11.0