[Koha-bugs] [Bug 9017] Quote of the day: Table footer not translated
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 7 21:53:04 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9017
Owen Leonard <oleonard at myacpl.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
I don't think this is the correct approach. If you look at
members/readingrec.tt you can see that the table footer *is* translated. The
difference is that the initialization of the table sorter on that page includes
a directive to extend according to some defaults:
$("#table_readingrec").dataTable($.extend(true, {}, dataTablesDefaults, {
"sPaginationType": "four_button",
}));
dataTablesDefaults loads the configuration in datatables.js which loads the
variables defined in datatables-strings.inc. And datatables-strings.inc exists
expressly to be picked up for translation, so duplicating its contents
shouldn't be necessary.
That said, simply adding $.extend() to the datatables configuration in
quotes.tt doesn't work for me and I'm not sure why.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list