Index: sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
===================================================================
--- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php (revision 5505)
+++ sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php (working copy)
@@ -113,9 +113,10 @@
if ( $plugin_post ) {
$error = __( 'The plugin has already been submitted.', 'wporg-plugins' );
- /* translators: %s: plugin slug */
- return $error . ' ' . sprintf( __( 'You have already submitted a plugin called %s. Please be patient and wait for a review. If you have made a mistake, please email plugins@wordpress.org and let us know.', 'wporg-plugins' ),
- '' . $this->plugin_slug . '
'
+ /* translators: 1: plugin slug, 2: plugins@wordpress.org */
+ return $error . ' ' . sprintf( __( 'You have already submitted a plugin called %1$s. Please be patient and wait for a review. If you have made a mistake, please email %1$s and let us know.', 'wporg-plugins' ),
+ '' . $this->plugin_slug . '
',
+ 'plugins@wordpress.org'
);
}
@@ -249,9 +250,11 @@
do_action( 'plugin_upload', $this->plugin, $plugin_post );
// Success!
- /* translators: 1: plugin name */
- return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We’ve sent you an email verifying this submission. Please make sure to whitelist our email address - plugins@wordpress.org - to ensure you receive all our communications.', 'wporg-plugins' ),
- esc_html( $this->plugin['Name'] )
+ /* translators: 1: plugin name, 2: plugin slug, 3: plugins@wordpress.org */
+ return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. It has been given the initial plugin slug of %2$s, however that is subject to change based on the results of your code review. We’ve sent you an email verifying this submission. Please make sure to whitelist our email address - %3$s - to ensure you receive all our communications. If there is an error in your submission, such as you require a specific plugin slug or need a different user account to own the plugin, please email us as we can correct many issues before approval.', 'wporg-plugins' ),
+ esc_html( $this->plugin['Name'] ),
+ '' . $this->plugin_slug . '
',
+ 'plugins@wordpress.org'
);
}
@@ -359,13 +362,18 @@
$this->plugin['Name']
);
- /* translators: 1: plugin name, 2: Trac ticket URL */
- $email_content = sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. If your plugin is selected to be part of the directory we\'ll send a follow up email. If there is a problem with your plugin submission, such as an incorrect display name or slug, please reply to this email and let us know.
+ /* translators: 1: plugin name, 2: plugin slug */
+ $email_content = sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We will review your submission as soon as possible and send you a follow up email with the results.
+Your plugin has been given the initial slug of %2$s, however this is subject to change based on the results of your review.
+
+If there is a problem with this submission, such as an incorrect display name or slug, please reply to this email and let us know. In most cases, we can correct errors as long as the plugin has not yet been approved. Please do not submit your plugin multiple times in an attempt to correct the issue, just email us.
+
--
The WordPress Plugin Directory Team
https://make.wordpress.org/plugins', 'wporg-plugins' ),
- $this->plugin['Name']
+ $this->plugin['Name'],
+ $this->plugin_slug
);
$user_email = wp_get_current_user()->user_email;