From 97bab0459a5cd6aabe5cbe1331de19999ee30df1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Oct 2017 14:45:51 +0000 Subject: [PATCH] I18N: Add a context for "Schedule" string. Props Mirucon. Fixes #42165. Built from https://develop.svn.wordpress.org/trunk@41898 git-svn-id: http://core.svn.wordpress.org/trunk@41732 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 2 +- wp-includes/script-loader.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 654ab8104e..29630f943b 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -4535,7 +4535,7 @@ final class WP_Customize_Manager { if ( $current_user_can_publish ) { $status_choices[] = array( 'status' => 'future', - 'label' => __( 'Schedule' ), + 'label' => _x( 'Schedule', 'customizer status' ), ); } diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index a0bbc5be06..0dcf3cfe2c 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -550,7 +550,7 @@ function wp_default_scripts( &$scripts ) { 'saveDraft' => __( 'Save Draft' ), 'draftSaved' => __( 'Draft Saved' ), 'updating' => __( 'Updating' ), - 'schedule' => __( 'Schedule' ), + 'schedule' => _x( 'Schedule', 'customizer status' ), 'scheduled' => __( 'Scheduled' ), 'invalid' => __( 'Invalid' ), 'saveBeforeShare' => __( 'Please save your changes in order to share the preview.' ), @@ -676,7 +676,7 @@ function wp_default_scripts( &$scripts ) { 'showcomm' => __('Show more comments'), 'endcomm' => __('No more comments found.'), 'publish' => __('Publish'), - 'schedule' => __('Schedule'), + 'schedule' => _x('Schedule', 'post status'), 'update' => __('Update'), 'savePending' => __('Save as Pending'), 'saveDraft' => __('Save Draft'), diff --git a/wp-includes/version.php b/wp-includes/version.php index 0357928b9b..242f445666 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta2-41897'; +$wp_version = '4.9-beta2-41898'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.