113 | | return sprintf( __( 'The zip file must include a file named %1$s or %2$s.', 'wporg-themes' ), '<code>screenshot.png</code>', '<code>screenshot.jpg</code>' ); |
| 116 | /* translators: 1: screenshot.png, 2: screenshot.jpg */ |
| 117 | return sprintf( __( 'The zip file must include a file named %1$s or %2$s.', 'wporg-themes' ), |
| 118 | '<code>screenshot.png</code>', |
| 119 | '<code>screenshot.jpg</code>' |
| 120 | ); |
122 | | return __( "The theme has no name. Add it to style.css and upload the theme again. <a href='https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet'>Theme Style Sheets</a>", 'wporg-themes' ); |
| 129 | $error = __( 'The theme has no name.', 'wporg-themes' ) . ' '; |
| 130 | |
| 131 | /* translators: 1: comment header line, 2: style.css, 3: Codex URL */ |
| 132 | $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ), |
| 133 | '<code>Theme Name:</code>', |
| 134 | '<code>style.css</code>', |
| 135 | __( 'https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet', 'wporg-themes' ) |
| 136 | ); |
| 137 | |
| 138 | return $error; |
132 | | return sprintf( __( 'Sorry, the theme name %s is reserved for use by WordPress Core. Please change the name of your theme in <code>style.css</code> and upload it again.', 'wporg-themes' ), '<code>' . $this->theme_slug . '</code>' ); |
| 148 | /* translators: 1: theme slug, 2: style.css */ |
| 149 | return sprintf( __( 'Sorry, the theme name %1$s is reserved for use by WordPress Core. Please change the name of your theme in %2$s and upload it again.', 'wporg-themes' ), |
| 150 | '<code>' . $this->theme_slug . '</code>', |
| 151 | '<code>style.css</code>' |
| 152 | ); |
140 | | return sprintf( __( 'The theme has no description. Add it to <code>style.css</code> and upload the theme again. <a href="%s">Theme Style Sheets</a>', 'wporg-themes' ), 'https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet' ); |
| 160 | $error = __( 'The theme has no description.', 'wporg-themes' ) . ' '; |
| 161 | |
| 162 | /* translators: 1: comment header line, 2: style.css, 3: Codex URL */ |
| 163 | $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ), |
| 164 | '<code>Description:</code>', |
| 165 | '<code>style.css</code>', |
| 166 | __( 'https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet', 'wporg-themes' ) |
| 167 | ); |
| 168 | |
| 169 | return $error; |
144 | | return __( 'The stylesheet has no tags. Add a Tags: line to your <code>style.css</code> file and upload the zip file again.', 'wporg-themes' ); |
| 173 | $error = __( 'The theme has no tags.', 'wporg-themes' ) . ' '; |
| 174 | |
| 175 | /* translators: 1: comment header line, 2: style.css, 3: Codex URL */ |
| 176 | $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ), |
| 177 | '<code>Tags:</code>', |
| 178 | '<code>style.css</code>', |
| 179 | __( 'https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet', 'wporg-themes' ) |
| 180 | ); |
| 181 | |
| 182 | return $error; |
148 | | return __( 'The stylesheet has no version. Add a Version: line to your <code>style.css</code> file and upload the zip file again.', 'wporg-themes' ); |
| 186 | $error = __( 'The theme has no version.', 'wporg-themes' ) . ' '; |
| 187 | |
| 188 | /* translators: 1: comment header line, 2: style.css, 3: Codex URL */ |
| 189 | $error .= sprintf( __( 'Add a %1$s line to your %2$s file and upload the theme again. <a href="%3$s">Theme Style Sheets</a>', 'wporg-themes' ), |
| 190 | '<code>Version:</code>', |
| 191 | '<code>style.css</code>', |
| 192 | __( 'https://codex.wordpress.org/Theme_Development#Theme_Style_Sheet', 'wporg-themes' ) |
| 193 | ); |
| 194 | |
| 195 | return $error; |
157 | | return sprintf( __( 'You need to upload a version of %1$s higher than %2$s. Increase the theme version number in <code>style.css</code>, then upload your zip file again.', 'wporg-themes' ), $this->theme->display( 'Name' ), '<code>' . $this->theme_post->max_version . '</code>' ); |
| 207 | /* translators: 1: theme name, 2: theme version, 3: style.css */ |
| 208 | return sprintf( __( 'You need to upload a version of %1$s higher than %2$s. Increase the theme version number in %3$s, then upload your zip file again.', 'wporg-themes' ), |
| 209 | $this->theme->display( 'Name' ), |
| 210 | '<code>' . $this->theme_post->max_version . '</code>', |
| 211 | '<code>style.css</code>' |
| 212 | ); |
188 | | return sprintf( __( 'Your theme has failed the theme check. Please correct the problems with it and upload it again. You can also use the <a href="%1$s">Theme Check Plugin</a> to test your theme before uploading. If you have any questions about this please post them to %2$s.', 'wporg-themes' ), '//wordpress.org/plugins/theme-check/', '<a href="https://make.wordpress.org/themes">https://make.wordpress.org/themes</a>' ); |
| 253 | /* translators: 1: Theme Check Plugin URL, 2: make.wordpress.org/themes */ |
| 254 | return sprintf( __( 'Your theme has failed the theme check. Please correct the problems with it and upload it again. You can also use the <a href="%1$s">Theme Check Plugin</a> to test your theme before uploading. If you have any questions about this please post them to %2$s.', 'wporg-themes' ), |
| 255 | '//wordpress.org/plugins/theme-check/', |
| 256 | '<a href="https://make.wordpress.org/themes">https://make.wordpress.org/themes</a>' |
| 257 | ); |
217 | | return sprintf( __( 'Thank you for uploading %1$s to the WordPress Theme Directory. We’ve sent you an email verifying that we’ve received it. Feedback will be provided at <a href="%2$s">%2$s</a>', 'wporg-themes' ), $this->theme->display( 'Name' ), esc_url( 'https://themes.trac.wordpress.org/ticket/' . $ticket_id ) ); |
| 289 | /* translators: 1: theme name, 2: Trac ticket URL */ |
| 290 | return sprintf( __( 'Thank you for uploading %1$s to the WordPress Theme Directory. We’ve sent you an email verifying that we’ve received it. Feedback will be provided at <a href="%2$s">%2$s</a>', 'wporg-themes' ), |
| 291 | $this->theme->display( 'Name' ), |
| 292 | esc_url( 'https://themes.trac.wordpress.org/ticket/' . $ticket_id ) |
| 293 | ); |
601 | | $email_subject = sprintf( __( '[WordPress Themes] %1$s, new version %2$s', 'wporg-themes' ), $this->theme->display( 'Name' ), $this->theme->display( 'Version' ) ); |
602 | | $email_content = sprintf( __( "Thank you for uploading version %s of %s.\n\nFeedback will be provided at %s\n\n--\nThe WordPress.org Themes Team\nhttps://make.wordpress.org/themes", 'wporg-themes' ), $this->theme->display( 'Version' ), $this->theme->display( 'Name' ), 'https://themes.trac.wordpress.org/ticket/' . $ticket_id ); |
| 677 | /* translators: 1: theme name, 2: theme version */ |
| 678 | $email_subject = sprintf( __( '[WordPress Themes] %1$s, new version %2$s', 'wporg-themes' ), |
| 679 | $this->theme->display( 'Name' ), |
| 680 | $this->theme->display( 'Version' ) |
| 681 | ); |
| 682 | |
| 683 | /* translators: 1: theme version, 2: theme name, 3: Trac ticket URL */ |
| 684 | $email_content = sprintf( __( 'Thank you for uploading version %1$s of %2$s. |
| 685 | |
| 686 | Feedback will be provided at %3$s |
| 687 | |
| 688 | -- |
| 689 | The WordPress.org Themes Team |
| 690 | https://make.wordpress.org/themes', 'wporg-themes' ), |
| 691 | $this->theme->display( 'Version' ), |
| 692 | $this->theme->display( 'Name' ), |
| 693 | 'https://themes.trac.wordpress.org/ticket/' . $ticket_id |
| 694 | ); |
604 | | $email_subject = sprintf( __( '[WordPress Themes] New Theme - %s', 'wporg-themes' ), $this->theme->display( 'Name' ) ); |
605 | | $email_content = sprintf( __( "Thank you for uploading %s to the WordPress Theme Directory. If your theme is selected to be part of the directory we'll send a follow up email.\n\nFeedback will be provided at %s\n\n--\nThe WordPress.org Themes Team\nhttps://make.wordpress.org/themes", 'wporg-themes' ), $this->theme->display( 'Name' ), 'https://themes.trac.wordpress.org/ticket/' . $ticket_id ); |
| 696 | /* translators: %s: theme name */ |
| 697 | $email_subject = sprintf( __( '[WordPress Themes] New Theme - %s', 'wporg-themes' ), |
| 698 | $this->theme->display( 'Name' ) |
| 699 | ); |
| 700 | |
| 701 | /* translators: 1: theme name, 2: Trac ticket URL */ |
| 702 | $email_content = sprintf( __( 'Thank you for uploading %1$s to the WordPress Theme Directory. If your theme is selected to be part of the directory we\'ll send a follow up email. |
| 703 | |
| 704 | Feedback will be provided at %2$s |
| 705 | |
| 706 | -- |
| 707 | The WordPress.org Themes Team |
| 708 | https://make.wordpress.org/themes', 'wporg-themes' ), |
| 709 | $this->theme->display( 'Name' ), |
| 710 | 'https://themes.trac.wordpress.org/ticket/' . $ticket_id |
| 711 | ); |