Use core translations where available

This commit is contained in:
Takumi
2013-07-26 04:29:25 +10:00
parent 88aa74f65a
commit 45b09f2089
3 changed files with 5 additions and 5 deletions

View File

@@ -18,11 +18,11 @@ add_action( 'init', 'sp_staff_cpt_init' );
function sp_staff_meta_init() {
remove_meta_box( 'submitdiv', 'sp_staff', 'side' );
add_meta_box( 'submitdiv', __( 'Publish', 'sportspress' ), 'post_submit_meta_box', 'sp_staff', 'side', 'high' );
add_meta_box( 'submitdiv', __( 'Publish' ), 'post_submit_meta_box', 'sp_staff', 'side', 'high' );
remove_meta_box( 'postimagediv', 'sp_staff', 'side' );
add_meta_box( 'postimagediv', __( 'Photo', 'sportspress' ), 'post_thumbnail_meta_box', 'sp_staff', 'side', 'high' );
add_meta_box( 'sp_teamdiv', __( 'Teams', 'sportspress' ), 'sp_staff_team_meta', 'sp_staff', 'side', 'high' );
add_meta_box( 'sp_profilediv', __( 'Profile', 'sportspress' ), 'sp_staff_profile_meta', 'sp_staff', 'normal', 'high' );
add_meta_box( 'sp_profilediv', __( 'Profile' ), 'sp_staff_profile_meta', 'sp_staff', 'normal', 'high' );
}
function sp_staff_team_meta( $post, $metabox ) {
global $post_id;