Use gettext filter to modify fronted text

This commit is contained in:
Brian Miyaji
2014-06-13 23:21:59 +10:00
parent 89ce3ee84e
commit 5ba33fd629
21 changed files with 90 additions and 124 deletions

View File

@@ -358,7 +358,7 @@ class SP_Player_List extends SP_Custom_Post {
endif;
endforeach;
$labels = array( 'name' => SP()->text->string('Player') );
$labels = array( 'name' => __( 'Player', 'sportspress' ) );
if ( in_array( 'team', $this->columns ) )
$labels['team'] = __( 'Team', 'sportspress' );