Changeset 12595
- Timestamp:
- 03/28/2020 01:49:36 PM (5 years ago)
- Location:
- trunk/src/bp-templates
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r12371 r12595 311 311 'show_all' => __( 'Show all', 'buddypress' ), 312 312 'show_all_comments' => __( 'Show all comments for this thread', 'buddypress' ), 313 314 /* translators: %s: number of activity comments */ 313 315 'show_x_comments' => __( 'Show all comments (%d)', 'buddypress' ), 314 316 'unsaved_changes' => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ), … … 1393 1395 1394 1396 if ( 'is_pending' == $user_status ) { 1397 /* translators: %s: user link */ 1395 1398 echo '<p class="description">' . sprintf( __( '%s has previously requested to join this group. Sending an invitation will automatically add the member to the group.', 'buddypress' ), $user->user_link ) . '</p>'; 1396 1399 } -
trunk/src/bp-templates/bp-legacy/buddypress/activity/entry.php
r12082 r12595 66 66 <?php if ( bp_activity_can_comment() ) : ?> 67 67 68 <a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); ?></a> 68 <a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"> 69 <?php 70 /* translators: %s: number of activity comments */ 71 printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); 72 ?> 73 </a> 69 74 70 75 <?php endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php
r12082 r12595 57 57 do_action( 'bp_before_activity_type_tab_all' ); ?> 58 58 59 <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li> 59 <li class="selected" id="activity-all"> 60 <a href="<?php bp_activity_directory_permalink(); ?>"> 61 <?php 62 /* translators: %s: number of members */ 63 printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); 64 ?> 65 </a> 66 </li> 60 67 61 68 <?php if ( is_user_logged_in() ) : ?> … … 74 81 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 75 82 76 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 83 <li id="activity-friends"> 84 <a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>"> 85 <?php 86 /* translators: %s: number of friends */ 87 printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); 88 ?> 89 </a> 90 </li> 77 91 78 92 <?php endif; ?> … … 98 112 esc_url( bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/' ), 99 113 sprintf( 100 /* translators: %s: total joined groups count for the current user*/114 /* translators: %s: current user groups count */ 101 115 __( 'My Groups %s', 'buddypress' ), 102 116 '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' … … 120 134 <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> 121 135 122 <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 136 <li id="activity-favorites"> 137 <a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>"> 138 <?php 139 /* translators: %s: number of favorites */ 140 printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); 141 ?> 142 </a> 143 </li> 123 144 124 145 <?php endif; ?> … … 135 156 do_action( 'bp_before_activity_type_tab_mentions' ); ?> 136 157 137 <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li> 158 <li id="activity-mentions"> 159 <a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>"> 160 <?php _e( 'Mentions', 'buddypress' ); ?> 161 <?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> 162 163 <strong> 164 <span> 165 <?php 166 /* translators: %s: new mentions count */ 167 printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); 168 ?> 169 </span> 170 </strong> 171 <?php endif; ?> 172 </a> 173 </li> 138 174 139 175 <?php endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php
r12082 r12595 27 27 </div> 28 28 29 <p class="activity-greeting"><?php if ( bp_is_group() ) 30 printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); 31 else 32 printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); 33 ?></p> 29 <p class="activity-greeting"> 30 <?php 31 if ( bp_is_group() ) { 32 /* translators: 1: group name. 2: member name. */ 33 printf( __( 'What\'s new in %1$s, %2$s?', 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); 34 } else { 35 /* translators: %s: member name */ 36 printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) ); 37 } 38 ?> 39 </p> 34 40 35 41 <div id="whats-new-content"> -
trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php
r12082 r12595 61 61 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation"> 62 62 <ul> 63 <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li> 63 <li class="selected" id="blogs-all"> 64 <a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"> 65 <?php 66 /* translators: %s: all blogs count */ 67 printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?> 68 </a> 69 </li> 64 70 65 71 <?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?> 66 72 67 <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>"><?php printf( __( 'My Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 73 <li id="blogs-personal"> 74 <a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>"> 75 <?php 76 /* translators: %s: current user blogs count */ 77 printf( __( 'My Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?> 78 </a> 79 </li> 68 80 69 81 <?php endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php
r12082 r12595 60 60 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>"> 61 61 <ul> 62 <li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); ?></a></li> 62 <li class="selected" id="groups-all"> 63 <a href="<?php bp_groups_directory_permalink(); ?>"> 64 <?php 65 /* translators: %s: all groups count */ 66 printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); 67 ?> 68 </a> 69 </li> 63 70 64 71 <?php if ( is_user_logged_in() && bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> 65 <li id="groups-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/my-groups/'; ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 72 <li id="groups-personal"> 73 <a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/my-groups/'; ?>"> 74 <?php 75 /* translators: %s: current user groups count */ 76 printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); 77 ?> 78 </a> 79 </li> 66 80 <?php endif; ?> 67 81 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php
r12156 r12595 22 22 echo esc_html( 23 23 sprintf( 24 /* translators: %s =group name */24 /* translators: %s: group name */ 25 25 __( 'You are requesting to become a member of the group "%s".', 'buddypress' ), 26 26 bp_get_group_name() -
trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php
r12082 r12595 45 45 <p><?php _e( 'Your account was activated successfully! Your account details have been sent to you in a separate email.', 'buddypress' ); ?></p> 46 46 <?php else : ?> 47 <p><?php printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), wp_login_url( bp_get_root_domain() ) ); ?></p> 47 <p> 48 <?php 49 /* translators: %s: login url */ 50 printf( __( 'Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.', 'buddypress' ), wp_login_url( bp_get_root_domain() ) ); 51 ?> 52 </p> 48 53 <?php endif; ?> 49 54 -
trunk/src/bp-templates/bp-legacy/buddypress/members/register.php
r12082 r12595 188 188 <?php 189 189 printf( 190 /* translators: %s: level of visibility */ 190 191 __( 'This field can be seen by: %s', 'buddypress' ), 191 192 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php
r12082 r12595 33 33 <?php endif; ?> 34 34 35 <h4><?php bp_group_link(); ?><span class="small"> - <?php printf( _nx( '%d member', '%d members', bp_get_group_total_members( false ),'Group member count', 'buddypress' ), bp_get_group_total_members( false ) ); ?></span></h4> 35 <h4> 36 <?php bp_group_link(); ?> 37 <span class="small"> 38 - 39 <?php 40 /* translators: %s: group members count */ 41 printf( _nx( '%d member', '%d members', bp_get_group_total_members( false ),'Group member count', 'buddypress' ), bp_get_group_total_members( false ) ); 42 ?> 43 </span> 44 </h4> 36 45 37 46 <p class="desc"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php
r12082 r12595 33 33 <?php elseif ( bp_get_max_thread_recipients_to_list() <= bp_get_thread_recipients_count() ) : ?> 34 34 35 <?php printf( __( 'Conversation between %s recipients.', 'buddypress' ), number_format_i18n( bp_get_thread_recipients_count() ) ); ?> 35 <?php 36 /* translators: %s: message recipients count */ 37 printf( __( 'Conversation between %s recipients.', 'buddypress' ), number_format_i18n( bp_get_thread_recipients_count() ) ); 38 ?> 36 39 37 40 <?php else : ?> 38 41 39 <?php printf( __( 'Conversation between %s.', 'buddypress' ), bp_get_thread_recipients_list() ); ?> 42 <?php 43 /* translators: %s: message recipients list */ 44 printf( __( 'Conversation between %s.', 'buddypress' ), bp_get_thread_recipients_list() ); 45 ?> 40 46 41 47 <?php endif; ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
r12082 r12595 25 25 do_action( 'bp_before_profile_field_content' ); ?> 26 26 27 <h2><?php printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> 27 <h2> 28 <?php 29 /* translators: %s: profile group name */ 30 printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); 31 ?> 32 </h2> 28 33 29 34 <?php if ( bp_profile_has_multiple_groups() ) : ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/data.php
r12272 r12595 22 22 23 23 <p><?php esc_html_e( 'Your request for an export of personal data has been completed.', 'buddypress' ); ?></p> 24 <p><?php printf( esc_html__( 'You may download your personal data by clicking on the link below. For privacy and security, we will automatically delete the file on %s, so please download it before then.', 'buddypress' ), bp_settings_get_personal_data_expiration_date( $request ) ); ?></p> 24 <p> 25 <?php 26 /* translators: %s: expiration date */ 27 printf( esc_html__( 'You may download your personal data by clicking on the link below. For privacy and security, we will automatically delete the file on %s, so please download it before then.', 'buddypress' ), bp_settings_get_personal_data_expiration_date( $request ) ); 28 ?> 29 </p> 25 30 26 31 <p><strong><?php printf( '<a href="%1$s">%2$s</a>', bp_settings_get_personal_data_export_url( $request ), esc_html__( 'Download personal data', 'buddypress' ) ); ?></strong></p> … … 40 45 <?php elseif ( 'request-confirmed' === $request->status ) : ?> 41 46 42 <p><?php printf( esc_html__( 'You previously requested an export of your personal data on %s.', 'buddypress' ), bp_settings_get_personal_data_confirmation_date( $request ) ); ?></p> 47 <p> 48 <?php 49 /* translators: %s: confirmation date */ 50 printf( esc_html__( 'You previously requested an export of your personal data on %s.', 'buddypress' ), bp_settings_get_personal_data_confirmation_date( $request ) ); 51 ?> 52 </p> 43 53 <p><?php esc_html_e( 'You will receive a link to download your export via email once we are able to fulfill your request.', 'buddypress' ); ?></p> 44 54 -
trunk/src/bp-templates/bp-nouveau/buddypress-functions.php
r12558 r12595 426 426 'ajaxurl' => bp_core_ajax_url(), 427 427 'confirm' => __( 'Are you sure?', 'buddypress' ), 428 429 /* translators: %s: number of activity comments */ 428 430 'show_x_comments' => __( 'Show all %d comments', 'buddypress' ), 429 431 'unsaved_changes' => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ), -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/groups-loop.php
r12156 r12595 48 48 <?php 49 49 printf( 50 /* translators: %s =last activity timestamp (e.g. "active 1 hour ago") */50 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 51 51 __( 'active %s', 'buddypress' ), 52 52 bp_get_group_last_active() -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
r12215 r12595 28 28 <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"> 29 29 <?php 30 /* translators: %s =last activity timestamp (e.g. "active 1 hour ago") */30 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 31 31 printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); 32 32 ?> -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/default-front.php
r12215 r12595 19 19 <?php 20 20 printf( 21 /* translators: 1: link to the customizer option. 2: link to the customizer widgets section. */ 21 22 esc_html__( 'You can set your preferences for the %1$s or add %2$s to it.', 'buddypress' ), 22 23 bp_nouveau_groups_get_customizer_option_link(), -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/group-header.php
r12215 r12595 28 28 echo esc_html( 29 29 sprintf( 30 /* translators: %s =last activity timestamp (e.g. "active 1 hour ago") */30 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 31 31 __( 'active %s', 'buddypress' ), 32 32 bp_get_group_last_active() -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php
r12473 r12595 14 14 echo esc_html( 15 15 sprintf( 16 /* translators: %s =group name */16 /* translators: %s: group name */ 17 17 __( 'You are requesting to become a member of the group "%s".', 'buddypress' ), 18 18 bp_get_group_name() -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/default-front.php
r12156 r12595 17 17 <?php 18 18 printf( 19 /* translators: 1: link to the customizer option. 2: link to the customizer widgets section. */ 19 20 esc_html__( 'You can set the preferences of the %1$s or add %2$s to it.', 'buddypress' ), 20 21 bp_nouveau_members_get_customizer_option_link(), -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/general.php
r12397 r12595 21 21 <?php if ( ! is_super_admin() ) : ?> 22 22 23 <label for="pwd"><?php printf( esc_html__( 'Current Password %s', 'buddypress' ), '<span>' . esc_html__( '(required to update email or change current password)', 'buddypress' ) . '</span>' ); ?></label> 23 <label for="pwd"> 24 <?php 25 /* translators: %s: email requirement explanations */ 26 printf( esc_html__( 'Current Password %s', 'buddypress' ), '<span>' . esc_html__( '(required to update email or change current password)', 'buddypress' ) . '</span>' ); 27 ?> 28 </label> 24 29 <input type="password" name="pwd" id="pwd" value="" size="24" class="settings-input small" <?php bp_form_field_attributes( 'password' ); ?>/> <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>"><?php esc_html_e( 'Lost your password?', 'buddypress' ); ?></a> 25 30 -
trunk/src/bp-templates/bp-nouveau/includes/activity/functions.php
r12358 r12595 90 90 'user_domain' => bp_loggedin_user_domain(), 91 91 'avatar_alt' => sprintf( 92 /* translators: %s =member name */92 /* translators: %s: member name */ 93 93 __( 'Profile photo of %s', 'buddypress' ), 94 94 $user_displayname -
trunk/src/bp-templates/bp-nouveau/includes/functions.php
r12537 r12595 1040 1040 'member-wp-profile-none' => array( 1041 1041 'type' => 'info', 1042 /* translators: %s: member name */ 1042 1043 'message' => __( '%s did not save any profile information yet.', 'buddypress' ), 1043 1044 ), -
trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php
r12439 r12595 159 159 'invites_form_reset' => __( 'Group invitations cleared. Please use one of the available tabs to select members to invite.', 'buddypress' ), 160 160 'invites_sending' => __( 'Sending group invitations. Please wait.', 'buddypress' ), 161 162 /* translators: %s: member name */ 161 163 'removeUserInvite' => __( 'Cancel invitation %s', 'buddypress' ), 162 164 'group_id' => ! bp_get_current_group_id() ? bp_get_new_group_id() : bp_get_current_group_id(), -
trunk/src/bp-templates/bp-nouveau/includes/messages/functions.php
r12184 r12595 113 113 'toOthers' => array( 114 114 'one' => __( '(and 1 other)', 'buddypress' ), 115 116 /* translators: %s: number of message recipients */ 115 117 'more' => __( '(and %d others)', 'buddypress' ), 116 118 ),
Note: See TracChangeset
for help on using the changeset viewer.