Bug 30993: Improve translatabilty of UPLOAD av hint
Improve translatability on the hint for AV UPLOAD on the upload tool page. To test: * Go to tools > uploads * Verify that the hint below the 'Browse...' displayes nicely and the link to the UPLOAD AV works correctly * Apply patch * Verify the link still works and the sentence reads correctly. NOTE: now only UPLOAD will be linked. If you are familiar with the process, you can also make sure the strings now show up on po files as expected: https://wiki.koha-community.org/wiki/Translating_Koha#Updating_the_po_files_in_your_installation Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d2a281ad4b
commit
453793f714
1 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
[% USE KohaDates %]
|
||||
[% USE TablesSettings %]
|
||||
[% USE AuthorisedValues %]
|
||||
[%- USE KohaSpan -%]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
[% IF plugin %]
|
||||
|
@ -80,7 +81,8 @@
|
|||
<div class="hint">
|
||||
Note: No upload categories are defined.
|
||||
[% IF ( CAN_user_parameters_manage_auth_values ) -%]
|
||||
<span>Add values to the <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=UPLOAD">UPLOAD authorized value category</a> otherwise all uploads will be marked as temporary.</span>
|
||||
[% av_UPLOAD_link = BLOCK %]<a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=UPLOAD'>UPLOAD</a>[% END %]
|
||||
<span>Add values to the [% av_UPLOAD_link | $KohaSpan %] authorized value category otherwise all uploads will be marked as temporary.</span>
|
||||
[% ELSE -%]
|
||||
<span>An administrator must add values to the UPLOAD authorized value category otherwise all uploads will be marked as temporary.</span>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue