Bug 12944: Fix regression on translating

This patch fixes the translation for the "Remove" button.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Tested:
- acq history search with different searches
- patron lists patron search
Passes all tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2014-12-29 11:12:13 +01:00 committed by Tomas Cohen Arazi
parent e30a020275
commit 4d01620579
3 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ function patron_autocomplete(params) {
}
function AddPatron( patron_name, value, container, input_name ) {
div = "<div id='borrower_" + value + "'>" + patron_name + " ( <a href='#' class='removePatron'> " + _("Remove") + " </a> ) <input type='hidden' name='" + input_name + "' value='" + value + "' /></div>";
div = "<div id='borrower_" + value + "'>" + patron_name + " ( <a href='#' class='removePatron'> " + MSG_REMOVE_PATRON + " </a> ) <input type='hidden' name='" + input_name + "' value='" + value + "' /></div>";
$(container).append( div );
$(container).parent().show( 800 );

View File

@ -9,6 +9,7 @@
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script>
<script type="text/javascript">
//<![CDATA[
var MSG_REMOVE_PATRON = _("Remove");
$(document).ready(function() {
$("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, {
"aoColumnDefs": [

View File

@ -9,6 +9,7 @@
<script type="text/javascript" src="[% interface %]/js/autocomplete/patrons.js"></script>
<script type="text/javascript">
//<![CDATA[
var MSG_REMOVE_PATRON = _("Remove");
$(document).ready(function() {
$('#patrons_to_add_fieldset').hide();