Bugzilla – Attachment 39534 Details for
Bug 13656
"Change"/"Set to patron" button for linking a member to an organisation (or child to guarantor) not translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13656: "Change"/"Set to patron" button for linking a member to an organisation (or child to guarantor) not translatable
Bug-13656-ChangeSet-to-patron-button-for-linking-a.patch (text/plain), 2.17 KB, created by
Jonathan Druart
on 2015-05-26 16:00:15 UTC
(
hide
)
Description:
Bug 13656: "Change"/"Set to patron" button for linking a member to an organisation (or child to guarantor) not translatable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-26 16:00:15 UTC
Size:
2.17 KB
patch
obsolete
>From 964e45ed95b1cfecc87ecda01ae683907b03b9c1 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Fri, 15 May 2015 11:03:21 +0200 >Subject: [PATCH] Bug 13656: "Change"/"Set to patron" button for linking a > member to an organisation (or child to guarantor) not translatable > >Test plan: >1. install and activate an additional language >2. create patron in organization category >3. create professional patron >4. try to add this patron to an organization (Guarantor information section) >5. note that the left button text changed to "Change" - untranslated english string >6. push the "Delete" button, the guarantor patron field is cleared and the left button text changed to "Set to patron" - again original english text >7. apply the patch >7.1. update translation (koha-translate -u language_code) >8. repeat 4-6, note, that button text are still translated in all sitations >9. sign off ;) > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Work as described, no errors >Fixed message capitalization > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 330058f..82025f6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -14,7 +14,7 @@ > $("#contactname, #contactfirstname") > .each(function () { this.type = 'text' }) > .parent().find('span').remove(); >- $("#guarantorsearch").val("Set to Patron"); >+ $("#guarantorsearch").val(_("Set to patron")); > }); > $("#select_city").change(function(){ > var myRegEx=new RegExp(/(.*)\|(.*)\|(.*)\|(.*)/); >@@ -129,7 +129,7 @@ > form.country.value = borrower.country; > form.branchcode.value = borrower.branchcode; > >- form.guarantorsearch.value = 'Change'; >+ form.guarantorsearch.value = _("Change"); > > return 0; > } >-- >2.1.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 13656
:
39208
|
39209
|
39215
|
39216
| 39534 |
40160