WordPress.org

Making WordPress.org

Changeset 6032


Ignore:
Timestamp:
10/15/2017 10:10:04 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: In locale banner, replace "This plugin is not available in [language] yet" message wording with "This plugin is not translated into [language] yet" for clarity.

Props Shelob9.
Fixes #3110.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-locale-banner.php

    r6030 r6032  
    174174
    175175                $suggest_string = sprintf(
    176                     $this->translate( 'This plugin is not available in %1$s yet. <a href="%2$s">Help translate it!</a>', $locale ),
     176                    $this->translate( 'This plugin is not translated into %1$s yet. <a href="%2$s">Help translate it!</a>', $locale ),
    177177                    \GP_Locales::by_field( 'wp_locale', $locale )->native_name,
    178178                    esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $plugin_slug )
     
    183183        } elseif ( ! $current_locale_is_suggested && ! $current_locale_is_translated && $is_plugin_request ) {
    184184            $suggest_string = sprintf(
    185                 $this->translate( 'This plugin is not available in %1$s yet. <a href="%2$s">Help translate it!</a>', $current_locale ),
     185                $this->translate( 'This plugin is not translated into %1$s yet. <a href="%2$s">Help translate it!</a>', $current_locale ),
    186186                \GP_Locales::by_field( 'wp_locale', $current_locale )->native_name,
    187187                esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $plugin_slug )
     
    312312            2984793 => 'This plugin is also available in %s.',
    313313            2984794 => 'This plugin is also available in %1$s (also: %2$s).',
    314             2984795 => 'This plugin is not available in %1$s yet. <a href="%2$s">Help translate it!</a>',
     314            2984795 => 'This plugin is not translated into %1$s yet. <a href="%2$s">Help translate it!</a>',
    315315            3004513 => 'The plugin directory is also available in %s.',
    316316            3004514 => 'The plugin directory is also available in %1$s (also: %2$s).',
     
    359359__( 'This plugin is also available in %1$s (also: %2$s). <a href="%3$s">Help improve the translation!</a>', 'wporg-plugins' );
    360360/* translators: 1: native language name, 2: URL to translate.wordpress.org */
    361 __( 'This plugin is not available in %1$s yet. <a href="%2$s">Help translate it!</a>', 'wporg-plugins' );
     361__( 'This plugin is not translated into %1$s yet. <a href="%2$s">Help translate it!</a>', 'wporg-plugins' );
    362362/* translators: %s: native language name. */
    363363__( 'The plugin directory is also available in %s.', 'wporg-plugins' );
Note: See TracChangeset for help on using the changeset viewer.