[buddypress-trac] [BuddyPress] #2338: bp-activity-templatetags Slugs

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Nov 2 02:45:00 UTC 2010

#2338: bp-activity-templatetags Slugs
 Reporter:  laullon   |       Owner:                                                         
     Type:  defect    |      Status:  new                                                    
 Priority:  normal    |   Milestone:  1.3                                                    
Component:  Activity  |    Keywords:  bp-activity-templatetags BP_GROUPS_SLUG BP_FRIENDS_SLUG

Comment(by boonebgorges):

 I agree that this needs to be done in various places throughout BP, but
 I'm not sure that the specific location mentioned in bp-activity-
 templatetags.php is one of them. The strings in question ('friends' and
 'groups') are literals that are function arguments. Unlike URL slugs,
 they're not user-facing at all (and they have no connection to anything
 user-facing, since they're entered on the template), so there's not a
 hugely compelling argument for making them translatable. On the other
 hand, there is an argument (albeit perhaps a small one) for not making
 them translatable: documentation like http://codex.buddypress.org
 /developer-docs/custom-buddypress-loops/the-activity-stream-loop/ becomes
 a bit more complicated, because you can no longer say for certain what the
 'object' parameter should be for core components.

Ticket URL: <http://trac.buddypress.org/ticket/2338#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list