Making WordPress.org


Ignore:
Timestamp:
04/15/2015 08:56:26 AM (11 years ago)
Author:
dd32
Message:

Theme Directory: Improve localisation by properly using a consistent text domain, and not relying upon strings contained within wp-admin.
This removes the Nav menu, replacing it with a hard-coded menu, and hard-coded site title.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php

    r1440 r1477  
    88                <div class="theme-screenshot blank"></div>
    99                <# } #>
    10                 <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span>
    11                 <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div>
     10                <span class="more-details"><?php _ex( 'More Info', 'theme', 'wporg-themes' ); ?></span>
     11                <div class="theme-author"><?php printf( __( 'By %s', 'wporg-themes' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div>
    1212                <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
    1313        </a>
    1414        <div class="theme-actions">
    15                 <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download' ); ?></a>
     15                <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download', 'wporg-themes' ); ?></a>
    1616        </div>
    1717</script>
Note: See TracChangeset for help on using the changeset viewer.