From aa04b8b167cb7e5f947034c2711d6a5d0b1f07ec Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 Feb 2016 10:20:12 +0000 Subject: [PATCH] Bug 15206: Make strings translatable Signed-off-by: Jonathan Druart --- 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