Making WordPress.org


Ignore:
Timestamp:
02/18/2017 02:33:25 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Add missing i18n functions in plugin/theme reviews sidebar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin-directory-compat.php

    r4746 r4915  
    9595        include_once WPORGPATH . 'extend/plugins-plugins/_plugin-icons.php';
    9696        $plugin  = sprintf( '<a href="//wordpress.org/plugins/%s/">%s</a>', esc_attr( $this->slug() ), esc_html( $this->plugin->post_title ) );
    97         $faq     = sprintf( '<a href="//wordpress.org/plugins/%s/faq/">Frequently Asked Questions</a>', esc_attr( $this->slug() ) );
    98         $support = sprintf( '<a href="//wordpress.org/support/plugin/%s/">Support Threads</a>', esc_attr( $this->slug() ) );
     97        $faq     = sprintf( '<a href="//wordpress.org/plugins/%s/faq/">%s</a>', esc_attr( $this->slug() ), __( 'Frequently Asked Questions', 'wporg-forums' ) );
     98        $support = sprintf( '<a href="//wordpress.org/support/plugin/%s/">%s</a>', esc_attr( $this->slug() ), __( 'Support Threads', 'wporg-forums' ) );
    9999        $active  = sprintf( '<a href="//wordpress.org/support/plugin/%s/active">%s</a>', esc_attr( $this->slug() ), __( 'Active Topics', 'wporg-forums' ) );
    100         $reviews = sprintf( '<a href="//wordpress.org/support/plugin/%s/reviews/">Reviews</a>', esc_attr( $this->slug() ) );
     100        $reviews = sprintf( '<a href="//wordpress.org/support/plugin/%s/reviews/">%s</a>', esc_attr( $this->slug() ), __( 'Reviews', 'wporg-forums' ) );
    101101        $create  = '';
    102102
     
    115115
    116116        <div>
    117             <h3>About this Plugin</h3>
     117            <h3><?php _e( 'About this Plugin', 'wporg-forums' ); ?></h3>
    118118            <ul>
    119119                <li><?php echo wporg_get_plugin_icon( $this->slug, 128 ); ?></li>
Note: See TracChangeset for help on using the changeset viewer.