Bugzilla – Attachment 72277 Details for
Bug 20141
Untranslatable string in Transport cost matrix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20141: Untranslatable string in transport cost matrix
Bug-20141-Untranslatable-string-in-transport-cost-.patch (text/plain), 1.72 KB, created by
Jonathan Druart
on 2018-02-27 16:58:00 UTC
(
hide
)
Description:
Bug 20141: Untranslatable string in transport cost matrix
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-02-27 16:58:00 UTC
Size:
1.72 KB
patch
obsolete
>From 239106ea05f91eeb2ee125e898b2c3a70554afd3 Mon Sep 17 00:00:00 2001 >From: Pasi Kallinen <pasi.kallinen@joensuu.fi> >Date: Tue, 6 Feb 2018 12:19:17 +0200 >Subject: [PATCH] Bug 20141: Untranslatable string in transport cost matrix > >Make the "Disable" checkboxes in transport cost matrix translatable > >Test plan: > >1) Go to Home -> Administration -> Transport cost matrix >2) Click on any cell >3) Note the "Disable" checkbox text >4) Install patch, add a language, translate the text, etc >5) Repeat 1-3, the "Disable" text should now be translated > >Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt >index ae4ae0f36c..4376eb6024 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/transport-cost-matrix.tt >@@ -120,7 +120,7 @@ > > $('#celldiv_'+cost_id).html( > '<input type="text" name="cost_'+cost_id+'" class="cost_input" size="4" value="'+$.trim(cost)+'" />'+ >- '<br/>Disable <input name="disable_'+cost_id+'" value="1" class="disable_transport_cost" type="checkbox" '+(disabled ? 'checked' : '')+' />' >+ '<br/>' + _("Disable ") + '<input name="disable_'+cost_id+'" value="1" class="disable_transport_cost" type="checkbox" '+(disabled ? 'checked' : '')+' />' > ); > disable_transport_cost(cost_id, disabled); > } >-- >2.11.0
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 20141
:
71246
| 72277