WordPress.org

Make WordPress Core

Changeset 17373


Ignore:
Timestamp:
01/31/2011 02:44:33 PM (11 years ago)
Author:
nacin
Message:

Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for the 3.1 branch.

Location:
branches/3.1
Files:
2 edited

Legend:

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

    r17035 r17373  
    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
  • branches/3.1/wp-includes/taxonomy.php

    r17357 r17373  
    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.