Issue Bug Closed

#21601Labels for calcAge: Singular/Plural

Bernhard Kraft 11/18/09, 11:28 updated 06/01/13, 14:43

Description

The labels for the “calcAge” method can only be given in grammatical singular or plural.

So the results will be like “1 seconds” … or “123 second” … but correct would be “1 second” and “123 seconds”.

Fix:
Add a check if the result is only “1” and use the grammatically correct singular form of the label in this case.

See attached patch

(issue imported from #M12650)

Reviews 1