Skip to:
Content

BuddyPress.org

Changeset 12268

Timestamp:
11/02/2018 11:10:17 AM (6 years ago)
Author:
djpaul
Message:

Admin, Hello screen: fix translations.

Fixes #7985

Thanks to @imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r12174 r12268  
    626626            <div class="bp-hello-header" role="document">
    627627                <div class="bp-hello-close">
    628                     <button type="button" class="close-modal button bp-tooltip" data-bp-tooltip="<?php echo esc_attr( 'Close pop-up', 'buddypress' ); ?>">
     628                    <button type="button" class="close-modal button bp-tooltip" data-bp-tooltip="<?php e( 'Close pop-up', 'buddypress' ); ?>">
    629629                        <span class="screen-reader-text"><?php esc_html_e( 'Close pop-up', 'buddypress' ); ?></span>
    630630                    </button>
     
    632632
    633633                <div class="bp-hello-title">
    634                     <h1 id="bp-hello-title" tabindex="-1"><?php esc_html_e( _x( 'New in BuddyPress', 'section heading', 'buddypress' ) ); ?></h1>
     634                    <h1 id="bp-hello-title" tabindex="-1"><?php e( _x( 'New in BuddyPress', 'section heading', 'buddypress' ) ); ?></h1>
    635635                </div>
    636636            </div>
    637637
    638638            <div class="bp-hello-content">
    639                 <h2><?php esc_html_e( __( 'Say hello to &ldquo;Nouveau&rdquo;!', 'buddypress' ) ); ?></h2>
     639                <h2><?php e( __( 'Say hello to &ldquo;Nouveau&rdquo;!', 'buddypress' ) ); ?></h2>
    640640                <p>
    641641                    <?php
     
    658658                <?php echo $GLOBALS['wp_embed']->autoembed( 'https://player.vimeo.com/video/270507360' ); ?>
    659659
    660                 <h2><?php esc_html_e( __( 'Support for WP-CLI', 'buddypress' ) ); ?></h2>
     660                <h2><?php esc_html_e( ); ?></h2>
    661661                <p>
    662662                    <?php
     
    668668                </p>
    669669
    670                 <h2><?php esc_html_e( _x( 'Control site-wide notices from your dashboard', 'section heading', 'buddypress' ) ); ?></h2>
     670                <h2><?php e( _x( 'Control site-wide notices from your dashboard', 'section heading', 'buddypress' ) ); ?></h2>
    671671                <p><?php esc_html_e( 'Site Notices are a feature within the Private Messaging component that allows community managers to share important messages with all members of their community. With Nouveau, the management interface for Site Notices has been removed from the front-end theme templates.', 'buddypress' ); ?></p>
    672672
     
    682682                <?php endif; ?>
    683683
    684                 <h2><?php esc_html_e( __( 'New profile field type: telephone numbers', 'buddypress' ) ); ?></h2>
     684                <h2><?php esc_html_e( ); ?></h2>
    685685                <p><?php esc_html_e( 'A new telephone number field type has been added to the Extended Profiles component, with support for all international number formats. With a modern web browser, your members can use this field type to touch-to-dial a number directly.', 'buddypress' ); ?></p>
    686686
    687                 <h2><?php esc_html_e( __( "BuddyPress: leaner, faster, stronger", 'buddypress' ) ); ?></h2>
     687                <h2><?php esc_html_e( ); ?></h2>
    688688                <p><?php esc_html_e( 'With every BuddyPress version, we strive to make performance improvements alongside new features and fixes; this version is no exception. Memory use has been optimised &mdash; within active components, we now only load each individual code file when it\'s needed, not before.', 'buddypress' ); ?></p>
    689689                <p>
     
    706706                </em></p>
    707707
    708                 <h2><?php esc_html_e( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
     708                <h2><?php e( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
    709709                <p>
    710710                    <?php
Note: See TracChangeset for help on using the changeset viewer.