@@ -, +, @@ for 2 files av-build-dropbox.inc exposing internals (comments and tt code) to translations as mentioned - Verify, that code changes make sense and have no more line breaks insied tt directives. - Run QA tools in newest version (checking for line breaks inside tt directives) - Bonus test: Create a "language" aa-AA (perl translate create aa-AA from folder misc/translator, verify that lines mentioned above do no longer appear in aa-AA-staff-prog.po and in aa-AA-opac-bootstrap.po --- .../prog/en/includes/av-build-dropbox.inc | 21 ++++++++------------- .../bootstrap/en/includes/av-build-dropbox.inc | 19 +++++++------------ 2 files changed, 15 insertions(+), 25 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc @@ -1,19 +1,14 @@ [% USE AuthorisedValues %] -[%# - Parameters: - name: the name of the select element - category: the authorised value category - default: the default authorised value to select - class: the CSS class of the select element - size: the size to use for the input (generated if the authorised value category does not exist). - all: add a "All" entry -%] +[%# Parameters: %] +[%# name: the name of the select element %] +[%# category: the authorised value category %] +[%# default: the default authorised value to select %] +[%# class: the CSS class of the select element %] +[%# size: the size to use for the input (generated if the authorised value category does not exist). %] +[%# all: add a "All" entry %] [% SET avs = AuthorisedValues.GetAuthValueDropbox( category ) %] -[% DEFAULT - class = '' - size = 20 -%] +[% DEFAULT class = '' size = 20 %] [% IF avs %] --