diff --git a/admin/post-types/event.php b/admin/post-types/event.php index b294e928..d7974f77 100644 --- a/admin/post-types/event.php +++ b/admin/post-types/event.php @@ -131,7 +131,7 @@ function sportspress_event_team_meta( $post ) { 'post_type' => 'sp_team', 'name' => 'sp_team_selector', 'class' => 'sportspress-pages', - 'show_option_none' => '(' . sprintf( __( 'Select', 'sportspress' ) . ')', 'Team' ), + 'show_option_none' => __( '— Select —', 'sportspress' ), 'option_none_value' => '0' ); wp_dropdown_pages( $args ); diff --git a/admin/templates/events-calendar.php b/admin/templates/events-calendar.php index a704d855..f5500bf2 100644 --- a/admin/templates/events-calendar.php +++ b/admin/templates/events-calendar.php @@ -80,7 +80,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) { '; if ( $previous ) { - $calendar_output .= "\n\t\t".'« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . ''; + $calendar_output .= "\n\t\t".'« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . ''; } else { $calendar_output .= "\n\t\t".' '; } @@ -88,7 +88,7 @@ if ( !function_exists( 'sportspress_events_calendar' ) ) { $calendar_output .= "\n\t\t".' '; if ( $next ) { - $calendar_output .= "\n\t\t".'' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »'; + $calendar_output .= "\n\t\t".'' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »'; } else { $calendar_output .= "\n\t\t".' '; } diff --git a/functions.php b/functions.php index 4515644c..54f6b04b 100644 --- a/functions.php +++ b/functions.php @@ -113,9 +113,9 @@ if ( !function_exists( 'sportspress_get_post_views' ) ) { add_post_meta( $post_id, $count_key, '0' ); endif; if ( isset( $views ) && $views == 1 ) - return __( '1 View', 'sportspress' ); + return __( '1 view', 'sportspress' ); else - return sprintf( __( '%s Views', 'sportspress' ), $count ); + return sprintf( __( '%s views', 'sportspress' ), $count ); } } @@ -520,7 +520,7 @@ if ( !function_exists( 'sportspress_equation_selector' ) ) { ?>