Bugzilla – Attachment 71088 Details for
Bug 20109
Allow translating "Remove" in Add Fund
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20109: Allow translating "Remove" in Add Fund
Bug-20109-Allow-translating-Remove-in-Add-Fund.patch (text/plain), 1.89 KB, created by
Owen Leonard
on 2018-01-31 13:45:35 UTC
(
hide
)
Description:
Bug 20109: Allow translating "Remove" in Add Fund
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-01-31 13:45:35 UTC
Size:
1.89 KB
patch
obsolete
>From 0e91ceff532723dc99dea44a3b9ebf4aaf69cf36 Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@joensuu.fi> >Date: Wed, 31 Jan 2018 08:51:30 +0200 >Subject: [PATCH] Bug 20109: Allow translating "Remove" in Add Fund > >When a user has been added to the fund, the link to "Remove" that user >is not translatable. > >Test plan: > >1) Install language xx-YY >2) Go to Home -> Administration -> Budgets -> Funds -> Add Fund >3) Add a user to the fund >4) Notice how the "Remove" link after the user's name is not translated >5) Apply patch >6) Look in xx-YY-staff-prog.po, and if needed, translate the msgid > "Remove" >7) Update and reinstall the language >8) Do 2 and 3 again. The "Remove" link should now be translated. > >Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi> >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index 21a3877..943e28e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -491,7 +491,7 @@ > var li = '<li id="user_' + borrowernumber + '">' > + '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' > + borrowernumber + '">' + borrowername + '</a> ' >- + ' • <a data-borrowernumber=" + borrowernumber +" class="del_user" href="#"><i class="fa fa-trash"></i> Remove</a> ' >+ + ' • <a data-borrowernumber=" + borrowernumber +" class="del_user" href="#"><i class="fa fa-trash"></i> '+_('Remove')+'</a> ' > + '</li>'; > $("#budget_users").prepend(li); > ids.push(borrowernumber); >-- >2.1.4
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 20109
:
71079
|
71088
|
71170
|
71224