[buddypress-trac] [BuddyPress] #2094: locate the_time function

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Feb 28 19:05:02 UTC 2010


#2094: locate the_time function
-------------------+--------------------------------------------------------
Reporter:  chouf1  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  minor   |   Milestone:     
Keywords:          |  
-------------------+--------------------------------------------------------
 <?php the_time('F j, Y') ?> is never translated... bp and wp admin setting
 have no influence on this.
 So why not use definetly this instead in the theme files who call that
 function?

 <?php the_time(__('F j, Y','buddypress')) ?>
 and put this in the pot file:

 # is by default in US date format
 # More on http://codex.wordpress.org/Template_Tags/the_time
 #: ../archive.php:50
 #: ../index.php:41
 #: ../search.php:50
 #: ../single.php:44
 msgid "F j, Y"
 msgstr ""

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2094>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list