Changeset 5037
- Timestamp:
- 03/01/2017 11:48:02 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r5001 r5037 448 448 $user = wp_get_current_user(); 449 449 if ( ! $user->exists() ) { 450 wp_die( __( 'Sorry, you must be logged in to reply to a comment.' ) );450 wp_die( __( 'Sorry, you must be logged in to reply to a comment.', 'wporg-plugins' ) ); 451 451 } 452 452 … … 470 470 471 471 if ( '' == $comment_content ) { 472 wp_die( __( 'ERROR: please type a comment.' ) );472 wp_die( __( 'ERROR: please type a comment.', 'wporg-plugins' ) ); 473 473 } 474 474 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php
r5001 r5037 74 74 if ( current_user_can( $post_type_obj->cap->edit_posts ) ) { 75 75 if ( $this->is_trash ) { 76 $actions['untrash'] = __( 'Restore' );76 $actions['untrash'] = __( 'Restore', 'wporg-plugins' ); 77 77 } else { 78 $actions['edit'] = __( 'Edit' );78 $actions['edit'] = __( 'Edit', 'wporg-plugins' ); 79 79 } 80 80 } … … 86 86 if ( current_user_can( $post_type_obj->cap->delete_posts ) ) { 87 87 if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) { 88 $actions['delete'] = __( 'Delete Permanently' );88 $actions['delete'] = __( 'Delete Permanently', 'wporg-plugins' ); 89 89 } else { 90 $actions['trash'] = __( 'Move to Trash' );90 $actions['trash'] = __( 'Move to Trash', 'wporg-plugins' ); 91 91 } 92 92 } … … 203 203 get_edit_post_link( $post->ID ), 204 204 /* translators: %s: post title */ 205 esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ),206 __( 'Edit' )205 esc_attr( sprintf( __( 'Edit “%s”', 'wporg-plugins' ), $title ) ), 206 __( 'Edit', 'wporg-plugins' ) 207 207 ); 208 208 … … 211 211 '<a href="#" class="editinline" aria-label="%s">%s</a>', 212 212 /* translators: %s: post title */ 213 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ),214 __( 'Quick Edit' )213 esc_attr( sprintf( __( 'Quick edit “%s” inline', 'wporg-plugins' ), $title ) ), 214 __( 'Quick Edit', 'wporg-plugins' ) 215 215 ); 216 216 } else { … … 225 225 wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ), 226 226 /* translators: %s: post title */ 227 esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ),228 __( 'Restore' )227 esc_attr( sprintf( __( 'Restore “%s” from the Trash', 'wporg-plugins' ), $title ) ), 228 __( 'Restore', 'wporg-plugins' ) 229 229 ); 230 230 } elseif ( EMPTY_TRASH_DAYS ) { … … 233 233 get_delete_post_link( $post->ID ), 234 234 /* translators: %s: post title */ 235 esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ),236 _x( 'Trash', 'verb' )235 esc_attr( sprintf( __( 'Move “%s” to the Trash', 'wporg-plugins' ), $title ) ), 236 _x( 'Trash', 'verb', 'wporg-plugins' ) 237 237 ); 238 238 } … … 242 242 get_delete_post_link( $post->ID, '', true ), 243 243 /* translators: %s: post title */ 244 esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ),245 __( 'Delete Permanently' )244 esc_attr( sprintf( __( 'Delete “%s” permanently', 'wporg-plugins' ), $title ) ), 245 __( 'Delete Permanently', 'wporg-plugins' ) 246 246 ); 247 247 } … … 253 253 get_permalink( $post->ID ), 254 254 /* translators: %s: post title */ 255 esc_attr( sprintf( __( 'View “%s”' ), $title ) ),256 __( 'View' )255 esc_attr( sprintf( __( 'View “%s”', 'wporg-plugins' ), $title ) ), 256 __( 'View', 'wporg-plugins' ) 257 257 ); 258 258 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
r3250 r5037 31 31 <input type="hidden" name="to_email" value="<?php echo esc_attr( $author->user_email ); ?>" /> 32 32 <input type="hidden" name="to_name" value="<?php echo esc_attr( $author->display_name ); ?>" /> 33 <input type="hidden" name="subject" value="<?php printf( esc_attr__( '[WordPress Plugin Directory] Request: %s' ), $post->post_title ); ?>" />33 <input type="hidden" name="subject" value="<?php printf( esc_attr__( '[WordPress Plugin Directory] Request: %s', 'wporg-plugins' ), $post->post_title ); ?>" /> 34 34 <button class="button button-primary" type="submit"><?php _e( 'Contact plugin author', 'wporg-plugins' ); ?></button> 35 35 </form> -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r5001 r5037 102 102 sprintf( 103 103 /* translators: 1: number of ratings */ 104 __( '%1$s<span class="screen-reader-text"> total ratings</span>' ),104 __( '%1$s<span class="screen-reader-text"> total ratings</span>', 'wporg-plugins' ), 105 105 esc_html( $num_ratings ) 106 106 ) . -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php
r4433 r5037 54 54 55 55 <a class="reviews-link" href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . get_post()->post_name . '/reviews/' ); ?>"> 56 <?php printf( __( 'Read all %s reviews', 'wporg-plugins' ), number_format_i18n( $review_count ) ); ?> 56 <?php 57 /* translators: %s: number of reviews */ 58 printf( _n( 'Read all %s review', 'Read all %s reviews', $review_count, 'wporg-plugins' ), number_format_i18n( $review_count ) ); 59 ?> 57 60 </a> 58 61
Note: See TracChangeset
for help on using the changeset viewer.