Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Here is a small patch to correct the lack of Drupal.formatPlural()
for the javascript code.
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff-ideal_comments-2232021_1-2189869_1.patch | 2.57 KB | ckng |
#1 | ideal_comments-js_namespace_plural-2189869-1.patch | 11.24 KB | ckng |
ideal_comments-format_plural.patch | 717 bytes | tostinni |
Comments
Comment #1
ckngMake 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
Comment #2
ckng