Replace dynamic strings with static ones

This commit is contained in:
Brian Miyaji
2014-02-21 08:35:46 +11:00
parent 1318cfdced
commit 38e53ac37c
32 changed files with 294 additions and 227 deletions

View File

@@ -2,16 +2,16 @@
function sportspress_admin_post_thumbnail_html( $translated_text, $post_id ) {
$texts = array(
'sp_team' => array(
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ),
'Remove featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ),
'Set featured image' => __( 'Select Logo', 'sportspress' ),
'Remove featured image' => __( 'Remove Logo', 'sportspress' ),
),
'sp_player' => array(
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
'Remove featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
'Set featured image' => __( 'Select Photo', 'sportspress' ),
'Remove featured image' => __( 'Remove Photo', 'sportspress' ),
),
'sp_staff' => array(
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
'Remove featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
'Set featured image' => __( 'Select Photo', 'sportspress' ),
'Remove featured image' => __( 'Remove Photo', 'sportspress' ),
),
);