Making WordPress.org

Changeset 5391


Ignore:
Timestamp:
04/20/2017 03:24:59 PM (8 years ago)
Author:
ocean90
Message:

Plugin Directory: Remove unnecessary HTML from a translatable string.

Props SergeyBiryukov.
Fixes #2758.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-developers.php

    r5373 r5391  
    9090        }
    9191
    92         /* translators: 1: GlotPress URL, 2: plugin name */
    93         $output .= '<p>' . sprintf(
    94             __( '<a href="%1$s">Translate &#8220;%2$s&#8221; into your language.</a>', 'wporg-plugins' ),
     92        $output .= '<p>' . sprintf( '<a href="%1$s">%2$s</a>',
    9593            esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $slug ),
    96             $title
     94            sprintf(
     95                /* translators: %s: plugin name */
     96                __( 'Translate &#8220;%s&#8221; into your language.', 'wporg-plugins' ),
     97                $title
     98            )
    9799        ) . '</p>';
    98100
Note: See TracChangeset for help on using the changeset viewer.