Skip to:
Content

BuddyPress.org

Changeset 11188


Ignore:
Timestamp:
10/12/2016 06:23:41 PM (3 years ago)
Author:
mercime
Message:

Update Welcome Screen items.

  • Fix typos
  • Add two features
  • Improve code
  • Add translator comments

Props slaFFik, dcavins, DJPaul, hnla, boonebgorges, mercime.
Fixes #7267.

Location:
trunk/src/bp-core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/css/common-rtl.css

    r11183 r11188  
    155155}
    156156
     157
     158.index_page_bp-about .bp-feature code,
     159.dashboard_page_bp-about .bp-feature code{
     160    font-size: 0.95em;
     161    line-height: 1.5;
     162}
     163
    157164.index_page_bp-about .bp-feature:nth-of-type(2n),
    158165.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
  • trunk/src/bp-core/admin/css/common.css

    r11183 r11188  
    155155}
    156156
     157
     158.index_page_bp-about .bp-feature code,
     159.dashboard_page_bp-about .bp-feature code{
     160    font-size: 0.95em;
     161    line-height: 1.5;
     162}
     163
    157164.index_page_bp-about .bp-feature:nth-of-type(2n),
    158165.dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
  • trunk/src/bp-core/classes/class-bp-admin.php

    r11183 r11188  
    618618                    <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3>
    619619
    620                     <p class="introduction"><?php _e( 'Huge performance improvements on sites using persistent caching.', 'buddypress' ); ?> <?php _e( ' ', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/"><?php esc_html_e( 'Learn more about the Groups Query rewrite.', 'buddypress' ); ?></a></p>
     620                    <p class="introduction"><?php
     621                        /* translators: %s: URL to the development post about this feature */
     622                        printf( __( 'Huge performance improvements on sites using persistent caching. <a href="%s">Learn more about the Groups Query rewrite</a>.', 'buddypress' ),
     623                        'https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/' );
     624                    ?></p>
    621625                </div>
    622626            </div>
     
    624628            <div class="bp-features-section">
    625629
    626                 <h3 class="headline-title"><?php esc_html_e( 'For Developers &amp; Site Administrators', 'buddypress' ); ?></h3>
     630                <h3 class="headline-title"><?php esc_html_e( 'For Developers &amp; Site Builders', 'buddypress' ); ?></h3>
    627631
    628632                <div class="bp-feature">
     
    635639                    <span class="dashicons dashicons-groups" aria-hidden="true"></span>
    636640                    <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4>
    637                     <p><?php esc_html_e( 'Enable developers to show Group Types in the front end as well as control where the group type information is rendered.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to implement this.', 'buddypress' ); ?></a></p>
     641                    <p><?php
     642                        /* translators: %s: URL to the BuddyPress Codex article */
     643                        printf( __( 'Enable developers to show Group Types on the front end as well as control where the group type information is rendered. <a href="%s">Learn how to implement this feature</a>.', 'buddypress' ),
     644                        'https://codex.buddypress.org/developer/group-types/' );
     645                    ?></p>
     646                </div>
     647
     648                <div class="bp-feature">
     649                    <span class="dashicons dashicons-admin-multisite" aria-hidden="true"></span>
     650                    <h4 class="feature-title"><?php esc_html_e( 'Use the Site Icon as Your Site&#8217;s Profile Photo', 'buddypress' ); ?></h4>
     651                    <p><?php
     652                        /* translators: %s: URL to the WordPress Codex article */
     653                        printf( __( 'BuddyPress sets the site admin&#8217;s profile photo as the default site profile photo on the Sites Directory page. You can now <a href="%s">use the Site Icon introduced in WordPress 4.3</a> instead.', 'buddypress' ),
     654                        'https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later' );
     655                    ?></p>
     656                </div>
     657
     658                <div class="bp-feature opposite">
     659                    <span class="dashicons dashicons-filter" aria-hidden="true"></span>
     660                    <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups Admin Screens', 'buddypress' ); ?></h4>
     661                    <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p>
    638662                </div>
    639663
     
    647671                    <span class="dashicons dashicons-email" aria-hidden="true"></span>
    648672                    <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4>
    649                     <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions through the new email tokens and unsuscribe links.', 'buddypress' ); ?></p>
    650                 </div>
    651 
    652                 <div class="bp-feature">
    653                     <span class="dashicons dashicons-filter" aria-hidden="true"></span>
    654                     <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups admin screens', 'buddypress' ); ?></h4>
    655                     <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p>
    656                 </div>
    657 
    658                 <div class="bp-feature opposite">
    659                     <span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
    660                     <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front-end and Back-end', 'buddypress' ); ?></h4>
    661                     <p><?php esc_html_e( 'Continued improvements for universal acceess help make BuddyPress&#39; back- and front-end screens usable for everyone &#40;and on more devices&#41;.', 'buddypress' ); ?></p>
     673                    <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions via new email tokens and unsubscribe links.', 'buddypress' ); ?></p>
    662674                </div>
    663675
     
    665677                    <span class="dashicons dashicons-admin-page" aria-hidden="true"></span>
    666678                    <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4>
    667                     <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages in the back end, is what you\'ll get as the heading in the front end.', 'buddypress' ); ?></p>
     679                    <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages on the back end, is what you&#8217;ll get as the heading on the front end.', 'buddypress' ); ?></p>
     680                </div>
     681
     682                <div class="bp-feature opposite">
     683                    <span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
     684                    <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front End and Back End', 'buddypress' ); ?></h4>
     685                    <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>
     686                </div>
     687
     688                <div class="bp-feature">
     689                    <span class="dashicons dashicons-screenoptions" aria-hidden="true"></span>
     690                    <h4 class="title"><?php
     691                        /* translators: %s: BP_Button */
     692                        printf( __( 'Refactored %s Class to Accept New Arguments', 'buddypress' ), '<code>BP_Button</code>' );
     693                    ?></h4>
     694                    <p><?php esc_html_e( 'Provides developers with improved syntax and more control over the rendering of buttons.', 'buddypress' ); ?></p>
    668695                </div>
    669696
    670697                <div class="bp-feature opposite">
    671698                    <span class="dashicons dashicons-image-filter" aria-hidden="true"></span>
    672                     <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group\'s Management Screens', 'buddypress' ); ?></h4>
    673                         <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p>
     699                    <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group&#8217;s Management Screens', 'buddypress' ); ?></h4>
     700                    <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p>
    674701                </div>
    675702
    676703                <div class="bp-feature">
    677704                    <span class="dashicons  dashicons-groups" aria-hidden="true"></span>
    678                     <h4 class="title"><?php esc_html_e( 'Support for Querying for Groups by New Column "parent_id"', 'buddypress' ); ?></h4>
    679                     <p><?php esc_html_e( 'Query support for hierarchical groups which allows developers to extend this with their own plugins to add custom front-end functionality as needed.', 'buddypress' ); ?></p>
     705                    <h4 class="title"><?php
     706                        /* translators: %s: parent_id */
     707                        printf( __( 'Support for Querying for Groups by New Column %s', 'buddypress' ), '<code>parent_id</code>' );
     708                    ?></h4>
     709                    <p><?php esc_html_e( 'Query support for hierarchical groups makes it much easier for developers to add custom front-end functionality.', 'buddypress' ); ?></p>
    680710                </div>
    681711
     
    683713                    <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span>
    684714                    <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4>
    685                     <p><?php esc_html_e( 'Improve performance by removing extra database queries, adding new cache calls, and removing the number of loops in "bp_get_user_groups()".', 'buddypress' ); ?></p>
     715                    <p><?php
     716                        /* translators: %s: bp_get_user_groups() */
     717                        printf( __( 'Improved performance by removing extra database queries, adding new cache calls, and removing the number of loops in %s.', 'buddypress' ), '<code>bp_get_user_groups()</code>' );
     718                    ?></p>
    686719                </div>
    687720
     
    692725            <div class="bp-changelog-section">
    693726                <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3>
    694                 <p class="bp-changelog-url"><a href="https://codex.buddypress.org/version-2-7-0/"><?php esc_html_e( 'Changelog for BuddyPress 2.7.0.', 'buddypress' ); ?></a></p>
     727                <p class="bp-changelog-url"><?php
     728                    /* translators: %s: URL to the BuddyPress Codex article */
     729                    printf( __( '<a href="%s">Changelog for BuddyPress 2.7.</a>', 'buddypress' ),
     730                    'https://codex.buddypress.org/releases/version-2-7-0/' );
     731                ?></p>
    695732
    696733            </div>
     
    842879                <a href="https://profiles.wordpress.org/herbovec/">herbovec</a>,
    843880                <a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
    844                 <a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes jdgrimes</a>,
     881                <a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes (jdgrimes)</a>,
    845882                <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
    846883                <a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
Note: See TracChangeset for help on using the changeset viewer.