Bugzilla – Attachment 145114 Details for
Bug 30993
Translation: Unbreak sentence in upload.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30993: Improve translatabilty of UPLOAD av hint
Bug-30993-Improve-translatabilty-of-UPLOAD-av-hint.patch (text/plain), 2.06 KB, created by
Katrin Fischer
on 2023-01-06 23:12:32 UTC
(
hide
)
Description:
Bug 30993: Improve translatabilty of UPLOAD av hint
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-01-06 23:12:32 UTC
Size:
2.06 KB
patch
obsolete
>From 191120f1b54d876fc1223a656c2b8ba1d0418fce Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Fri, 6 Jan 2023 23:06:52 +0000 >Subject: [PATCH] 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 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >index 0505d6a206..75942b89b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt >@@ -80,7 +80,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> >+ [% SET av_UPLOAD_link = "<a href='/cgi-bin/koha/admin/authorised_values.pl?searchfield=UPLOAD'>UPLOAD</a>" %] >+ <span>Add values to the [% av_UPLOAD_link | $raw %] 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 %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30993
:
145114
|
145166
|
145168
|
146515
|
146687