Making WordPress.org

Changeset 5375


Ignore:
Timestamp:
04/19/2017 08:03:48 PM (9 years ago)
Author:
ocean90
Message:

Theme Directory: After [5279] move "WordPress" and "theme" out of the translatable string.

Props SergeyBiryukov.
Fixes #2306.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r5282 r5375  
    144144        // Do not allow themes with WordPress and Theme in the theme name.
    145145        if ( false !== strpos( $this->theme_slug, 'wordpress' ) || false !== strpos( $this->theme_slug, 'theme' ) ) {
    146             return __( 'You cannot use WordPress or theme in your theme name.', 'wporg-themes' );
     146            /* translators: 1: 'WordPress', 2: 'theme' */
     147            return sprintf( __( 'You cannot use %1$s or %2$s in your theme name.', 'wporg-themes' ),
     148                'WordPress',
     149                'theme'
     150            );
    147151        }
    148152
Note: See TracChangeset for help on using the changeset viewer.