From fc67f10f49a92c87b314e675bda8e5148676a2ff 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 --- koha-tmpl/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 e6caf43..aeb7f12 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.1.4