Browse Source

Bug 15206: Make strings translatable

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
new_12478_elasticsearch
Jonathan Druart 6 years ago
committed by Brendan Gallagher
parent
commit
9c5c1bc9f1
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

4
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);

Loading…
Cancel
Save