[Koha-bugs] [Bug 29602] We must be nicer with translators
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 1 13:58:53 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29602
--- Comment #15 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Katrin Fischer from comment #9)
> Pootle doesn't like the named placeholders ({}) for example, it gives an
> error that is very confusing to the translators as it requires manually
> removing the warning almost every time a file with those strings is touched.
I wasn't aware of this. It's strange, as this syntax is documented in gettext:
https://www.gnu.org/software/gettext/manual/html_node/perl_002dformat.html#perl_002dformat
I just tested locally on a fresh install of Pootle, and it seems the warning
only appear for strings that have several plural forms AND the {} placeholder
is not used in all of them. No warnings for simple (singular) translations or
for plural forms that all have the {} placeholder in them. Have you seen the
same thing ?
If it's a problem, it can be changed to the usual %1$s, %2$s, ... It's not too
late as only a few strings use this.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list