mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
I18N: Add a context for remaining "Schedule" strings.
Props Mirucon. Fixes #42165. Built from https://develop.svn.wordpress.org/trunk@42005 git-svn-id: http://core.svn.wordpress.org/trunk@41839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
55c8978f1f
commit
f156f90ff5
@ -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 ( !in_array( $post->post_status, array('publish', 'future', 'private') ) || 0 == $post->ID ) {
|
||||||
if ( $can_publish ) :
|
if ( $can_publish ) :
|
||||||
if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
|
if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?>
|
||||||
<input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" />
|
<input name="original_publish" type="hidden" id="original_publish" value="<?php echo esc_attr_x( 'Schedule', 'post action/button label' ); ?>" />
|
||||||
<?php submit_button( __( 'Schedule' ), 'primary large', 'publish', false ); ?>
|
<?php submit_button( _x( 'Schedule', 'post action/button label' ), 'primary large', 'publish', false ); ?>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" />
|
<input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" />
|
||||||
<?php submit_button( __( 'Publish' ), 'primary large', 'publish', false ); ?>
|
<?php submit_button( __( 'Publish' ), 'primary large', 'publish', false ); ?>
|
||||||
|
@ -551,7 +551,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
'draftSaved' => __( 'Draft Saved' ),
|
'draftSaved' => __( 'Draft Saved' ),
|
||||||
'updating' => __( 'Updating' ),
|
'updating' => __( 'Updating' ),
|
||||||
'schedule' => _x( 'Schedule', 'customizer changeset action/button label' ),
|
'schedule' => _x( 'Schedule', 'customizer changeset action/button label' ),
|
||||||
'scheduled' => __( 'Scheduled' ),
|
'scheduled' => _x( 'Scheduled', 'customizer changeset status' ),
|
||||||
'invalid' => __( 'Invalid' ),
|
'invalid' => __( 'Invalid' ),
|
||||||
'saveBeforeShare' => __( 'Please save your changes in order to share the preview.' ),
|
'saveBeforeShare' => __( 'Please save your changes in order to share the preview.' ),
|
||||||
'futureDateError' => __( 'You must supply a future date to schedule.' ),
|
'futureDateError' => __( 'You must supply a future date to schedule.' ),
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta3-42004';
|
$wp_version = '4.9-beta3-42005';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user