Caused by
commit
9c5c1bc9f104b125e06b3805ce510024e6ad34ac
Bug 15206: Make strings translatable
Test plan:
prove xt/single_quotes.t
should return green
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
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);