Make WordPress Core

Changeset 17372


Ignore:
Timestamp:
01/31/2011 12:18:57 PM (13 years ago)
Author:
nacin
Message:

Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r17035 r17372  
    110110
    111111if ( current_theme_supports( 'post-formats' ) && post_type_supports( $post_type, 'post-formats' ) )
    112     add_meta_box( 'formatdiv', __('Format'), 'post_format_meta_box', $post_type, 'side', 'core' );
     112    add_meta_box( 'formatdiv', _x( 'Format', 'post format' ), 'post_format_meta_box', $post_type, 'side', 'core' );
    113113
    114114// all taxonomies
  • trunk/wp-includes/taxonomy.php

    r17357 r17372  
    8888        'hierarchical' => false,
    8989        'labels' => array(
    90             'name' => __( 'Format' ),
    91             'singular_name' => __( 'Format' ),
     90            'name' => _x( 'Format', 'post format' ),
     91            'singular_name' => _x( 'Format', 'post format' ),
    9292        ),
    9393        'query_var' => true,
Note: See TracChangeset for help on using the changeset viewer.