Bug 8556 - "Mark seen and continue" not translatable in inventory.tt
Added missing _(...) wrapper in JavaScript in inventory.tt Additionaly added two blanks to separate buttons (were sticked together without white space) Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
08ea5a74a2
commit
a35f970bbe
|
|
@ -14,8 +14,8 @@ $(document).ready(function(){
|
||||||
$(".checkboxed").unCheckCheckboxes();
|
$(".checkboxed").unCheckCheckboxes();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
[% IF ( offset ) %]$("#markseen").before("<input type=\"submit\" value=\"<< Mark seen and continue\" id=\"markback\" />");[% END %]
|
[% IF ( offset ) %]$("#markseen").before("<input type=\"submit\" value=\"<< " + _("Mark seen and continue") + "\" id=\"markback\" /> ");[% END %]
|
||||||
[% IF ( nextoffset ) %]$("#markseen").after("<input type=\"submit\" id=\"marknext\" value=\"Mark seen and continue >>\" />");[% END %]
|
[% IF ( nextoffset ) %]$("#markseen").after(" <input type=\"submit\" id=\"marknext\" value=\"" + _("Mark seen and continue") + " >>\" />");[% END %]
|
||||||
$("#markback").click(function(){
|
$("#markback").click(function(){
|
||||||
$(".checkboxed").find("input").filter("[name=offset]").attr("value","[% prevoffset %]");
|
$(".checkboxed").find("input").filter("[name=offset]").attr("value","[% prevoffset %]");
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue