Bugzilla – Attachment 20971 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]
Bug 10871: Make confirmation message for deleting news translatable
Bug-10871-Make-confirmation-message-for-deleting-n.patch (text/plain), 1.59 KB, created by
Katrin Fischer
on 2013-09-10 19:12:20 UTC
(
hide
)
Description:
Bug 10871: Make confirmation message for deleting news translatable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-09-10 19:12:20 UTC
Size:
1.59 KB
patch
obsolete
>From c4b1b616ba3aef3ddf5219dc4a58d96e9d9e7a46 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] Bug 10871: Make confirmation message for deleting news > translatable > >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. >--- > .../prog/en/modules/tools/koha-news.tt | 2 +- > 1 file changed, 1 insertion(+), 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..15bdbff 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 >@@ -130,7 +130,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(_("Are you sure you want to delete the selected 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