Bug 17268: (QA follow-up) Make "Convert old browser macros" translatable
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 1 May 2020 21:33:00 +0000 (23:33 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 4 May 2020 07:26:38 +0000 (08:26 +0100)
The code was missing the necessary markup to make the string translatable.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc

index f8c2d3e..f3b4cec 100644 (file)
@@ -828,7 +828,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
         $( '#macro-list' ).empty();
         $("#convert-macros").remove();
         if( Object.keys(Preferences.user.macros).length ){
-            $convert = $( '<button class="btn btn-default" id="convert-macros" title="Convert browser storage macros"><i class="fa fa-adjust"></i> Convert old macros</button>' );
+            $convert = $( '<button class="btn btn-default" id="convert-macros" title="'+_("Convert browser storage macros")+'><i class="fa fa-adjust" aria-hidden="true"></i> Convert old macros</button>' );
             $convert.click( function(){
                 if( !confirm( _("This will retrieve macros stored in the brower, save them in the database, and delete them from the browser. Proceed?") ) ){
                     return;