Bugzilla – Attachment 44609 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]
Bug 15154 - Allow correct translation for upload local cover image
Bug-15154---Allow-correct-translation-for-upload-l.patch (text/plain), 2.13 KB, created by
Frédéric Demians
on 2015-11-07 06:59:16 UTC
(
hide
)
Description:
Bug 15154 - Allow correct translation for upload local cover image
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-11-07 06:59:16 UTC
Size:
2.13 KB
patch
obsolete
>From b969e092d19c2ea379f599e26ccab98d22950295 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] 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 >--- > 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 %] >-- >2.6.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 15154
:
44607
|
44608
|
44609
|
44784