Skip to:
Content

BuddyPress.org

Changeset 13938


Ignore:
Timestamp:
06/24/2024 05:52:06 PM (8 months ago)
Author:
imath
Message:

Adds missing /* translators */ inline comments

Fixes #9198
Closes https://github.com/buddypress/buddypress/pull/321

Location:
trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/deprecated/2.8.php

    r13911 r13938  
    144144        $p,
    145145        esc_html__( 'A BuddyPress update is available, but your system is not compatible.', 'buddypress' ) . ' ' .
    146         sprintf( esc_html__( 'See %s for more information.', 'buddypress' ), '<a href="https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/">' . esc_html__( 'the Codex guide', 'buddypress' ) . '</a>' )
     146        sprintf(
     147            /* translators: %s: the documentation page link giving more information */
     148            esc_html__( 'See %s for more information.', 'buddypress' ),
     149            '<a href="https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/">' . esc_html__( 'the Codex guide', 'buddypress' ) . '</a>'
     150        )
    147151    );
    148152
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/comment.php

    r13822 r13938  
    2727    <div class="acomment-meta">
    2828        <?php
    29             /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: ISO8601 timestamp, 5: activity relative timestamp */
    3029            printf(
     30                /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: ISO8601 timestamp, 5: activity relative timestamp */
    3131                esc_html__( '%1$s replied %2$s', 'buddypress' ),
    3232                '<a href="' . esc_url( bp_get_activity_comment_user_link() ) . '">' . esc_html( bp_get_activity_comment_name() ) . '</a>',
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php

    r13822 r13938  
    3030        <?php
    3131        if ( bp_is_group() ) {
    32             /* translators: 1: group name. 2: member name. */
    3332            printf(
     33                /* translators: 1: group name. 2: member name. */
    3434                esc_html__( 'What\'s new in %1$s, %2$s?', 'buddypress' ),
    3535                esc_html( bp_get_group_name() ),
     
    3737            );
    3838        } else {
    39             /* translators: %s: member name */
    4039            printf(
     40                /* translators: %s: member name */
    4141                esc_html__( "What's new, %s?", 'buddypress' ),
    4242                esc_html( bp_get_user_firstname( bp_get_loggedin_user_fullname() ) )
  • trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php

    r13822 r13938  
    4747                <p>
    4848                    <?php
    49                     /* translators: %s: login url */
    5049                    printf(
     50                        /* translators: %s: login url */
    5151                        esc_html__( 'Your account was activated successfully! You can now %s with the username and password you provided when you signed up.', 'buddypress' ),
    5252                        '<a href="'. esc_url( wp_login_url( bp_get_root_url() ) ) . '">' . esc_html__( 'log in', 'buddypress' ) . '</a>'
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php

    r13822 r13938  
    2626        <?php
    2727        printf(
     28            /* Translators: %s is used to output the link to the Gravatar site */
    2829            esc_html__( 'Your profile photo will be used on your profile and throughout the site. If there is a %s associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ),
    2930            '<a href="http://gravatar.com">Gravatar</a>'
     
    9596        <?php
    9697        printf(
     98            /* Translators: %s is used to output the link to the Gravatar site */
    9799            esc_html__( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, please create an account with %s using the same email address as you used to register with this site.', 'buddypress' ),
    98100            '<a href="https://gravatar.com">Gravatar</a>'
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

    r13860 r13938  
    3535    <input type="email" name="email" id="email" value="<?php echo esc_attr( bp_get_displayed_user_email() ); ?>" class="settings-input" <?php bp_form_field_attributes( 'email' ); ?>/>
    3636
    37     <label for="pass1"><?php printf( esc_html__( 'Change Password %s', 'buddypress' ), '<span>' . esc_html__( '(leave blank for no change)', 'buddypress' ) . '</span>' ); ?></label>
     37    <label for="pass1">
     38        <?php
     39        /* translators: %s: Information about how to keep password unchanged. */
     40        printf( esc_html__( 'Change Password %s', 'buddypress' ), '<span>' . esc_html__( '(leave blank for no change)', 'buddypress' ) . '</span>' );
     41        ?>
     42    </label>
    3843    <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small password-entry" <?php bp_form_field_attributes( 'password' ); ?>/>
    3944    <div id="pass-strength-result"></div>
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php

    r13443 r13938  
    2323        <label for="pwd">
    2424            <?php
    25             /* translators: %s: email requirement explanations */
     25            /* translators: %s: the required text information. */
    2626            printf( esc_html__( 'Current Password %s', 'buddypress' ), '<span>' . esc_html__( '(required to update email or change current password)', 'buddypress' ) . '</span>' );
    2727            ?>
Note: See TracChangeset for help on using the changeset viewer.