Bugzilla – Attachment 54105 Details for
Bug 17040
Context menu when editing items is not translated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 17040: Fix translation on context menu when editing items
PASSED-QA-Bug-17040-Fix-translation-on-context-men.patch (text/plain), 2.45 KB, created by
Katrin Fischer
on 2016-08-07 09:28:16 UTC
(
hide
)
Description:
[PASSED QA] Bug 17040: Fix translation on context menu when editing items
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-08-07 09:28:16 UTC
Size:
2.45 KB
patch
obsolete
>From 8db51e05c3b995327567927f7c1b368254159c92 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 3 Aug 2016 15:48:42 +0100 >Subject: [PATCH] [PASSED QA] Bug 17040: Fix translation on context menu when > editing items >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Test plan: >update and install translated language files >On the item list (cataloguing/additem.pl) the context menu should be >translated (Edit item/Delete item) > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 75b5ea8..8c642b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -37,8 +37,10 @@ $(document).ready(function(){ > var rowid = $(this).parent().attr("id"); > num_rowid = rowid.replace("row",""); > $(".linktools").remove(); >- var edit_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&frameworkcode=[% frameworkcode %]&biblionumber=[% biblionumber %]&itemnumber='+num_rowid+'&searchid=[% searchid %]#edititem">' + _("Edit item") + '</a>'); >- var delete_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&frameworkcode=[% frameworkcode %]&biblionumber=[% biblionumber %]&itemnumber='+num_rowid+'&searchid=[% searchid %]">' + _("Delete item") + '</a></span>'); >+ var edit_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&frameworkcode=[% frameworkcode %]&biblionumber=[% biblionumber %]&itemnumber='+num_rowid+'&searchid=[% searchid %]#edititem"></a>'); >+ $(edit_link).text(_("Edit item")); >+ var delete_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&frameworkcode=[% frameworkcode %]&biblionumber=[% biblionumber %]&itemnumber='+num_rowid+'&searchid=[% searchid %]"></a>'); >+ $(delete_link).text(_("Delete item")); > $(delete_link).on('click', function(e) { > return confirm_deletion(); > }); >-- >1.9.1
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 17040
:
53957
|
53987
| 54105 |
60044