[Koha-bugs] [Bug 15206] Show patron's age when filling date of birth in memberentry.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 14 10:37:57 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15206

--- Comment #33 from Frédéric Demians <frederic at tamil.fr> ---
> > > 5/ I think "year(s)" could be replaced with "year" :) And manage the plural
> > > for month/months should not be too difficult.
> > ?

> if months == 1 then display 'month' elsif months > 1 then display 'months'

If possible, it should be avoided. Some languages have more than two nouns
forms (one for unit, and one for plural). See:

http://www.unicode.org/cldr/charts/27/supplemental/language_plural_rules.html

Something like that would do it:

  Age: years: 10 / months: 2

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list