Update widget names and descriptions

This commit is contained in:
Brian Miyaji
2014-02-19 14:52:36 +11:00
parent 473a3b7937
commit 1e0daae7c1
6 changed files with 12 additions and 12 deletions

View File

@@ -2,8 +2,8 @@
class SP_Widget_Countdown extends WP_Widget { class SP_Widget_Countdown extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_countdown widget_sp_countdown', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_countdown widget_sp_countdown', 'description' => __( 'A clock that counts down to an upcoming event.', 'sportspress' ) );
parent::__construct('sp_countdown', __( 'Countdown', 'sportspress' ), $widget_ops); parent::__construct('sp_countdown', __( 'SportsPress Countdown', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {

View File

@@ -2,8 +2,8 @@
class SportsPress_Widget_Events_Calendar extends WP_Widget { class SportsPress_Widget_Events_Calendar extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_calendar widget_sp_events_calendar', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_calendar widget_sp_events_calendar', 'description' => __( 'A calendar of events.', 'sportspress' ) );
parent::__construct('sp_events_calendar', __( 'Events Calendar', 'sportspress' ), $widget_ops); parent::__construct('sp_events_calendar', __( 'SportsPress Events Calendar', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {

View File

@@ -2,8 +2,8 @@
class SportsPress_Widget_Future_Events extends WP_Widget { class SportsPress_Widget_Future_Events extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_recent_entries widget_sp_future_events', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_recent_entries widget_sp_future_events', 'description' => __( 'A list of upcoming events.', 'sportspress' ) );
parent::__construct('sp_future_events', __( 'Future Events', 'sportspress' ), $widget_ops); parent::__construct('sp_future_events', __( 'SportsPress Future Events', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {

View File

@@ -2,8 +2,8 @@
class SportsPress_Widget_League_Table extends WP_Widget { class SportsPress_Widget_League_Table extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_league_table widget_sp_league_table', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_league_table widget_sp_league_table', 'description' => __( 'Displays a league table.', 'sportspress' ) );
parent::__construct('sp_league_table', __( 'League Table', 'sportspress' ), $widget_ops); parent::__construct('sp_league_table', __( 'SportsPress League Table', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {

View File

@@ -2,8 +2,8 @@
class SportsPress_Widget_Player_list extends WP_Widget { class SportsPress_Widget_Player_list extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_player_list widget_sp_player_list', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_player_list widget_sp_player_list', 'description' => __( 'Displays a list of players.', 'sportspress' ) );
parent::__construct('sp_player_list', __( 'Player List', 'sportspress' ), $widget_ops); parent::__construct('sp_player_list', __( 'SportsPress Player List', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {

View File

@@ -2,8 +2,8 @@
class SportsPress_Widget_Recent_Events extends WP_Widget { class SportsPress_Widget_Recent_Events extends WP_Widget {
function __construct() { function __construct() {
$widget_ops = array('classname' => 'widget_recent_entries widget_sp_recent_events', 'description' => __( 'SportsPress widget.', 'sportspress' ) ); $widget_ops = array('classname' => 'widget_recent_entries widget_sp_recent_events', 'description' => __( 'A list of recent events.', 'sportspress' ) );
parent::__construct('sp_recent_events', __( 'Recent Events', 'sportspress' ), $widget_ops); parent::__construct('sp_recent_events', __( 'SportsPress Recent Events', 'sportspress' ), $widget_ops);
} }
function widget( $args, $instance ) { function widget( $args, $instance ) {