From 73b3968dce3b9bdc95b12eb68fc813c83bcba3e8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 31 Mar 2016 09:06:14 +0100 Subject: [PATCH] Bug 16178: Fix tests for xt/single_quotes.t Caused by commit 9c5c1bc9f104b125e06b3805ce510024e6ad34ac Bug 15206: Make strings translatable Test plan: prove xt/single_quotes.t should return green Signed-off-by: Nick Clemens Signed-off-by: Marcel de Rooy Signed-off-by: Brendan A Gallagher --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 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 e6caf43123..aeb7f128ee 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -142,15 +142,15 @@ function select_user(borrowernumber, borrower) { var age_string; if (age.year || age.month) { - age_string = _('Age: '); + age_string = _("Age: "); } if (age.year) { - age_string += age.year > 1 ? _('%s years ').format(age.year) : _('%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 ').format(age.month) : _('%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