WordPress.org

Making WordPress.org

Changeset 3474


Ignore:
Timestamp:
06/19/2016 12:57:49 PM (2 years ago)
Author:
ocean90
Message:

Plugin Directory: Add a link to translate.wordpress.org if a plugin isn't translated yet.

See #1728.

File:
1 edited

Legend:

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

    r3460 r3474  
    121121            );
    122122        } elseif ( 'en_US' !== $current_locale ) {
    123             $suggest_string = __( 'This plugin is not yet available in your language. Can you help translating it?', 'wporg-translate' );
     123            $suggest_string = sprintf(
     124                /* translators: %s: URL to translate.wordpress.org */
     125                __( 'This plugin is not yet available in your language. <a href="%s">Can you help translating it?</a>', 'wporg-translate' ),
     126                'https://translate.wordpress.org/projects/wp-plugins/' . $plugin_slug
     127            );
    124128        }
    125129
Note: See TracChangeset for help on using the changeset viewer.