Two media gallery string changes, for clarity:
* 'Random' to 'Random Order', to be clear what it controls. * 'Describe this image...' to 'Caption this image...', to be clear it links to the Caption field and not the revived Description field, see [23083]. props johnbillion, pavelevap. fixes #22821. git-svn-id: http://core.svn.wordpress.org/trunk@23135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
60be66457a
commit
3f0f56d58d
|
@ -157,7 +157,7 @@ function wp_print_media_templates() {
|
||||||
if ( data.describe ) { #>
|
if ( data.describe ) { #>
|
||||||
<# if ( 'image' === data.type ) { #>
|
<# if ( 'image' === data.type ) { #>
|
||||||
<input type="text" value="{{ data.caption }}" class="describe" data-setting="caption"
|
<input type="text" value="{{ data.caption }}" class="describe" data-setting="caption"
|
||||||
placeholder="<?php esc_attr_e('Describe this image…'); ?>" {{ maybeReadOnly }} />
|
placeholder="<?php esc_attr_e('Caption this image…'); ?>" {{ maybeReadOnly }} />
|
||||||
<# } else { #>
|
<# } else { #>
|
||||||
<input type="text" value="{{ data.title }}" class="describe" data-setting="title"
|
<input type="text" value="{{ data.title }}" class="describe" data-setting="title"
|
||||||
<# if ( 'video' === data.type ) { #>
|
<# if ( 'video' === data.type ) { #>
|
||||||
|
@ -369,7 +369,7 @@ function wp_print_media_templates() {
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="setting">
|
<label class="setting">
|
||||||
<span><?php _ex( 'Random', 'Gallery order' ); ?></span>
|
<span><?php _e( 'Random Order' ); ?></span>
|
||||||
<input type="checkbox" data-setting="_orderbyRandom" />
|
<input type="checkbox" data-setting="_orderbyRandom" />
|
||||||
</label>
|
</label>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue