Changeset 9649 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
- Timestamp:
- 03/31/2020 04:00:08 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-review-tools.php
r9096 r9649 259 259 260 260 if ( 'new' === $post->post_status || 'pending' === $post->post_status ) { 261 /* translators: %s: plugin title */262 $subject = sprintf( __( '[WordPress Plugin Directory] Re quest: %s', 'wporg-plugins' ), $post->post_title );261 /* translators: %s: Plugin Title */ 262 $subject = sprintf( __( '[WordPress Plugin Directory] Review in Progress: %s', 'wporg-plugins' ), $post->post_title ); 263 263 } elseif ( 'rejected' === $post->post_status ) { 264 /* translators: %s: plugin title */264 /* translators: %s: Plugin Title */ 265 265 $subject = sprintf( __( '[WordPress Plugin Directory] Rejection Explanation: %s', 'wporg-plugins' ), $post->post_title ); 266 } elseif ( 'closed' === $post->post_status || 'disabled' === $post->post_status ) { 267 $close_reason = (string) get_post_meta( $post->ID, '_close_reason', true ); 268 $close_reasons = array( 269 'security-issue' => __( 'Security', 'wporg-plugins' ), 270 'guideline-violation' => __( 'Guideline Violation', 'wporg-plugins' ), 271 'licensing-trademark-violation' => __( 'Licensing/Trademark Violation', 'wporg-plugins' ), 272 ); 273 274 if ( isset( $close_reasons[ $close_reason ] ) ) { 275 /* translators: 1: Closure Reason, 2: Plugin Title */ 276 $subject = sprintf( __( '[WordPress Plugin Directory] Closure Notice - %1$s: %2$s', 'wporg-plugins' ), $close_reasons[ $close_reason ], $post->post_title ); 277 } else { 278 /* translators: %s: Plugin Title */ 279 $subject = sprintf( __( '[WordPress Plugin Directory] Closure Notice: %s', 'wporg-plugins' ), $post->post_title ); 280 } 266 281 } else { 267 /* translators: %s: plugin title */282 /* translators: %s: Plugin Title */ 268 283 $subject = sprintf( __( '[WordPress Plugin Directory] Notice: %s', 'wporg-plugins' ), $post->post_title ); 269 284 }
Note: See TracChangeset
for help on using the changeset viewer.