Actions
Bug #21601
closedLabels for calcAge: Singular/Plural
Start date:
2009-11-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions