Bugzilla – Attachment 17424 Details for
Bug 10049
Comments tab shows ( ) instead of ( 0 ) on translated templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10049: Comments tab shows ( ) instad of ( 0 ) for translated templates
Bug-10049-Comments-tab-shows---instad-of--0--for-t.patch (text/plain), 1.48 KB, created by
Katrin Fischer
on 2013-04-14 17:55:07 UTC
(
hide
)
Description:
Bug 10049: Comments tab shows ( ) instad of ( 0 ) for translated templates
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-04-14 17:55:07 UTC
Size:
1.48 KB
patch
obsolete
>From b0fda4d66f79edb6bb275034cb08fabc3c9f0a64 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Sun, 14 Apr 2013 19:52:24 +0200 >Subject: [PATCH] Bug 10049: Comments tab shows ( ) instad of ( 0 ) for > translated templates > >To test: >1) Make sure comments/reviews are activated >2) Find a record with 0 comments/reviews in the opac >3) The tab shows: Comments ( 0 ) >4) Switch to any other languages. >5) Tab now shows: <translation of Comments> ( ) >6) Apply patch >7) Check English templates stil work correctly >8) Rerun 'perl translate install <langcode> >9) Check display is now correct. >10) Also check that number shows correctly for records > with comments. >--- > koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >index 3c37bd1..63c83dc 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt >@@ -946,7 +946,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { > </li> > [% END %] > [% IF ( reviewson ) %] >- <li id="tab_comments"><a href="#comments">Comments ( [% IF reviews.defined %][% reviews.size %][% ELSE %]0[% END %] )</a></li> >+ <li id="tab_comments"><a href="#comments">Comments ( [% IF reviews.defined %][% reviews.size %][% ELSE %]0[% END %] )</a></li> > [% END %] > > [% IF ( NovelistSelectProfile ) %] >-- >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 10049
:
17423
|
17424
|
17455
|
17496
|
17544