Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#856 closed defect (bug) (fixed)

1.0.3 widget titles need to be translated

Reported by: chouf1's profile chouf1 Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

bp-blog-widgets.php
line 11 :
parent::WP_Widget( false, $name = 'Recent Site Wide Posts' );

bp-activity-widgets.php
Line 11 :
parent::WP_Widget( false, $name = 'Site Wide Activity' );

bp-core-widgets.php
Line 16 :
parent::WP_Widget( false, $name = 'Welcome' ); also, "welcome" appears twice. Maybe one of them is too much :-)

  • 1 in the widget name (could be static or only visible for admins)
  • 2 in title field (would be translatable).

Line 73 :
parent::WP_Widget( false, $name = 'Members' );

Line 147 :
parent::WP_Widget( false, $name = 'Who\'s Online Avatars' );

Line 201 :
parent::WP_Widget( false, $name = 'Recently Active Member Avatars' );

bp-groups-widgets.php
Line 13 :
parent::WP_Widget( false, $name = 'Groups' );

Change History (3)

#1 @chouf1
15 years ago

  • Priority changed from major to trivial
  • Type changed from defect to enhancement

For the title in welcome widget witch appear between <h3>, i retrieved the whole code of line 27 in bp-core-widget.php

so WP_Widget( false, $name = 'welcome' ) don't need to be translated (welcome should be worldwide explicit enough i presume); the title field within the widget could be directly written in native language and the Welcome widget output on the mainpage show the right title, and not two in h2 and h3 ?!!!!

#2 @chouf1
15 years ago

  • Priority changed from trivial to major
  • Type changed from enhancement to defect

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1618

Note: See TracTickets for help on using tickets.