Making WordPress.org

Ticket #1585: 1585.patch

File 1585.patch, 3.2 KB (added by ramiy, 9 years ago)
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/index.php

     
    1515                                        get_template_part( 'plugin-card' );
    1616                                }
    1717                        } else {
    18                                 echo '<p class="no-plugin-results">No plugins match your request.</p>';
     18                                echo '<p class="no-plugin-results">' . __( 'No plugins match your request.', 'wporg-plugins' ) . '</p>';
    1919                        }
    2020                ?>
    2121
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php

     
    5353
    5454                        <div class="" style="width: 212px; float: right;">
    5555                                <p>
    56                                         <strong>Requires:</strong> <?php printf( __('%s or higher', 'wporg-plugins' ), wporg_plugins_template_requires() ); ?><br />
    57                                         <strong>Compatible up to:</strong> <?php echo wporg_plugins_template_compatible_up_to(); ?><br />
    58                                         <strong>Last Updated: </strong> <?php echo wporg_plugins_template_last_updated(); ?><br />
    59                                         <strong>Active Installs:</strong> <?php echo worg_plugins_template_active_installs( false ); ?><br />
     56                                        <strong><?php __( 'Requires:',         'wporg-plugins' ); ?></strong> <?php printf( __('%s or higher', 'wporg-plugins' ), wporg_plugins_template_requires() ); ?><br />
     57                                        <strong><?php __( 'Compatible up to:', 'wporg-plugins' ); ?></strong> <?php echo wporg_plugins_template_compatible_up_to(); ?><br />
     58                                        <strong><?php __( 'Last Updated:',     'wporg-plugins' ); ?></strong> <?php echo wporg_plugins_template_last_updated(); ?><br />
     59                                        <strong><?php __( 'Active Installs:',  'wporg-plugins' ); ?></strong> <?php echo worg_plugins_template_active_installs( false ); ?><br />
    6060                                        <meta itemprop="dateModified" content="<?php the_time('Y-m-d'); ?>" />
    6161                                </p>
    6262                        </div>
  • trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php

     
    6464        }
    6565
    6666        if ( $and_more ) {
    67                 return sprintf( '<cite> By: %s, and others.</cite>', implode(', ', $author_links ) );
     67                return sprintf(
     68                                        '<cite>%s</cite>',
     69                                        sprintf(
     70                                                /* translators: %s: users list */
     71                                                __( 'By: %s, and others.', 'wporg-plugins' ),
     72                                                implode(', ', $author_links )
     73                                        )
     74                                );
    6875        } else {
    69                 return sprintf( '<cite> By: %s</cite>', implode(', ', $author_links ) );
     76                return sprintf(
     77                                        '<cite>%s</cite>',
     78                                        sprintf(
     79                                                /* translators: %s: user name */
     80                                                __( 'By: %s', 'wporg-plugins' ),
     81                                                implode(', ', $author_links )
     82                                        )
     83                                );
    7084        }
    7185}
    7286