Changeset 5717
- Timestamp:
- 07/26/2017 01:21:37 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-locale-banner.php
r5322 r5717 95 95 if ( $is_plugin_request ) { 96 96 $suggest_string = sprintf( 97 $this->translate( 'This plugin is also available in % s.', $locale ),97 $this->translate( 'This plugin is also available in %1$s. <a href="%2$s">Help improve the translation!</a>', $locale ), 98 98 sprintf( 99 99 '<a href="https://%s.wordpress.org%s%s/">%s</a>', … … 102 102 $plugin_slug, 103 103 $language 104 ) 104 ), 105 esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $plugin_slug ) 105 106 ); 106 107 } else { … … 135 136 136 137 $suggest_string = sprintf( 137 $this->translate( 'This plugin is also available in %1$s (also: %2$s). ', $primary_locale ),138 $this->translate( 'This plugin is also available in %1$s (also: %2$s). <a href="%3$s">Help improve the translation!</a>', $primary_locale ), 138 139 sprintf( 139 140 '<a href="https://%s.wordpress.org%s%s/">%s</a>', … … 143 144 $primary_language 144 145 ), 145 trim( $other_suggest, ' ,' ) 146 trim( $other_suggest, ' ,' ), 147 esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $plugin_slug ) 146 148 ); 147 149 } else {
Note: See TracChangeset
for help on using the changeset viewer.