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 Cormack <chrisc@catalyst.net.nz>
Thu, 9 Jun 2011 07:48:48 +0000 (19:48 +1200)
commit2281350b6eb2b4d7043aad7baeb93f9bfa185a91
tree870bb25a538c54db982dcb55591566f33533e56e
parente0716515336da42f604764eb37be47354be73a8b
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>
misc/translator/tmpl_process3.pl