Page MenuHomePhabricator

PLURAL support for Coll-load local book
Closed, ResolvedPublic


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.


Version: unspecified
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:20 AM
bzimport added a project: Collection.
bzimport set Reference to bz54679.
bzimport added a subscriber: Unknown Object (MLST).

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);

It gets worse - check out where the 'txt' variable comes from.

Change 224959 had a related patch set uploaded (by Siebrand):
Use plural and remove legacy code

Change 224959 merged by jenkins-bot:
Use plural and remove legacy code

Is not this bug fixed by now and should be closed as fixed? Need to update /qqq though.

Jdlrobson claimed this task.