#255 closed defect (bug) (fixed)
Error in Previous FIX 583
Reported by: | blogestudio | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | 1.0 | |
Component: | Keywords: | member, members, translate | |
Cc: |
Description
[583]: Fixing "member" vs "members" problem on group directory
When you modify the code left the function "sprintf" in the translation function "_e." For this reason the keys to the dictionary doesn't work correctly.
Should be changed ...
_e(sprintf('% d member', $ member_count), 'buddypress')
_e(sprintf('% d members', $ member_count),' buddypress')
... by ...
sprintf(_e('% d member', 'buddypress'), $ member_count)
sprintf(_e('% d members',' buddypress'), $ member_count)
Thanks!
Change History (3)
Note: See
TracTickets for help on using
tickets.
Sorry, translate key "%d member" and "%d members" don't exists in spanish ".po"! ;-))
But the "solution" is easy! ;-)