Making WordPress.org


Ignore:
Timestamp:
04/19/2017 07:47:33 PM (9 years ago)
Author:
ocean90
Message:

Plugin Directory: Put plugin name in quotes in "Contributors & Developers" section.

Props SergeyBiryukov.
Fixes #2741.

File:
1 edited

Legend:

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

    r5372 r5373  
    1818                $slug   = $post->post_name;
    1919                $title  = get_the_title( $post );
    20                 $output = '<div class="plugin-contributors"><p>' . sprintf(
     20
     21                $output = '<div class="plugin-contributors">';
     22
     23                $output .= '<p>' . sprintf(
    2124                        /* translators: %s: plugin name */
    22                         __( '%s is open source software. The following people have contributed to this plugin.', 'wporg-plugins' ),
     25                        __( '&#8220;%s&#8221; is open source software. The following people have contributed to this plugin.', 'wporg-plugins' ),
    2326                        $title
    2427                ) . '</p>';
    … …  
    8992                /* translators: 1: GlotPress URL, 2: plugin name */
    9093                $output .= '<p>' . sprintf(
    91                         __( '<a href="%1$s">Translate %2$s into your language.</a>', 'wporg-plugins' ),
     94                        __( '<a href="%1$s">Translate &#8220;%2$s&#8221; into your language.</a>', 'wporg-plugins' ),
    9295                        esc_url( 'https://translate.wordpress.org/projects/wp-plugins/' . $slug ),
    9396                        $title
    … …  
    105108
    106109                        $output .= '<p>' . sprintf(
    107                                 /* translators: 1: Trac URL, 2: SVN repository URL, 3: development log URL; 4: RSS URL; 5: email subscription UR; */
     110                                /* translators: 1: Trac URL, 2: SVN repository URL, 3: development log URL, 4: RSS URL, 5: email subscription URL */
    108111                                __( '<a href="%1$s">Browse the code</a>, check out the <a href="%2$s">SVN repository</a>, or subscribe to the <a href="%3$s">development log</a> by <a href="%4$s">email</a> or <a href="%5$s">RSS</a>.', 'wporg-plugins' ),
    109112                                esc_url( "https://plugins.trac.wordpress.org/browser/{$slug}/" ),
    … …  
    115118                } else {
    116119                        $output .= '<p>' . sprintf(
    117                                 /* translators: 1: Trac URL; 2: development log URL, 3: RSS URL */
     120                                /* translators: 1: Trac URL, 2: development log URL, 3: RSS URL */
    118121                                __( '<a href="%1$s">Browse the code</a> or subscribe to the <a href="%2$s">development log</a> by <a href="%3$s">RSS</a>.', 'wporg-plugins' ),
    119122                                esc_url( "https://plugins.trac.wordpress.org/browser/{$slug}/" ),
Note: See TracChangeset for help on using the changeset viewer.