Bug 19361: (QA follow-up) Make sure translatable string is wrapped in double quotes
This fixes the QA script complaint:
FAIL koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
FAIL forbidden patterns
forbidden pattern: simple-quote string (line 125)
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e0880ed3c9)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
parent
13b2ec0378
commit
346a4162bc
|
|
@ -122,7 +122,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
$node.append( '<option value="' + authval.value + '"' + selected + '>' + authval.lib + '</option>' );
|
||||
} );
|
||||
if( !matched ){
|
||||
$node.append( '<option value="' + value + '" selected="selected">' + value + _(' (Not in authorised values list) ') + '</option>' );
|
||||
$node.append( "<option value='" + value + "' selected='selected'>" + value + " " + _("(Not in authorised values list)") + " " + "</option>" );
|
||||
}
|
||||
$node.val( this.text );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue