Bugzilla – Attachment 49034 Details for
Bug 15206
Show patron's age when filling date of birth in memberentry.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15206: Make strings translatable
Bug-15206-Make-strings-translatable.patch (text/plain), 1.32 KB, created by
Alex Arnaud
on 2016-03-11 14:30:11 UTC
(
hide
)
Description:
Bug 15206: Make strings translatable
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2016-03-11 14:30:11 UTC
Size:
1.32 KB
patch
obsolete
>From aa04b8b167cb7e5f947034c2711d6a5d0b1f07ec Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 2 Feb 2016 10:20:12 +0000 >Subject: [PATCH] Bug 15206: Make strings translatable > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.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 8d2eab6..d470166 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -146,11 +146,11 @@ function select_user(borrowernumber, borrower) { > } > > if (age.year) { >- age_string += _(age.year > 1 ? '%s years ' : '%s year ').format(age.year); >+ age_string += age.year > 1 ? _('%s years ').format(age.year) : _('%s year ').format(age.year); > } > > if (age.month) { >- age_string += _(age.month > 1 ? '%s months ' : '%s month ').format(age.month); >+ age_string += age.month > 1 ? _('%s months ').format(age.month) : _('%s month ').format(age.month); > } > > hint.html(age_string); >-- >2.7.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 15206
:
44953
|
44978
|
45579
|
45580
|
45581
|
45589
|
45590
|
45591
|
45592
|
45593
|
45597
|
45598
|
45599
|
45600
|
45601
|
46228
|
46245
|
46396
|
47301
|
47505
|
47506
|
47540
|
47541
|
47542
|
49032
|
49033
| 49034