Use gettext filter to modify fronted text
This commit is contained in:
@@ -2387,35 +2387,35 @@ function sp_get_sport_presets() {
|
||||
*/
|
||||
function sp_get_text_options() {
|
||||
$strings = apply_filters( 'sportspress_text', array(
|
||||
'article' => __( 'Article', 'sportspress' ),
|
||||
'current_team' => __( 'Current Team', 'sportspress' ),
|
||||
'date' => __( 'Date', 'sportspress' ),
|
||||
'details' => __( 'Details', 'sportspress' ),
|
||||
'event' => __( 'Event', 'sportspress' ),
|
||||
'league' => __( 'League', 'sportspress' ),
|
||||
'nationality' => __( 'Nationality', 'sportspress' ),
|
||||
'outcome' => __( 'Outcome', 'sportspress' ),
|
||||
'past_teams' => __( 'Past Teams', 'sportspress' ),
|
||||
'played' => __( 'Played', 'sportspress' ),
|
||||
'player' => __( 'Player', 'sportspress' ),
|
||||
'pos' => __( 'Pos', 'sportspress' ),
|
||||
'position' => __( 'Position', 'sportspress' ),
|
||||
'preview' => __( 'Preview', 'sportspress' ),
|
||||
'rank' => __( 'Rank', 'sportspress' ),
|
||||
'recap' => __( 'Recap', 'sportspress' ),
|
||||
'team_results' => __( 'Team Results', 'sportspress' ),
|
||||
'season' => __( 'Season', 'sportspress' ),
|
||||
'staff' => __( 'Staff', 'sportspress' ),
|
||||
'substitutes' => __( 'Substitutes', 'sportspress' ),
|
||||
'team' => __( 'Team', 'sportspress' ),
|
||||
'teams' => __( 'Teams', 'sportspress' ),
|
||||
'time' => __( 'Time', 'sportspress' ),
|
||||
'timeresults' => __( 'Time/Results', 'sportspress' ),
|
||||
'total' => __( 'Total', 'sportspress' ),
|
||||
'venue' => __( 'Venue', 'sportspress' ),
|
||||
'view_all_events' => __( 'View all events', 'sportspress' ),
|
||||
'view_all_players' => __( 'View all players', 'sportspress' ),
|
||||
'view_full_table' => __( 'View full table', 'sportspress' ),
|
||||
__( 'Article', 'sportspress' ),
|
||||
__( 'Current Team', 'sportspress' ),
|
||||
__( 'Date', 'sportspress' ),
|
||||
__( 'Details', 'sportspress' ),
|
||||
__( 'Event', 'sportspress' ),
|
||||
__( 'League', 'sportspress' ),
|
||||
__( 'Nationality', 'sportspress' ),
|
||||
__( 'Outcome', 'sportspress' ),
|
||||
__( 'Past Teams', 'sportspress' ),
|
||||
__( 'Played', 'sportspress' ),
|
||||
__( 'Player', 'sportspress' ),
|
||||
__( 'Pos', 'sportspress' ),
|
||||
__( 'Position', 'sportspress' ),
|
||||
__( 'Preview', 'sportspress' ),
|
||||
__( 'Rank', 'sportspress' ),
|
||||
__( 'Recap', 'sportspress' ),
|
||||
__( 'Team Results', 'sportspress' ),
|
||||
__( 'Season', 'sportspress' ),
|
||||
__( 'Staff', 'sportspress' ),
|
||||
__( 'Substitutes', 'sportspress' ),
|
||||
__( 'Team', 'sportspress' ),
|
||||
__( 'Teams', 'sportspress' ),
|
||||
__( 'Time', 'sportspress' ),
|
||||
__( 'Time/Results', 'sportspress' ),
|
||||
__( 'Total', 'sportspress' ),
|
||||
__( 'Venue', 'sportspress' ),
|
||||
__( 'View all events', 'sportspress' ),
|
||||
__( 'View all players', 'sportspress' ),
|
||||
__( 'View full table', 'sportspress' ),
|
||||
));
|
||||
asort( $strings );
|
||||
return $strings;
|
||||
|
||||
Reference in New Issue
Block a user