Last modified: 2013-06-18 16:53:30 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 T27274, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25274 - PLURAL suggested for headline messages on page translate move confirmation page
PLURAL suggested for headline messages on page translate move confirmation page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Purodha Blissenbach
: i18n
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2010-09-23 19:17 UTC by Purodha Blissenbach
Modified: 2013-06-18 16:53 UTC (History)
4 users (show)

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


Attachments

Description Purodha Blissenbach 2010-09-23 19:17:16 UTC
Section header messages:
pt-movepage-list-pages
pt-movepage-list-translation
pt-movepage-list-section
pt-movepage-list-other
generally should use PLURAL, and not be present when an empty section follows.

But:
Since these messages are mainly seen by administrators, who likely are not that
picky, and tweaking code so as to know the number of section entries in advance
before a section is being computed, is a bit work, and adds to server load, and
having only one entry is usually unlikely, this is a very low priority issue at
present, imho.
Comment 1 Niklas Laxström 2010-09-23 19:20:44 UTC
This feature is still in "it should work" stage. Should definitively keep this issue in mind when making it better someday.
Comment 2 Bharat Kumar Jonnalagadda 2012-11-11 06:11:08 UTC
Fixed it by changing the following MessageKeys in PageTranslation.i18n.php

'pt-movepage-list-translation' => 'Translation {{PLURAL:$1|page|pages}}',
'pt-movepage-list-section' => 'Translation unit {{PLURAL:$1|page|pages}}',
'pt-movepage-list-other' => 'Other sub{{PLURAL:$1|page|pages}}',

Also in the tag/SpecialTranslationMovePage.php passed the $count parameter
to the $out->wrapWikiMsg()
Comment 3 Bharat Kumar Jonnalagadda 2012-11-11 07:07:55 UTC
Link: https://gerrit.wikimedia.org/r/#/c/32871/

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


Navigation
Links