Update translations

This commit is contained in:
Brian Miyaji
2014-02-22 15:42:53 +11:00
parent 2e07363c3d
commit e41950e907
37 changed files with 7731 additions and 3802 deletions

View File

@@ -3,13 +3,13 @@ function sportspress_column_post_init() {
$labels = array(
'name' => __( 'Columns', 'sportspress' ),
'singular_name' => __( 'Column', 'sportspress' ),
'add_new_item' => __( 'Add New Column', 'sportspress' ),
'edit_item' => __( 'Edit Column', 'sportspress' ),
'new_item' => __( 'New Column', 'sportspress' ),
'view_item' => __( 'View Column', 'sportspress' ),
'search_items' => __( 'Search Columns', 'sportspress' ),
'not_found' => __( 'No columns found.', 'sportspress' ),
'not_found_in_trash' => __( 'No columns found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Columns', 'sportspress' ),

View File

@@ -4,13 +4,13 @@ function sportspress_event_post_init() {
'name' => __( 'Schedule', 'sportspress' ),
'singular_name' => __( 'Event', 'sportspress' ),
'all_items' => __( 'Events', 'sportspress' ),
'add_new_item' => __( 'Add New Event', 'sportspress' ),
'edit_item' => __( 'Edit Event', 'sportspress' ),
'new_item' => __( 'New Event', 'sportspress' ),
'view_item' => __( 'View Event', 'sportspress' ),
'search_items' => __( 'Search Events', 'sportspress' ),
'not_found' => __( 'No events found.', 'sportspress' ),
'not_found_in_trash' => __( 'No events found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Events', 'sportspress' ),
@@ -76,7 +76,7 @@ function sportspress_event_details_meta( $post ) {
'show_option_none' => __( '-- Not set --', 'sportspress' ),
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New League', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -91,7 +91,7 @@ function sportspress_event_details_meta( $post ) {
'show_option_none' => __( '-- Not set --', 'sportspress' ),
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New Season', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -106,7 +106,7 @@ function sportspress_event_details_meta( $post ) {
'show_option_none' => __( '-- Not set --', 'sportspress' ),
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_venue', 'sp_event', __( 'Add New Venue', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_venue', 'sp_event', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>

View File

@@ -3,13 +3,13 @@ function sportspress_list_post_init() {
$labels = array(
'name' => __( 'Player Lists', 'sportspress' ),
'singular_name' => __( 'Player List', 'sportspress' ),
'add_new_item' => __( 'Add New Player List', 'sportspress' ),
'edit_item' => __( 'Edit Player List', 'sportspress' ),
'new_item' => __( 'New Player List', 'sportspress' ),
'view_item' => __( 'View Player List', 'sportspress' ),
'search_items' => __( 'Search Player Lists', 'sportspress' ),
'not_found' => __( 'No player lists found.', 'sportspress' ),
'not_found_in_trash' => __( 'No player lists found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Player Lists', 'sportspress' ),
@@ -74,7 +74,7 @@ function sportspress_list_player_meta( $post ) {
'values' => 'term_id',
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New League', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -88,7 +88,7 @@ function sportspress_list_player_meta( $post ) {
'values' => 'term_id',
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New Season', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -98,12 +98,12 @@ function sportspress_list_player_meta( $post ) {
$args = array(
'post_type' => 'sp_team',
'name' => 'sp_team',
'show_option_all' => __( 'All Teams', 'sportspress' ),
'show_option_all' => __( 'All', 'sportspress' ),
'selected' => $team_id,
'values' => 'ID',
);
if ( ! sportspress_dropdown_pages( $args ) ):
sportspress_post_adder( 'sp_team', __( 'Add New Team', 'sportspress' ) );
sportspress_post_adder( 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -122,7 +122,7 @@ function sportspress_list_player_meta( $post ) {
'values' => 'slug',
);
if ( ! sportspress_dropdown_pages( $args ) ):
sportspress_post_adder( 'sp_list', __( 'Add New Player List', 'sportspress' ) );
sportspress_post_adder( 'sp_list', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -136,7 +136,7 @@ function sportspress_list_player_meta( $post ) {
<p><strong><?php _e( 'Players', 'sportspress' ); ?></strong></p>
<?php
sportspress_post_checklist( $post->ID, 'sp_player', 'block', 'sp_team' );
sportspress_post_adder( 'sp_player', __( 'Add New Player', 'sportspress' ) );
sportspress_post_adder( 'sp_player', __( 'Add New', 'sportspress' ) );
?>
</div>
<?php

View File

@@ -3,13 +3,13 @@ function sportspress_metric_post_init() {
$labels = array(
'name' => __( 'Metrics', 'sportspress' ),
'singular_name' => __( 'Metric', 'sportspress' ),
'add_new_item' => __( 'Add New Metric', 'sportspress' ),
'edit_item' => __( 'Edit Metric', 'sportspress' ),
'new_item' => __( 'New Metric', 'sportspress' ),
'view_item' => __( 'View Metric', 'sportspress' ),
'search_items' => __( 'Search Metrics', 'sportspress' ),
'not_found' => __( 'No metrics found.', 'sportspress' ),
'not_found_in_trash' => __( 'No metrics found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Metrics', 'sportspress' ),

View File

@@ -3,13 +3,13 @@ function sportspress_outcome_post_init() {
$labels = array(
'name' => __( 'Outcomes', 'sportspress' ),
'singular_name' => __( 'Outcome', 'sportspress' ),
'add_new_item' => __( 'Add New Outcome', 'sportspress' ),
'edit_item' => __( 'Edit Outcome', 'sportspress' ),
'new_item' => __( 'New Outcome', 'sportspress' ),
'view_item' => __( 'View Outcome', 'sportspress' ),
'search_items' => __( 'Search Outcomes', 'sportspress' ),
'not_found' => __( 'No outcomes found.', 'sportspress' ),
'not_found_in_trash' => __( 'No outcomes found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Outcomes', 'sportspress' ),

View File

@@ -3,13 +3,13 @@ function sportspress_player_post_init() {
$labels = array(
'name' => __( 'Players', 'sportspress' ),
'singular_name' => __( 'Player', 'sportspress' ),
'add_new_item' => __( 'Add New Player', 'sportspress' ),
'edit_item' => __( 'Edit Player', 'sportspress' ),
'new_item' => __( 'New Player', 'sportspress' ),
'view_item' => __( 'View Player', 'sportspress' ),
'search_items' => __( 'Search Players', 'sportspress' ),
'not_found' => __( 'No players found.', 'sportspress' ),
'not_found_in_trash' => __( 'No players found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Players', 'sportspress' ),
@@ -110,7 +110,7 @@ function sportspress_player_details_meta( $post ) {
<p><input type="text" size="4" id="sp_number" name="sp_number" value="<?php echo $number; ?>"></p>
<p><strong><?php _e( 'Nationality', 'sportspress' ); ?></strong></p>
<p><select id="sp_nationality" name="sp_nationality" data-placeholder="<?php _e( 'Select Nationality', 'sportspress' ); ?>" class="widefat chosen-select<?php if ( is_rtl() ): ?> chosen-rtl<?php endif; ?>">
<p><select id="sp_nationality" name="sp_nationality" data-placeholder="<?php printf( __( 'Select %s', 'sportspress' ), __( 'Nationality', 'sportspress' ) ); ?>" class="widefat chosen-select<?php if ( is_rtl() ): ?> chosen-rtl<?php endif; ?>">
<option value=""></option>
<?php foreach ( $continents as $continent => $countries ): ?>
<optgroup label="<?php echo $continent; ?>">
@@ -128,7 +128,7 @@ function sportspress_player_details_meta( $post ) {
'name' => 'tax_input[sp_position][]',
'selected' => $position_ids,
'values' => 'term_id',
'placeholder' => __( 'Select Positions', 'sportspress' ),
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Positions', 'sportspress' ) ),
'class' => 'widefat',
'property' => 'multiple',
'chosen' => true,
@@ -144,7 +144,7 @@ function sportspress_player_details_meta( $post ) {
'show_option_blank' => true,
'selected' => $current_team,
'values' => 'ID',
'placeholder' => __( 'Select Team', 'sportspress' ),
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Team', 'sportspress' ) ),
'class' => 'sp-current-team widefat',
'chosen' => true,
);
@@ -158,7 +158,7 @@ function sportspress_player_details_meta( $post ) {
'name' => 'sp_past_team[]',
'selected' => $past_teams,
'values' => 'ID',
'placeholder' => __( 'Select Teams', 'sportspress' ),
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Teams', 'sportspress' ) ),
'class' => 'sp-past-teams widefat',
'property' => 'multiple',
'chosen' => true,
@@ -173,7 +173,7 @@ function sportspress_player_details_meta( $post ) {
'name' => 'tax_input[sp_league][]',
'selected' => $league_ids,
'values' => 'term_id',
'placeholder' => __( 'Select Leagues', 'sportspress' ),
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Leagues', 'sportspress' ) ),
'class' => 'widefat',
'property' => 'multiple',
'chosen' => true,
@@ -188,7 +188,7 @@ function sportspress_player_details_meta( $post ) {
'name' => 'tax_input[sp_season][]',
'selected' => $season_ids,
'values' => 'term_id',
'placeholder' => __( 'Select Seasons', 'sportspress' ),
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Seasons', 'sportspress' ) ),
'class' => 'widefat',
'property' => 'multiple',
'chosen' => true,
@@ -234,7 +234,7 @@ function sportspress_player_metrics_meta( $post ) {
<?php
endforeach;
else:
sportspress_post_adder( 'sp_metric', __( 'Add New Metric', 'sportspress' ) );
sportspress_post_adder( 'sp_metric', __( 'Add New', 'sportspress' ) );
endif;
sportspress_nonce();

View File

@@ -3,13 +3,13 @@ function sportspress_result_post_init() {
$labels = array(
'name' => __( 'Results', 'sportspress' ),
'singular_name' => __( 'Result', 'sportspress' ),
'add_new_item' => __( 'Add New Result', 'sportspress' ),
'edit_item' => __( 'Edit Result', 'sportspress' ),
'new_item' => __( 'New Result', 'sportspress' ),
'view_item' => __( 'View Result', 'sportspress' ),
'search_items' => __( 'Search Results', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found in trash.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Results', 'sportspress' ),

View File

@@ -3,13 +3,13 @@ function sportspress_staff_post_init() {
$labels = array(
'name' => __( 'Staff', 'sportspress' ),
'singular_name' => __( 'Staff', 'sportspress' ),
'add_new_item' => __( 'Add New Staff', 'sportspress' ),
'edit_item' => __( 'Edit Staff', 'sportspress' ),
'new_item' => __( 'New Staff', 'sportspress' ),
'view_item' => __( 'View Staff', 'sportspress' ),
'search_items' => __( 'Search Staff', 'sportspress' ),
'not_found' => __( 'No staff found.', 'sportspress' ),
'not_found_in_trash' => __( 'No staff found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Staff', 'sportspress' ),
@@ -37,7 +37,7 @@ function sportspress_staff_meta_init() {
}
function sportspress_staff_team_meta( $post ) {
sportspress_post_checklist( $post->ID, 'sp_team' );
sportspress_post_adder( 'sp_team', __( 'Add New Team', 'sportspress' ) );
sportspress_post_adder( 'sp_team', __( 'Add New', 'sportspress' ) );
sportspress_nonce();
}

View File

@@ -3,13 +3,13 @@ function sportspress_statistic_post_init() {
$labels = array(
'name' => __( 'Statistics', 'sportspress' ),
'singular_name' => __( 'Statistic', 'sportspress' ),
'add_new_item' => __( 'Add New Statistic', 'sportspress' ),
'edit_item' => __( 'Edit Statistic', 'sportspress' ),
'new_item' => __( 'New Statistic', 'sportspress' ),
'view_item' => __( 'View Statistic', 'sportspress' ),
'search_items' => __( 'Search Statistics', 'sportspress' ),
'not_found' => __( 'No statistics found.', 'sportspress' ),
'not_found_in_trash' => __( 'No statistics found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'Statistics', 'sportspress' ),

View File

@@ -3,13 +3,13 @@ function sportspress_table_post_init() {
$labels = array(
'name' => __( 'League Tables', 'sportspress' ),
'singular_name' => __( 'League Table', 'sportspress' ),
'add_new_item' => __( 'Add New League Table', 'sportspress' ),
'edit_item' => __( 'Edit League Table', 'sportspress' ),
'new_item' => __( 'New League Table', 'sportspress' ),
'view_item' => __( 'View League Table', 'sportspress' ),
'search_items' => __( 'Search League Tables', 'sportspress' ),
'not_found' => __( 'No league tables found.', 'sportspress' ),
'not_found_in_trash' => __( 'No league tables found in trash.', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
);
$args = array(
'label' => __( 'League Tables', 'sportspress' ),
@@ -70,7 +70,7 @@ function sportspress_table_team_meta( $post, $test ) {
'values' => 'term_id'
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New League', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_league', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
@@ -84,14 +84,14 @@ function sportspress_table_team_meta( $post, $test ) {
'values' => 'term_id'
);
if ( ! sportspress_dropdown_taxonomies( $args ) ):
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New Season', 'sportspress' ) );
sportspress_taxonomy_adder( 'sp_season', 'sp_team', __( 'Add New', 'sportspress' ) );
endif;
?>
</p>
<p><strong><?php _e( 'Teams', 'sportspress' ); ?></strong></p>
<?php
sportspress_post_checklist( $post->ID, 'sp_team', 'block', 'sp_season' );
sportspress_post_adder( 'sp_team', __( 'Add New Team', 'sportspress' ) );
sportspress_post_adder( 'sp_team', __( 'Add New', 'sportspress' ) );
?>
</div>
<?php

View File

@@ -3,14 +3,14 @@ function sportspress_team_post_init() {
$labels = array(
'name' => __( 'Teams', 'sportspress' ),
'singular_name' => __( 'Team', 'sportspress' ),
'add_new_item' => __( 'Add New Team', 'sportspress' ),
'edit_item' => __( 'Edit Team', 'sportspress' ),
'new_item' => __( 'New Team', 'sportspress' ),
'view_item' => __( 'View Team', 'sportspress' ),
'search_items' => __( 'Search Teams', 'sportspress' ),
'not_found' => __( 'No teams found.', 'sportspress' ),
'not_found_in_trash' => __( 'No teams found in trash.', 'sportspress' ),
'parent_item_colon' => __( 'Parent Team:', 'sportspress' ),
'add_new_item' => __( 'Add New', 'sportspress' ),
'edit_item' => __( 'Edit', 'sportspress' ),
'new_item' => __( 'New', 'sportspress' ),
'view_item' => __( 'View', 'sportspress' ),
'search_items' => __( 'Search', 'sportspress' ),
'not_found' => __( 'No results found.', 'sportspress' ),
'not_found_in_trash' => __( 'No results found.', 'sportspress' ),
'parent_item_colon' => __( 'Parent:', 'sportspress' ),
);
$args = array(
'label' => __( 'Teams', 'sportspress' ),