Bugzilla – Attachment 10228 Details for
Bug 8232
Comments in OPAC contain untranslatable javascript messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8232: Comments in OPAC contain untranslatable javascript messages
SIGNED-OFF-Bug-8232-Comments-in-OPAC-contain-untra.patch (text/plain), 2.23 KB, created by
Owen Leonard
on 2012-06-11 15:22:55 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8232: Comments in OPAC contain untranslatable javascript messages
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-06-11 15:22:55 UTC
Size:
2.23 KB
patch
obsolete
>From f2d338ac87c975155969bd9a68090adf4fe38b47 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 11 Jun 2012 15:09:00 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 8232: Comments in OPAC contain > untranslatable javascript messages >Content-Type: text/plain; charset="utf-8" > >To test: >- add a new comment to a record in the OPAC >- Your comment (preview, pending approval) is not translatable >- update po files by running 'perl translate update <language>' >- Open po file and check if strings are there, translate >- install language again by running 'perl translate install <language>' > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >index d140285..92bdc87 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-review.tt >@@ -9,7 +9,7 @@ > var inject_old = function(comment) { > [% IF ( reviewid ) %] > [% IF ( cgi_debug ) %]alert(_('injecting OLD comment: ')+comment);[% END %] >- parent.opener.$('#c[% reviewid %] p').prev("small").prev("h5").html("Your edited comment (preview, pending approval)"); >+ parent.opener.$('#c[% reviewid %] p').prev("small").prev("h5").html(_("Your edited comment (preview, pending approval)")); > parent.opener.$('#c[% reviewid %] p').html(comment); > parent.opener.$('#c[% reviewid %] p').append("<a href=\"#comment\" onclick=\"Dopop(\'/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber | uri %]&reviewid=[% reviewid | uri%]\');\">Edit<\/a>"); > [% END %] >@@ -19,7 +19,7 @@ > [% IF ( cgi_debug ) %]alert(_("injecting NEW comment: ") +comment);[% END %] > parent.opener.$('#newcomment').attr("class","yours"); > parent.opener.$('#newcomment').html( >- "<h5>Your comment (preview, pending approval)<\/h5>" + >+ "<h5>" + _("Your comment (preview, pending approval)") + "<\/h5>" + > "<p>"+comment+"<\/p>" + > "<a href=\"#comment\" onclick=\"Dopop(\'/cgi-bin/koha/opac-review.pl?biblionumber=[% biblionumber |uri%]\');\">Edit<\/a><\/p>" > ); >-- >1.7.9.5
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 8232
:
10215
| 10228