[Koha-bugs] [Bug 8942] Translation process breaks javascript in calendar.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 29 10:19:04 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8942

--- Comment #18 from Fridolyn SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 13757
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13757&action=edit
Always use double quotes : follow-up 1

Follow-up 1 :
In some places, a JavaScript string concatenation exists into translated string
:
_('Are you sure you want to delete the ' + count + ' attached items? ')
This does not work (see coding gidelines).
This patch corrects by using 2 translations :
_("Are you sure you want to delete the") + " " + count + " " + _("attached
items?")

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list