Making WordPress.org

Changeset 4915


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.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc
Files:
2 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>
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-theme-directory-compat.php

    r4746 r4915  
    9494    public function do_topic_sidebar() {
    9595        $theme   = sprintf( '<a href="//wordpress.org/themes/%s/">%s</a>', esc_attr( $this->slug() ), esc_html( $this->theme->post_title ) );
    96         $support = sprintf( '<a href="//wordpress.org/support/theme/%s/">Support Threads</a>', esc_attr( $this->slug() ) );
     96        $support = sprintf( '<a href="//wordpress.org/support/theme/%s/">%s</a>', esc_attr( $this->slug() ), __( 'Support Threads', 'wporg-forums' ) );
    9797        $active  = sprintf( '<a href="//wordpress.org/support/theme/%s/active">%s</a>', esc_attr( $this->slug() ), __( 'Active Topics', 'wporg-forums' ) );
    98         $reviews = sprintf( '<a href="//wordpress.org/support/theme/%s/reviews/">Reviews</a>', esc_attr( $this->slug() ) );
     98        $reviews = sprintf( '<a href="//wordpress.org/support/theme/%s/reviews/">%s</a>', esc_attr( $this->slug() ), __( 'Reviews', 'wporg-forums' ) );
    9999        $create  = '';
    100100
     
    112112        ?>
    113113        <div>
    114             <h3>About this Theme</h3>
     114            <h3><?php _e( 'About this Theme', 'wporg-forums' ); ?></h3>
    115115            <ul>
    116116                <li><?php echo $theme; ?></li>
Note: See TracChangeset for help on using the changeset viewer.