Opened 15 years ago
Closed 15 years ago
#2302 closed defect (bug) (fixed)
missing translation in comments.php
Reported by: | chouf1 | Owned by: | |
---|---|---|---|
Milestone: | 1.2.4 | Priority: | major |
Severity: | Version: | ||
Component: | Core | Keywords: | has-patch |
Cc: |
Description
in bp-themes/bp-default/comments.php the string line 23 is not translatable actually (and since v. 1.2 )
Replace :
<h3 id="comments"><?php comments_number( 'No Comments', 'One Comment', $numComments . ' Comments' );?></h3>
by
<h3 id="comments"><?php comments_number( ( ('No Comments »','buddypress')), ( ('1 Comment »','buddypress')), ( ('% Comments »','buddypress')) );?></h3>
The changes are done to reflect the existing expressions in pot file
Change History (4)
Note: See
TracTickets for help on using
tickets.
rather change it to:
<h3 id="comments"><?php comments_number();?></h3>
Translations are done in the wordpress comments_number() function with default parameter values.