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: https://develop.svn.wordpress.org/trunk@23021 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c0cc5be09
commit
dffb1b36d5
@ -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="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="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>
|
||||
</p>
|
||||
<p>
|
||||
|
@ -1864,7 +1864,7 @@ function wp_print_media_templates() {
|
||||
</label>
|
||||
|
||||
<label class="setting">
|
||||
<span><?php _e('Random'); ?></span>
|
||||
<span><?php _ex( 'Random', 'Gallery order' ); ?></span>
|
||||
<input type="checkbox" data-setting="_orderbyRandom" />
|
||||
</label>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user