Last modified: 2007-10-24 07:53:27 UTC
Created attachment 4274 [details] cleanup ConvertPlural in LanguageHy.php is same as in Language.php
They are not the same: en: abs(n)=1 ? a : b (excludes zero) hy: abs(n)<=1 ? a : b (includes zero)
As native speaker of Armenian explain to me, 0 file 1 file 2 file 10 file have same form of word "tree" in the language. They use the plural form ("trees") only without numerals. File was deleted. Files was deleted. I'll mail to translator of MessagesHy.php
Are you saying that the code in LanguageHy is wrong for Armenian?
(In reply to comment #3) > Are you saying that the code in LanguageHy is wrong for Armenian? > I suspect that it is superfluous.
> As native speaker of Armenian explain to me, > > 0 file > 1 file > 2 file > 10 file > > have same form of word "tree" in the language. > > They use the plural form ("trees") only without numerals. > > File was deleted. > Files was deleted. As a native speaker of Armenian, let me explain. The plural form in Armenian is used with or without numerals, what determines which should be used is the definiteness/indefiniteness. If the noun is in the indefinite form, then the singular form is used, even with a preceding numeral >1, but if the noun is in the definite form, then the plural form is used. The analogy with English would be: 25 file was deleted (indefinite form) (the) deleted 25 files were(!) junk (definite form) and for zero, the grammatical number in Armenian is single. Compare: en: no (zero) files were found hy: no (zero) file was found So it's not superfluous, though I'm not aware of any uses with such a difference.
OK, thanks for the explanation