Here is a small patch to correct the lack of Drupal.formatPlural() for the javascript code.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ckng’s picture

Category: Bug report » Feature request
FileSize
11.24 KB

Make some improvement
- added ideal_comments js namespace
- used js formatPlural
- added comments_reply_singular and comments_reply_plural variables
- changed '@count Comments to this comment' to '1 reply'/'@count replies'

NOTE:
Patch is depending on #2232021: Ideal Comments js breaking site

Todo:
- UI setting to configure the replies singular/plural text

ckng’s picture