From 89c40166a5743ace42f9ec96fa85b6c9d2885198 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 24 Feb 2016 13:34:30 +1100 Subject: [PATCH] Add Defense and Offense to translatable text --- includes/sp-core-functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index 73fe91dd..e5268817 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -478,7 +478,7 @@ if ( !function_exists( 'sp_get_format_placeholder' ) ) { $placeholders = apply_filters( 'sportspress_format_placeholders', array( 'number' => 0, 'time' => '0:00', - 'text' => '', + 'text' => ' ', ) ); return sp_array_value( $placeholders, $key, 0 ); } @@ -1318,10 +1318,12 @@ function sp_get_text_options() { __( 'Current Team', 'sportspress' ), __( 'Current Teams', 'sportspress' ), __( 'Date', 'sportspress' ), + __( 'Defense', 'sportspress' ), __( 'Details', 'sportspress' ), __( 'Event', 'sportspress' ), __( 'Competition', 'sportspress' ), __( 'Nationality', 'sportspress' ), + __( 'Offense', 'sportspress' ), __( 'Outcome', 'sportspress' ), __( 'Past Teams', 'sportspress' ), __( 'Played', 'sportspress' ),