Adjustments to event importer

This commit is contained in:
Brian Miyaji
2014-03-15 19:51:03 +11:00
parent f9ae46f9ce
commit a7df2745e1
27 changed files with 83 additions and 135 deletions

View File

@@ -3,7 +3,7 @@ function sportspress_gettext( $translated_text, $untranslated_text, $domain ) {
global $typenow;
if ( is_admin() ):
if ( in_array( $typenow, array( 'sp_team', 'sp_sponsor' ) ) ):
if ( in_array( $typenow, array( 'sp_team' ) ) ):
switch ( $untranslated_text ):
case 'Set featured image':
$translated_text = __( 'Select Logo', 'sportspress' );
@@ -42,14 +42,6 @@ function sportspress_gettext( $translated_text, $untranslated_text, $domain ) {
break;
endswitch;
endif;
if ( in_array( $typenow, array( 'sp_sponsor' ) ) ):
switch ( $untranslated_text ):
case 'Enter title here':
$translated_text = __( 'Sponsor', 'sportspress' );
break;
endswitch;
endif;
if ( in_array( $typenow, array( 'sp_player', 'sp_staff' ) ) ):
switch ( $untranslated_text ):