Add context to the 'Random' string. It is now used in two places: gallery order and the links widget. props pavelevap, fixes #22724.
git-svn-id: http://core.svn.wordpress.org/trunk@23021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
14917db2f9
commit
f2f9551287
|
@ -161,7 +161,7 @@ class WP_Widget_Links extends WP_Widget {
|
||||||
<option value="name"<?php selected( $instance['orderby'], 'name' ); ?>><?php _e( 'Link title' ); ?></option>
|
<option value="name"<?php selected( $instance['orderby'], 'name' ); ?>><?php _e( 'Link title' ); ?></option>
|
||||||
<option value="rating"<?php selected( $instance['orderby'], 'rating' ); ?>><?php _e( 'Link rating' ); ?></option>
|
<option value="rating"<?php selected( $instance['orderby'], 'rating' ); ?>><?php _e( 'Link rating' ); ?></option>
|
||||||
<option value="id"<?php selected( $instance['orderby'], 'id' ); ?>><?php _e( 'Link ID' ); ?></option>
|
<option value="id"<?php selected( $instance['orderby'], 'id' ); ?>><?php _e( 'Link ID' ); ?></option>
|
||||||
<option value="rand"<?php selected( $instance['orderby'], 'rand' ); ?>><?php _e( 'Random' ); ?></option>
|
<option value="rand"<?php selected( $instance['orderby'], 'rand' ); ?>><?php _ex( 'Random', 'Links widget' ); ?></option>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -1864,7 +1864,7 @@ function wp_print_media_templates() {
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="setting">
|
<label class="setting">
|
||||||
<span><?php _e('Random'); ?></span>
|
<span><?php _ex( 'Random', 'Gallery order' ); ?></span>
|
||||||
<input type="checkbox" data-setting="_orderbyRandom" />
|
<input type="checkbox" data-setting="_orderbyRandom" />
|
||||||
</label>
|
</label>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue