Bugzilla – Attachment 47542 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.27 KB, created by
Jonathan Druart
on 2016-02-02 10:24:55 UTC
(
hide
)
Description:
Bug 15206: Make strings translatable
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-02 10:24:55 UTC
Size:
1.27 KB
patch
obsolete
>From 6be8ea930fd2f1939d412e2627c74ab0546d1ce4 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 c02379d..4807f97 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -163,11 +163,11 @@ > } > > 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.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 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