From 6be8ea930fd2f1939d412e2627c74ab0546d1ce4 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 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