Last modified: 2007-10-24 07:53:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13731, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11731 - LanguageHy cleanup
LanguageHy cleanup
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-21 14:36 UTC by Alexander Sigachov
Modified: 2007-10-24 07:53 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
cleanup (472 bytes, patch)
2007-10-21 14:36 UTC, Alexander Sigachov
Details

Description Alexander Sigachov 2007-10-21 14:36:29 UTC
Created attachment 4274 [details]
cleanup

ConvertPlural in LanguageHy.php is same as in Language.php
Comment 1 Niklas Laxström 2007-10-21 18:35:08 UTC
They are not the same:
en: abs(n)=1 ? a : b (excludes zero)
hy: abs(n)<=1 ? a : b (includes zero)
Comment 2 Alexander Sigachov 2007-10-21 19:24:07 UTC
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
Comment 3 Niklas Laxström 2007-10-21 19:26:42 UTC
Are you saying that the code in LanguageHy is wrong for Armenian?
Comment 4 Alexander Sigachov 2007-10-21 19:32:25 UTC
(In reply to comment #3)
> Are you saying that the code in LanguageHy is wrong for Armenian?
> 

I suspect that it is superfluous.
Comment 5 Teak 2007-10-24 02:02:45 UTC
> 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.
Comment 6 Alexander Sigachov 2007-10-24 07:53:27 UTC
OK, thanks for the explanation

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links