Bugzilla – Attachment 44784 Details for
Bug 15154
Allow correct translation for upload local cover image
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 15154 - Allow correct translation for upload local cover image
PASSED-QA-Bug-15154---Allow-correct-translation-fo.patch (text/plain), 2.20 KB, created by
Katrin Fischer
on 2015-11-11 23:09:14 UTC
(
hide
)
Description:
[PASSED QA] Bug 15154 - Allow correct translation for upload local cover image
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-11-11 23:09:14 UTC
Size:
2.20 KB
patch
obsolete
>From a8a851c974e432260868bdf462921aeec3286767 Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Sat, 7 Nov 2015 00:16:02 -0600 >Subject: [PATCH] [PASSED QA] Bug 15154 - Allow correct translation for upload > local cover image > >To test: >-Set syspref LocalCoverImages and OPACLocalCoverImages to Allow >-A new tab 'Images' appear in bib record detail on Intranet. >-Notice about the phrase "Please upload one" >-Apply the patch and reload the page. >-New phrase appear "Select the image file to upload" with button Upload >-Update translation files : cd misc/translator; perl translate update es-ES >-You will see in es-ES-staff-prog.po the new entry >"Select the image file to upload. %sUpload%s" >-You can see the result installing the translation >cd misc/translator ; perl translate install es-ES > >Signed-off-by: Frederic Demians <f.demians@tamil.fr> > A native English speaker could confirm that the wording is ok: Please select > the image file to upload > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index a83b6ba..f9a1d35 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -84,8 +84,8 @@ function verify_images() { > var no_images_msg = _("No images have been uploaded for this bibliographic record yet."); > no_images_msg = '<p>' + no_images_msg + '</p>'; > [% IF ( CAN_user_tools_upload_local_cover_images ) %] >- var please_upload = _("Please %supload%s one.").format( >- "<a href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>", >+ var please_upload = _("Please select the image file to upload. %sUpload%s").format( >+ "<a class='btn' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>", > "</a>"); > no_images_msg += "<p id='upload_image'>" + please_upload + '</p>'; > [% END %] >-- >1.9.1
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 15154
:
44607
|
44608
|
44609
| 44784