]> git.koha-community.org Git - koha.git/commit
Bug 6464 Check inconsistent placeholders in translated strings
authorFrédéric Demians <f.demians@tamil.fr>
Mon, 6 Jun 2011 12:43:21 +0000 (14:43 +0200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 14 Jun 2011 00:52:51 +0000 (20:52 -0400)
commit92a68bf8331506d1b36cb3ffbc0c9526c0cadd3f
treef41657dc496360029efc504f7c01fa00decdbbaf
parent4f9077c5acb41887c2e5e22a0ac183011271677e
Bug 6464 Check inconsistent placeholders in translated strings

Display a warning for strings that don't have the same count of %s placeholders
that the English original strings. Don't warn for not translated string and
'fuzzy' string because those strings are not installed, and this is the
translator responsability to examine them.

Based on Frère Sébastien Marie work.

Signed-off-by: Frère Sébastien Marie <semarie-koha@latrappe.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2281350b6eb2b4d7043aad7baeb93f9bfa185a91)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
misc/translator/tmpl_process3.pl