From 53e6e1f5d365a9f1203a665e298be6fa151079b0 Mon Sep 17 00:00:00 2001 From: SergeyBiryukov Date: Wed, 4 Jan 2017 08:39:29 +0000 Subject: [PATCH] I18N: Add post type context to "Featured Image" post labels. Fixes #39458. git-svn-id: https://develop.svn.wordpress.org/trunk@39667 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index e0685d9058..6dc594d280 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -1384,10 +1384,10 @@ function get_post_type_labels( $post_type_object ) { 'attributes' => array( __( 'Post Attributes' ), __( 'Page Attributes' ) ), 'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into page' ) ), 'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ), - 'featured_image' => array( __( 'Featured Image' ), __( 'Featured Image' ) ), - 'set_featured_image' => array( __( 'Set featured image' ), __( 'Set featured image' ) ), - 'remove_featured_image' => array( __( 'Remove featured image' ), __( 'Remove featured image' ) ), - 'use_featured_image' => array( __( 'Use as featured image' ), __( 'Use as featured image' ) ), + 'featured_image' => array( _x( 'Featured Image', 'post' ), _x( 'Featured Image', 'page' ) ), + 'set_featured_image' => array( _x( 'Set featured image', 'post' ), _x( 'Set featured image', 'page' ) ), + 'remove_featured_image' => array( _x( 'Remove featured image', 'post' ), _x( 'Remove featured image', 'page' ) ), + 'use_featured_image' => array( _x( 'Use as featured image', 'post' ), _x( 'Use as featured image', 'page' ) ), 'filter_items_list' => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ), 'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ), 'items_list' => array( __( 'Posts list' ), __( 'Pages list' ) ),