[Tails-l10n] Fixes for ar.po and hu.po

Nachricht löschen

Nachricht beantworten
Autor: Cyril Brulebois
Datum:  
To: tails-l10n
CC: tails-rm
Neue Treads: [Tails-l10n] Errors for ar (REMOVED), hu (REMOVED), kk (REMOVED), nl (PLEASE FIX)
Betreff: [Tails-l10n] Fixes for ar.po and hu.po
Hi,

It'd be great to have those fixed so they don't break further l10n syncs
when we're in the middle of the release process:

    kibi@armor:~/work/clients/tails/release/release-checkout$ cd "${RELEASE_CHECKOUT:?}" && \
    > ./import-translations  && \
    > ./refresh-translations && \
    > ./submodules/jenkins-tools/slaves/check_po
    […]
    E: ./po/ar.po: python-brace-format-string-missing-argument msgid '{details} Please check your list of additional software or read the system log to understand the problem.': details not in msgstr while in msgid
    E: ./po/hu.po: python-brace-format-string-unknown-argument msgid 'Remove {package} from your additional software? This will stop installing the package automatically.': packages in msgstr but not in msgid
    E: ./po/hu.po: python-brace-format-string-missing-argument msgid 'Remove {package} from your additional software? This will stop installing the package automatically.': package not in msgstr while in msgid


That's due to:

    kibi@armor:~/work/clients/tails/release/release-checkout$ git diff -- po/{ar,hu}.po
    diff --git a/po/ar.po b/po/ar.po
    index c628cc555b..701e86dc12 100644
    --- a/po/ar.po
    +++ b/po/ar.po
    @@ -209,7 +209,7 @@ msgid ""
     "{details} Please check your list of additional software or read the system "
     "log to understand the problem."
     msgstr ""
    -"{details} الرجاء التأكد من قائمة البرامج الاضافية لديك او قراءة سجل النظام "
    +"[details] الرجاء التأكد من قائمة البرامج الاضافية لديك او قراءة سجل النظام "
     "لفهم المشكلة."


     #: config/chroot_local-includes/usr/local/sbin/tails-additional-software:152
    diff --git a/po/hu.po b/po/hu.po
    index 81ae82bff1..cc454af910 100644
    --- a/po/hu.po
    +++ b/po/hu.po
    @@ -362,7 +362,7 @@ msgid ""
     "Remove {package} from your additional software? This will stop installing "
     "the package automatically."
     msgstr ""
    -"{package} eltávolítása a további szoftveri közül? Ez meggátolja az "
    +"{packages} eltávolítása a további szoftveri közül? Ez meggátolja az "
     "alkalmazás automatikus telepítését."


     #. Translators: Don't translate {pkg}, it's a placeholder and will be replaced.


which AFAICT can and should be reverted, as the placeholders are changed
to a different string in the msgstrs… I've done that before committing
other changes.


Cheers,
--
Cyril 'kibi' Brulebois (ckb@???)