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:
Andrew Nacin 2012-12-04 14:49:44 +00:00
parent 14917db2f9
commit f2f9551287
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>