From 9c5c1bc9f104b125e06b3805ce510024e6ad34ac 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 Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- .../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 8d2eab6624..d470166b41 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.39.5