Bugzilla – Attachment 21126 Details for
Bug 10871
Confirmation message for deleting news entries is not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 10871: Make confirmation message for deleting news translatable
SIGNED-OFF-Bug-10871-Make-confirmation-message-for.patch (text/plain), 2.01 KB, created by
Owen Leonard
on 2013-09-16 18:48:50 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 10871: Make confirmation message for deleting news translatable
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-09-16 18:48:50 UTC
Size:
2.01 KB
patch
obsolete
>From b39b110cc5cda9b000dd2b36312ce6975ac87dbd Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Tue, 10 Sep 2013 21:10:28 +0200 >Subject: [PATCH] [SIGNED-OFF] Bug 10871: Make confirmation message for > deleting news translatable >Content-Type: text/plain; charset="utf-8" > >To test: >- Create a news entry in tools > news >- Delete the news entry or multiple entries by selecting them > using the checkboxes to the left and the delete button at the > bottom of the page. > >Verify confirmation message shows up correctly with patch applied. > >Bonus: >- Update one of the po files and make sure the new strings shows up > there. > >Thx Owen! > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../prog/en/modules/tools/koha-news.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >index cc8604d..b92f63a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt >@@ -23,6 +23,8 @@ > [% END %] > <script language="javascript" type="text/javascript" src="[% interface %]/lib/tiny_mce/tiny_mce.js"></script> > <script type="text/javascript">//<![CDATA[ >+var MSG_CONFIRM_DELETE_NEWS = _("Are you sure you want to delete the selected news?"); >+ > tinyMCE.init({ > mode : "textareas", > theme : "advanced", >@@ -130,7 +132,7 @@ Edit News Item[% ELSE %]Add News Item[% END %][% ELSE %]News[% END %]</div> > </form> > </div> > [% IF ( opac_news_count ) %] >- <form name="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" onsubmit="return confirm('Are you sure you want to delete the selected news?')"> >+ <form name="del_form" method="post" action="/cgi-bin/koha/tools/koha-news.pl" onsubmit='return confirm(MSG_CONFIRM_DELETE_NEWS)'> > <table id="newst"> > <thead> <tr> > <th> </th> >-- >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 10871
:
20971
|
20997
|
21126
|
21228