Bugzilla – Attachment 13380 Details for
Bug 9017
Quote of the day: Table footer not translated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9017 - Quote of the day: Table footer not translated
Bug-9017---Quote-of-the-day-Table-footer-not-trans.patch (text/plain), 3.09 KB, created by
Chris Cormack
on 2012-11-11 06:52:23 UTC
(
hide
)
Description:
Bug 9017 - Quote of the day: Table footer not translated
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-11-11 06:52:23 UTC
Size:
3.09 KB
patch
obsolete
>From 33121f527a6243c4c26bcdee94c36e487d58a9c5 Mon Sep 17 00:00:00 2001 >From: Marc Veron <veron@veron.ch> >Date: Wed, 7 Nov 2012 13:56:42 +0100 >Subject: [PATCH] Bug 9017 - Quote of the day: Table footer not translated > >The strings for the table footer of the QOD feature are translated in /datatables-strings.inc, but they did not show up in staff client due to missing code in quotes.tt -> $(document).ready(function(), part "oLanguage" >Code added as appropriate. >See: http://datatables.net/usage/i18n > >Additionally, quotes.tt had a stray </script> tag after [% INCLUDE 'datatables-strings.inc' %] > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > .../intranet-tmpl/prog/en/modules/tools/quotes.tt | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >index 7a083b8..ea5769c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt >@@ -6,7 +6,6 @@ > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/dataTables.fnReloadAjax.js"></script> > [% INCLUDE 'datatables-strings.inc' %] >- </script> > <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript" src="[% themelang %]/js/jquery.jeditable.mini.js"></script> > <script type="text/javascript"> >@@ -29,7 +28,21 @@ > { "sWidth": "11%" }, > ], > "oLanguage" : { >- "sEmptyTable": sEmptyTable, >+ "oPaginate": { >+ "sFirst": MSG_DT_FIRST, >+ "sLast": MSG_DT_LAST, >+ "sNext": MSG_DT_NEXT, >+ "sPrevious": MSG_DT_PREVIOUS, >+ }, >+ "sEmptyTable": MSG_DT_EMPTY_TABLE, >+ "sInfo": MSG_DT_INFO, >+ "sInfoEmpty": MSG_DT_INFO_EMPTY, >+ "sInfoFiltered": MSG_DT_INFO_FILTERED, >+ "sLengthMenu": MSG_DT_LENGTH_MENU, >+ "sLoadingRecords": MSG_DT_LOADING_RECORDS, >+ "sProcessing": MSG_DT_PROCESSING, >+ "sSearch": MSG_DT_SEARCH, >+ "sZeroRecords": MSG_DT_ZERO_RECORDS, > }, > "fnPreDrawCallback": function(oSettings) { > return true; >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9017
:
13277
|
13280
|
13380
|
13550