WordPress.org

Making WordPress.org

Ticket #2788: 2788.4.diff

File 2788.4.diff, 2.9 KB (added by SergeyBiryukov, 2 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

     
    113113                if ( $plugin_post ) {
    114114                        $error = __( 'The plugin has already been submitted.', 'wporg-plugins' );
    115115                       
    116                         /* translators: %s: plugin slug */
    117                         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' ),
    118                                 '<code>' . $this->plugin_slug . '</code>'
     116                        /* translators: 1: plugin slug, 2: plugins@wordpress.org */
     117                        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 %2$s and let us know.', 'wporg-plugins' ),
     118                                '<code>' . $this->plugin_slug . '</code>',
     119                                'plugins@wordpress.org'
    119120                        );
    120121                }
    121122
     
    249250                do_action( 'plugin_upload', $this->plugin, $plugin_post );
    250251
    251252                // Success!
    252                 /* translators: 1: plugin name */
    253                 return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We&rsquo;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' ),
    254                         esc_html( $this->plugin['Name'] )
     253                /* translators: 1: plugin name, 2: plugins@wordpress.org */
     254                return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We&rsquo;ve sent you an email verifying this submission. Please make sure to whitelist our email address - %2$s - to ensure you receive all our communications.', 'wporg-plugins' ),
     255                        esc_html( $this->plugin['Name'] ),
     256                        'plugins@wordpress.org'
    255257                );
    256258        }
    257259
     
    359361                        $this->plugin['Name']
    360362                );
    361363
    362                 /* translators: 1: plugin name, 2: Trac ticket URL */
    363                 $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.
     364                /* translators: %s: plugin name */
     365                $email_content = sprintf( __( 'Thank you for uploading %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.
    364366
    365367--
    366368The WordPress Plugin Directory Team