From 6768a2cd2abc15fa80949af38e733e1a6519b256 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 24 Oct 2017 22:34:05 +0000 Subject: [PATCH] I18N: Add a context for remaining "Schedule" strings. Props Mirucon. Fixes #42165. git-svn-id: https://develop.svn.wordpress.org/trunk@42005 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 4 ++-- src/wp-includes/script-loader.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 17490314ed..dfc4cb90e8 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -289,8 +289,8 @@ if ( current_user_can( "delete_post", $post->ID ) ) { if ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) { if ( $can_publish ) : if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> - - + + diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 753038dd37..ad5a075e05 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -551,7 +551,7 @@ function wp_default_scripts( &$scripts ) { 'draftSaved' => __( 'Draft Saved' ), 'updating' => __( 'Updating' ), 'schedule' => _x( 'Schedule', 'customizer changeset action/button label' ), - 'scheduled' => __( 'Scheduled' ), + 'scheduled' => _x( 'Scheduled', 'customizer changeset status' ), 'invalid' => __( 'Invalid' ), 'saveBeforeShare' => __( 'Please save your changes in order to share the preview.' ), 'futureDateError' => __( 'You must supply a future date to schedule.' ),