Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php =================================================================== --- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php (revision 5013) +++ sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php (working copy) @@ -447,7 +447,7 @@ $user = wp_get_current_user(); if ( ! $user->exists() ) { - wp_die( __( 'Sorry, you must be logged in to reply to a comment.' ) ); + wp_die( __( 'Sorry, you must be logged in to reply to a comment.', 'wporg-plugins' ) ); } $user_ID = $user->ID; @@ -469,7 +469,7 @@ } if ( '' == $comment_content ) { - wp_die( __( 'ERROR: please type a comment.' ) ); + wp_die( __( 'ERROR: please type a comment.', 'wporg-plugins' ) ); } $comment_parent = 0; Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php =================================================================== --- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php (revision 5013) +++ sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/list-table/class-plugin-posts.php (working copy) @@ -73,9 +73,9 @@ if ( current_user_can( $post_type_obj->cap->edit_posts ) ) { if ( $this->is_trash ) { - $actions['untrash'] = __( 'Restore' ); + $actions['untrash'] = __( 'Restore', 'wporg-plugins' ); } else { - $actions['edit'] = __( 'Edit' ); + $actions['edit'] = __( 'Edit', 'wporg-plugins' ); } } @@ -85,9 +85,9 @@ if ( current_user_can( $post_type_obj->cap->delete_posts ) ) { if ( $this->is_trash || ! EMPTY_TRASH_DAYS ) { - $actions['delete'] = __( 'Delete Permanently' ); + $actions['delete'] = __( 'Delete Permanently', 'wporg-plugins' ); } else { - $actions['trash'] = __( 'Move to Trash' ); + $actions['trash'] = __( 'Move to Trash', 'wporg-plugins' ); } } @@ -202,8 +202,8 @@ '%s', get_edit_post_link( $post->ID ), /* translators: %s: post title */ - esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ), - __( 'Edit' ) + esc_attr( sprintf( __( 'Edit “%s”', 'wporg-plugins' ), $title ) ), + __( 'Edit', 'wporg-plugins' ) ); if ( current_user_can( 'plugin_review', $post->ID ) ) { @@ -210,8 +210,8 @@ $actions['inline hide-if-no-js'] = sprintf( '%s', /* translators: %s: post title */ - esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), - __( 'Quick Edit' ) + esc_attr( sprintf( __( 'Quick edit “%s” inline', 'wporg-plugins' ), $title ) ), + __( 'Quick Edit', 'wporg-plugins' ) ); } else { wp_dequeue_script( 'inline-edit-post' ); @@ -224,8 +224,8 @@ '%s', wp_nonce_url( admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $post->ID ) ), 'untrash-post_' . $post->ID ), /* translators: %s: post title */ - esc_attr( sprintf( __( 'Restore “%s” from the Trash' ), $title ) ), - __( 'Restore' ) + esc_attr( sprintf( __( 'Restore “%s” from the Trash', 'wporg-plugins' ), $title ) ), + __( 'Restore', 'wporg-plugins' ) ); } elseif ( EMPTY_TRASH_DAYS ) { $actions['trash'] = sprintf( @@ -232,8 +232,8 @@ '%s', get_delete_post_link( $post->ID ), /* translators: %s: post title */ - esc_attr( sprintf( __( 'Move “%s” to the Trash' ), $title ) ), - _x( 'Trash', 'verb' ) + esc_attr( sprintf( __( 'Move “%s” to the Trash', 'wporg-plugins' ), $title ) ), + _x( 'Trash', 'verb', 'wporg-plugins' ) ); } if ( 'trash' === $post->post_status || ! EMPTY_TRASH_DAYS ) { @@ -241,8 +241,8 @@ '%s', get_delete_post_link( $post->ID, '', true ), /* translators: %s: post title */ - esc_attr( sprintf( __( 'Delete “%s” permanently' ), $title ) ), - __( 'Delete Permanently' ) + esc_attr( sprintf( __( 'Delete “%s” permanently', 'wporg-plugins' ), $title ) ), + __( 'Delete Permanently', 'wporg-plugins' ) ); } } @@ -252,8 +252,8 @@ '%s', get_permalink( $post->ID ), /* translators: %s: post title */ - esc_attr( sprintf( __( 'View “%s”' ), $title ) ), - __( 'View' ) + esc_attr( sprintf( __( 'View “%s”', 'wporg-plugins' ), $title ) ), + __( 'View', 'wporg-plugins' ) ); } Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php =================================================================== --- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php (revision 5013) +++ sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php (working copy) @@ -30,7 +30,7 @@
post_name . '/reviews/">' . sprintf( /* translators: 1: number of ratings */ - __( '%1$s total ratings' ), + __( '%1$s total ratings', 'wporg-plugins' ), esc_html( $num_ratings ) ) . '' . Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php =================================================================== --- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php (revision 5013) +++ sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-reviews.php (working copy) @@ -53,7 +53,10 @@ - + - +