Ticket #1284: meta-1284.patch
File meta-1284.patch, 13.8 KB (added by , 9 years ago) |
---|
-
trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/footer.php
5 5 <div id="footer"> 6 6 <div class="links"> 7 7 <p> 8 See also:8 <?php _e( 'See also:', 'bporg' ); ?> 9 9 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> • 10 10 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> • 11 11 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> • 12 12 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> • 13 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>13 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a> 14 14 </p> 15 15 </div> 16 16 <div class="details"> -
trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/header-front.php
2 2 3 3 <div id="headline"><div id="headline-inner"> 4 4 <h2 class="graphic home"><?php bloginfo( 'description' ); ?></h2> 5 <p> BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.</p>5 <p><?php _e( 'BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.', 'bborg' ); ?></p> 6 6 <div> 7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"> Download BuddyPress →</a>7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"><?php _e( 'Download BuddyPress →', 'bborg' ); ?></a> 8 8 <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=5" alt="Screenshots"> 9 9 </div> 10 10 </div></div> … … 13 13 <div id="showcase"><div id="showcase-inner"> 14 14 <div class="feature"> 15 15 <h3><?php _e( 'Profiles', 'bborg' ); ?></h3> 16 <p><a href="//buddypress.org/about/profiles/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_profiles.gif" alt="" width="78" height="58"></a>Custom profile fields.<br /> Visibility levels.<br /> Common field types.</p> 16 <p> 17 <a href="//buddypress.org/about/profiles/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_profiles.gif" alt="" width="78" height="58"></a> 18 <?php _e( 'Custom profile fields.', 'bborg' ); ?><br /> 19 <?php _e( 'Visibility levels.', 'bborg' ); ?><br /> 20 <?php _e( 'Common field types.', 'bborg' ); ?> 21 </p> 17 22 </div> 18 23 <div class="feature"> 19 24 <h3><?php _e( 'Settings', 'bborg' ); ?></h3> 20 <p><a href="//buddypress.org/about/settings/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_settings.gif" alt="" width="78" height="58"></a>Manage account settings.<br /> Email notifications.<br /> Email and Password.</p> 25 <p> 26 <a href="//buddypress.org/about/settings/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_settings.gif" alt="" width="78" height="58"></a> 27 <?php _e( 'Manage account settings.', 'bborg' ); ?><br /> 28 <?php _e( 'Email notifications.', 'bborg' ); ?><br /> 29 <?php _e( 'Email and Password.', 'bborg' ); ?> 30 </p> 21 31 </div> 22 32 <div class="feature"> 23 33 <h3><?php _e( 'Groups', 'bborg' ); ?></h3> 24 <p><a href="//buddypress.org/about/groups/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_groups.gif" alt="" width="78" height="58"></a>Extensible user groups. Allow your users to create micro-communities.</p> 34 <p> 35 <a href="//buddypress.org/about/groups/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_groups.gif" alt="" width="78" height="58"></a> 36 <?php _e( 'Extensible user groups. Allow your users to create micro-communities.', 'bborg' ); ?> 37 </p> 25 38 </div> 26 39 <div class="feature" style="margin:0;"> 27 40 <h3><?php _e( 'Activity Streams', 'bborg' ); ?></h3> 28 <p><a href="//buddypress.org/about/activity/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_activity.gif" alt="" width="78" height="58"></a>For members and groups. Sitewide directory and single threads.</p> 41 <p> 42 <a href="//buddypress.org/about/activity/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_activity.gif" alt="" width="78" height="58"></a> 43 <?php _e( 'For members and groups. Sitewide directory and single threads.', 'bborg' ); ?> 44 </p> 29 45 </div> 30 46 <div class="feature"> 31 47 <h3><?php _e( 'Notifications', 'bborg' ); ?></h3> 32 <p><a href="//buddypress.org/about/notifications/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_notifications.gif" alt="" width="78" height="58"></a>Get notified.<br /> Smart read/unread.<br /> Fully integrated.</p> 48 <p> 49 <a href="//buddypress.org/about/notifications/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_notifications.gif" alt="" width="78" height="58"></a> 50 <?php _e( 'Get notified.', 'bborg' ); ?><br /> 51 <?php _e( 'Smart read/unread.', 'bborg' ); ?><br /> 52 <?php _e( 'Fully integrated.', 'bborg' ); ?> 53 </p> 33 54 </div> 34 55 <div class="feature"> 35 56 <h3><?php _e( 'Friendships', 'bborg' ); ?></h3> 36 <p><a href="//buddypress.org/about/friends/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_friends.gif" alt="" width="78" height="58"></a>Friendship connections.<br /> It's always about<br /> who you know!</p> 57 <p> 58 <a href="//buddypress.org/about/friends/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_friends.gif" alt="" width="78" height="58"></a> 59 <?php _e( 'Friendship connections.', 'bborg' ); ?><br /> 60 <?php _e( 'It\'s always about', 'bborg' ); ?><br /> 61 <?php _e( 'who you know!', 'bborg' ); ?> 62 </p> 37 63 </div> 38 64 <div class="feature"> 39 65 <h3><?php _e( 'Private Messaging', 'bborg' ); ?></h3> 40 <p><a href="//buddypress.org/about/private-messaging/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_pms.gif" alt="" width="78" height="58"></a>Private conversations, with several members at one time.</p> 66 <p> 67 <a href="//buddypress.org/about/private-messaging/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_pms.gif" alt="" width="78" height="58"></a> 68 <?php _e( 'Private conversations, with several members at one time.', 'bborg' ); ?> 69 </p> 41 70 </div> 42 71 <div class="feature" style="margin:0;"> 43 72 <h3><?php _e( '...and more!', 'bborg' ); ?></h3> 44 <p><a href="//buddypress.org/about/more/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_more.gif" alt="" width="78" height="58"></a>Extend BuddyPress with hundreds of third party components.</p> 73 <p> 74 <a href="//buddypress.org/about/more/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_more.gif" alt="" width="78" height="58"></a> 75 <?php _e( 'Extend BuddyPress with hundreds of third party components.', 'bborg' ); ?> 76 </p> 45 77 </div> 46 78 </div></div> 47 79 -
trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/page-plugins.php
12 12 <div class="bbp-pagination"> 13 13 <div class="bbp-pagination-count"> 14 14 15 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?>15 <?php printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bporg' ), number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 16 16 17 17 </div> 18 18 … … 47 47 ?> 48 48 49 49 <div class="single-plugin"> 50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/ extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3>50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/plugins/' . $plugin->slug ); ?>/" title="<?php esc_attr_e( 'Plugin Information', 'bporg' ); ?>"><?php echo esc_html( $plugin->name ); ?></a></h3> 51 51 52 52 <div class="plugin-meta"> 53 <?php if ( !empty( $plugin->version ) ) : ?><div> Version:<?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?>54 <?php if ( !empty( $plugin->requires ) ) : ?><div> Requires:<?php echo esc_html( $plugin->requires ); ?></div><?php if ( !empty( $plugin->tested ) ) : ?><?php endif; ?><?php endif; ?>55 <?php if ( !empty( $plugin->tested ) ) : ?><div> Compatible up to:<?php echo esc_html( $plugin->tested ); ?></div><?php endif; ?>56 <div> Rating:<?php echo $plugin->rating_html; // raw html - do not escape ?></div>53 <?php if ( !empty( $plugin->version ) ) : ?><div><?php _e( 'Version:', 'bporg' ); ?> <?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?> 54 <?php if ( !empty( $plugin->requires ) ) : ?><div><?php _e( 'Requires:', 'bporg' ); ?> <?php echo esc_html( $plugin->requires ); ?></div><?php if ( !empty( $plugin->tested ) ) : ?><?php endif; ?><?php endif; ?> 55 <?php if ( !empty( $plugin->tested ) ) : ?><div><?php _e( 'Compatible up to:', 'bporg' ); ?> <?php echo esc_html( $plugin->tested ); ?></div><?php endif; ?> 56 <div><?php _e( 'Rating:', 'bporg' ); ?> <?php echo $plugin->rating_html; // raw html - do not escape ?></div> 57 57 </div> 58 58 59 59 <p class="plugin-description" style="font-size: 12px"> … … 67 67 <div class="bbp-pagination"> 68 68 <div class="bbp-pagination-count"> 69 69 70 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?>70 <?php printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bporg' ), number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 71 71 72 72 </div> 73 73 -
trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/sidebar.php
33 33 <div> 34 34 <h3><?php _e( 'Forum Feeds', 'bporg'); ?></h3> 35 35 <ul> 36 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title=" Forum Posts">Recent Posts</a></li>37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic" title=" Forum Topics">Recent Topics</a></li>36 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title="<?php esc_attr_e( 'Forum Posts', 'bporg' ); ?>"><?php _e( 'Recent Posts', 'bporg'); ?></a></li> 37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic" title="<?php esc_attr_e( 'Forum Topics', 'bporg' ); ?>"><?php _e( 'Recent Topics', 'bporg'); ?></a></li> 38 38 </ul> 39 39 </div> 40 40 … … 95 95 <div> 96 96 <h3><?php _e( 'Feeds', 'bporg'); ?></h3> 97 97 <ul> 98 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title=" All Recent Posts">All Recent Posts</a></li>99 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/" title=" All Recent Topics">All Recent Topics</a></li>98 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title="<?php esc_attr_e( 'All Recent Posts', 'bporg' ); ?>"><?php _e( 'All Recent Posts', 'bporg'); ?></a></li> 99 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/" title="<?php esc_attr_e( 'All Recent Topics', 'bporg' ); ?>"><?php _e( 'All Recent Topics', 'bporg'); ?></a></li> 100 100 </ul> 101 101 </div> 102 102 … … 111 111 112 112 <div class="feature"> 113 113 <h3><?php _e( 'Theme Development', 'bporg' ); ?></h3> 114 <p><a href="https://www.packtpub.com/web-development/buddypress-theme-development" title=" BuddyPress Theme Development"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p>115 <p class="book-description"> An in-depth guide to designing, developing, and testing your very own custom BuddyPress theme.</p>114 <p><a href="https://www.packtpub.com/web-development/buddypress-theme-development" title="<?php esc_attr_e( 'BuddyPress Theme Development', 'bporg' ); ?>"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p> 115 <p class="book-description"><?php _e( 'An in-depth guide to designing, developing, and testing your very own custom BuddyPress theme.', 'bporg'); ?></p> 116 116 </div> 117 117 118 118 <?php elseif ( is_page( array( 'plugins' ) ) ) : ?> … … 122 122 <div> 123 123 <h3><?php _e( 'Legacy', 'bporg'); ?></h3> 124 124 <ul> 125 <li><a href="https://buddypress.org/support/forum/plugin-forums/" title=" Plugin Forums">Legacy Plugin Forums</a></li>125 <li><a href="https://buddypress.org/support/forum/plugin-forums/" title="<?php esc_attr_e( 'Plugin Forums', 'bporg' ); ?>"><?php _e( 'Legacy Plugin Forums', 'bporg'); ?></a></li> 126 126 </ul> 127 127 </div> 128 128