Scorecard => Box Score

This commit is contained in:
Brian Miyaji
2016-04-04 11:09:53 +10:00
parent c0d085ba66
commit 3cf233c6be
10 changed files with 10 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ $raw = apply_filters( 'sportspress_tinymce_strings', array(
'details' => __( 'Details', 'sportspress' ), 'details' => __( 'Details', 'sportspress' ),
'results' => __( 'Results', 'sportspress' ), 'results' => __( 'Results', 'sportspress' ),
'countdown' => __( 'Countdown', 'sportspress' ), 'countdown' => __( 'Countdown', 'sportspress' ),
'performance' => __( 'Scorecard', 'sportspress' ), 'performance' => __( 'Box Score', 'sportspress' ),
'calendar' => __( 'Calendar', 'sportspress' ), 'calendar' => __( 'Calendar', 'sportspress' ),
'statistics' => __( 'Statistics', 'sportspress' ), 'statistics' => __( 'Statistics', 'sportspress' ),
'table' => __( 'League Table', 'sportspress' ), 'table' => __( 'League Table', 'sportspress' ),

View File

@@ -138,7 +138,7 @@ class SP_Admin_Meta_Boxes {
'priority' => 'high', 'priority' => 'high',
), ),
'performance' => array( 'performance' => array(
'title' => __( 'Scorecard', 'sportspress' ), 'title' => __( 'Box Score', 'sportspress' ),
'save' => 'SP_Meta_Box_Event_Performance::save', 'save' => 'SP_Meta_Box_Event_Performance::save',
'output' => 'SP_Meta_Box_Event_Performance::output', 'output' => 'SP_Meta_Box_Event_Performance::output',
'context' => 'normal', 'context' => 'normal',

View File

@@ -22,7 +22,7 @@ class SP_Meta_Box_Event_Shortcode {
$shortcodes = apply_filters( 'sportspress_event_shortcodes', array( $shortcodes = apply_filters( 'sportspress_event_shortcodes', array(
'event_results' => __( 'Results', 'sportspress' ), 'event_results' => __( 'Results', 'sportspress' ),
'event_details' => __( 'Details', 'sportspress' ), 'event_details' => __( 'Details', 'sportspress' ),
'event_performance' => __( 'Scorecard', 'sportspress' ), 'event_performance' => __( 'Box Score', 'sportspress' ),
) ); ) );
if ( $shortcodes ) { if ( $shortcodes ) {
?> ?>

View File

@@ -271,7 +271,7 @@ class SP_Settings_Events extends SP_Settings_Page {
), ),
array( array(
array( 'title' => __( 'Scorecard', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'performance_options' ), array( 'title' => __( 'Box Score', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'performance_options' ),
), ),
apply_filters( 'sportspress_performance_options', array( apply_filters( 'sportspress_performance_options', array(

View File

@@ -74,7 +74,7 @@ class SP_Templates {
'default' => 'yes', 'default' => 'yes',
), ),
'performance' => array( 'performance' => array(
'title' => __( 'Scorecard', 'sportspress' ), 'title' => __( 'Box Score', 'sportspress' ),
'option' => 'sportspress_event_show_performance', 'option' => 'sportspress_event_show_performance',
'action' => 'sportspress_output_event_performance', 'action' => 'sportspress_output_event_performance',
'default' => 'yes', 'default' => 'yes',

View File

@@ -1331,7 +1331,7 @@ if ( !function_exists( 'sp_taxonomy_field' ) ) {
function sp_get_text_options() { function sp_get_text_options() {
$strings = apply_filters( 'sportspress_text', array( $strings = apply_filters( 'sportspress_text', array(
__( 'Article', 'sportspress' ), __( 'Article', 'sportspress' ),
__( 'Scorecard', 'sportspress' ), __( 'Box Score', 'sportspress' ),
__( 'Career Total', 'sportspress' ), __( 'Career Total', 'sportspress' ),
__( 'Current Team', 'sportspress' ), __( 'Current Team', 'sportspress' ),
__( 'Current Teams', 'sportspress' ), __( 'Current Teams', 'sportspress' ),

View File

@@ -116,7 +116,7 @@ msgstr ""
#: includes/admin/settings/class-sp-settings-events.php:303 #: includes/admin/settings/class-sp-settings-events.php:303
#: includes/sp-core-functions.php:1316 modules/sportspress-tutorials.php:93 #: includes/sp-core-functions.php:1316 modules/sportspress-tutorials.php:93
#: templates/event-performance.php:108 #: templates/event-performance.php:108
msgid "Scorecard" msgid "Box Score"
msgstr "" msgstr ""
#: assets/js/admin/editor-lang.php:31 #: assets/js/admin/editor-lang.php:31

View File

@@ -90,7 +90,7 @@ class SportsPress_Tutorials {
) ), ) ),
__( 'Events', 'sportspress' ) => apply_filters( 'sportspress_event_advanced_videos', array( __( 'Events', 'sportspress' ) => apply_filters( 'sportspress_event_advanced_videos', array(
__( 'Event Outcomes', 'sportspress' ) . ' ' . __( '(Auto)', 'sportspress' ) => '//www.youtube-nocookie.com/embed/pCVfPv2O5yY?rel=0&showinfo=0', __( 'Event Outcomes', 'sportspress' ) . ' ' . __( '(Auto)', 'sportspress' ) => '//www.youtube-nocookie.com/embed/pCVfPv2O5yY?rel=0&showinfo=0',
__( 'Scorecard', 'sportspress' ) => '//www.youtube-nocookie.com/embed/rERU6X7vjTc?rel=0&showinfo=0', __( 'Box Score', 'sportspress' ) => '//www.youtube-nocookie.com/embed/rERU6X7vjTc?rel=0&showinfo=0',
) ), ) ),
__( 'Calendars', 'sportspress' ) => apply_filters( 'sportspress_calendar_advanced_videos', array( __( 'Calendars', 'sportspress' ) => apply_filters( 'sportspress_calendar_advanced_videos', array(
__( 'Layout', 'sportspress' ) => '//www.youtube-nocookie.com/embed/aLx_5D0Xgnc?rel=0&showinfo=0', __( 'Layout', 'sportspress' ) => '//www.youtube-nocookie.com/embed/aLx_5D0Xgnc?rel=0&showinfo=0',

View File

@@ -105,7 +105,7 @@ if ( is_array( $teams ) ):
'show_players' => $show_players, 'show_players' => $show_players,
'show_numbers' => $show_numbers, 'show_numbers' => $show_numbers,
'show_total' => $show_total, 'show_total' => $show_total,
'caption' => __( 'Scorecard', 'sportspress' ), 'caption' => __( 'Box Score', 'sportspress' ),
'labels' => $labels, 'labels' => $labels,
'formats' => $formats, 'formats' => $formats,
'mode' => $mode, 'mode' => $mode,

View File

@@ -2,6 +2,7 @@
<admin-texts> <admin-texts>
<key name="sportspress_text"> <key name="sportspress_text">
<key name="Article"/> <key name="Article"/>
<key name="Box Score"/>
<key name="Competition"/> <key name="Competition"/>
<key name="Current Team"/> <key name="Current Team"/>
<key name="Current Teams"/> <key name="Current Teams"/>
@@ -20,7 +21,6 @@
<key name="Preview"/> <key name="Preview"/>
<key name="Rank"/> <key name="Rank"/>
<key name="Recap"/> <key name="Recap"/>
<key name="Scorecard"/>
<key name="Season"/> <key name="Season"/>
<key name="Staff"/> <key name="Staff"/>
<key name="Substitutes"/> <key name="Substitutes"/>