Last modified: 2013-09-27 13:00:19 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 T56679, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54679 - PLURAL support for Coll-load local book
PLURAL support for Coll-load local book
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2013-09-27 05:21 UTC by Siddhartha Ghai
Modified: 2013-09-27 13:00 UTC (History)
3 users (show)

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


Attachments

Description Siddhartha Ghai 2013-09-27 05:21:07 UTC
Reporting this bug per an old translatewiki thread[1], the message [[:w:MediaWiki:Coll-load local book]] doesn't support plural. It needs to support plural over the %NUMPAGES% parameter. This is needed for proper hindi translation of the sentence. Its probably also needed for other languages.

Hindi translation won't require support for plural over %TITLE% but I can't say if other languages may need this support.

[1]: http://translatewiki.net/wiki/Thread:Support/PLURAL_support_for_Coll-load_local_book
Comment 1 Marcin Cieślak 2013-09-27 13:00:19 UTC
While here, we should get rid of horrible %TITLE% handling with parens:


21             txt = txt.replace(/%TITLE%/, c.title ? '("' + c.title + '")' : '');
22             txt = txt.replace(/%NUMPAGES%/, num_pages);

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


Navigation
Links