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:
Andrew Nacin 2012-12-04 14:49:44 +00:00
parent 0c0cc5be09
commit dffb1b36d5
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>