[Koha-bugs] [Bug 6464] New: Add inconsistence check for '%s' count in tmpl_process3.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jun 5 19:09:42 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6464
Bug #: 6464
Summary: Add inconsistence check for '%s' count in
tmpl_process3.pl
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: I18N/L10N
AssignedTo: frederic at tamil.fr
ReportedBy: semarie-koha at latrappe.fr
QAContact: koha-bugs at lists.koha-community.org
Created attachment 4366
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=4366
inconsistence check for tmpl_process3.pl
Missing '%s' in translated string could easily result to "Template process
failed" (when [% END %] is missing for example).
And in result, the end-user is blocked with an error.
It would be advantageous to have a small check for inconsistence check between
the number of '%s' in msgid and the number of '%s' in msgstr, at the install
time.
Note: on the 3.4.1, I have 217 string mismatched in staff.po...
This check could be easily be added just after PO loading, in
tmpl_process3.pl.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list