<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][13185] trunk/src: Improve `/* translators:*/` comments consistency</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/13185">13185</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/13185","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>imath</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2021-12-12 15:14:40 +0000 (Sun, 12 Dec 2021)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Improve `/* translators:*/` comments consistency
Fixes <a href="http://buddypress.trac.wordpress.org/ticket/8575">#8575</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpfriendsbpfriendsblocksphp">trunk/src/bp-friends/bp-friends-blocks.php</a></li>
<li><a href="#trunksrcbpgroupsbpgroupsblocksphp">trunk/src/bp-groups/bp-groups-blocks.php</a></li>
<li><a href="#trunksrcbpgroupsbpgroupsfunctionsphp">trunk/src/bp-groups/bp-groups-functions.php</a></li>
<li><a href="#trunksrcbpgroupsbpgroupstemplatephp">trunk/src/bp-groups/bp-groups-template.php</a></li>
<li><a href="#trunksrcbpgroupsclassesclassbpgroupsgroupphp">trunk/src/bp-groups/classes/class-bp-groups-group.php</a></li>
<li><a href="#trunksrcbpmembersbpmembersblocksphp">trunk/src/bp-members/bp-members-blocks.php</a></li>
<li><a href="#trunksrcbpmembersbpmembersnotificationsphp">trunk/src/bp-members/bp-members-notifications.php</a></li>
<li><a href="#trunksrcbpmembersbpmemberstemplatephp">trunk/src/bp-members/bp-members-template.php</a></li>
<li><a href="#trunksrcbpmembersclassesclassbpmemberscomponentphp">trunk/src/bp-members/classes/class-bp-members-component.php</a></li>
<li><a href="#trunksrcbpmessagesbpmessagestemplatephp">trunk/src/bp-messages/bp-messages-template.php</a></li>
<li><a href="#trunksrcbpmessagesclassesclassbpmessagescomponentphp">trunk/src/bp-messages/classes/class-bp-messages-component.php</a></li>
<li><a href="#trunksrcbpnotificationsclassesclassbpnotificationscomponentphp">trunk/src/bp-notifications/classes/class-bp-notifications-component.php</a></li>
<li><a href="#trunksrcbptemplatesbpnouveaubuddypressmemberssinglegroupsinvitesphp">trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php</a></li>
<li><a href="#trunksrcjsbpfriendsjsfriendsjs">trunk/src/js/bp-friends/js/friends.js</a></li>
<li><a href="#trunksrcjsbpgroupsjsdynamicgroupsjs">trunk/src/js/bp-groups/js/dynamic-groups.js</a></li>
<li><a href="#trunksrcjsbpmembersjsdynamicmembersjs">trunk/src/js/bp-members/js/dynamic-members.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpfriendsbpfriendsblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-friends/bp-friends-blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-friends/bp-friends-blocks.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-friends/bp-friends-blocks.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -95,7 +95,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $link = trailingslashit( bp_core_get_user_domain( $user_id ) . bp_get_friends_slug() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s is the member's display name */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> $title = sprintf( __( '%s\'s Friends', 'buddypress' ), bp_core_get_user_displayname( $user_id ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Set the Block's title.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -164,7 +164,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: total friend count */
</span><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( _n( '%s friend', '%s friends', $user->total_friend_count, 'buddypress' ), number_format_i18n( $user->total_friend_count ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( __( 'Active %s', 'buddypress' ), bp_core_time_since( $user->last_activity ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcbpgroupsbpgroupsblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/bp-groups-blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/bp-groups-blocks.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-groups/bp-groups-blocks.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -439,7 +439,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s is the number of Group members */
</span><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( _n( '%s member', '%s members', $count, 'buddypress' ), bp_core_number_format( $count ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( __( 'Active %s', 'buddypress' ), bp_get_group_last_active( $group ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcbpgroupsbpgroupsfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/bp-groups-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/bp-groups-functions.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-groups/bp-groups-functions.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2266,6 +2266,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function groups_reject_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $membership_id ) ){
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: 1: the name of the method. 2: the name of the file. */
</ins><span class="cx" style="display: block; padding: 0 10px"> _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2303,7 +2304,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function groups_delete_membership_request( $membership_id, $user_id = 0, $group_id = 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $membership_id ) ){
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: 1: method name. 2: file name. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: 1: the name of the method. 2: the name of the file. */
</ins><span class="cx" style="display: block; padding: 0 10px"> _deprecated_argument( __METHOD__, '5.0.0', sprintf( __( 'Argument `membership_id` passed to %1$s is deprecated. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcbpgroupsbpgroupstemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/bp-groups-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/bp-groups-template.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-groups/bp-groups-template.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2222,7 +2222,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $count = (int) $group->total_member_count;
</span><span class="cx" style="display: block; padding: 0 10px"> $count_string = sprintf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // translators: %s: total member count for the group.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s is the number of Group members */
</ins><span class="cx" style="display: block; padding: 0 10px"> _n( '%s member', '%s members', $count, 'buddypress' ),
</span><span class="cx" style="display: block; padding: 0 10px"> bp_core_number_format( $count )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4079,6 +4079,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => $members_template->member->user_id,
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'full',
</span><span class="cx" style="display: block; padding: 0 10px"> 'email' => $members_template->member->user_email,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $members_template->member->display_name )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4121,6 +4122,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => $members_template->member->user_id,
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'thumb',
</span><span class="cx" style="display: block; padding: 0 10px"> 'email' => $members_template->member->user_email,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $members_template->member->display_name )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4165,6 +4167,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => $members_template->member->user_id,
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'thumb',
</span><span class="cx" style="display: block; padding: 0 10px"> 'email' => $members_template->member->user_email,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $members_template->member->display_name ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'width' => absint( $width ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'height' => absint( $height ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5776,7 +5779,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $value HTML markup for the user's avatar thumbnail.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- echo apply_filters( 'bp_group_request_user_avatar_thumb', bp_core_fetch_avatar( array( 'item_id' => $requests_template->request->user_id, 'type' => 'thumb', 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_core_get_user_displayname( $requests_template->request->user_id ) ) ) ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ echo apply_filters(
+ 'bp_group_request_user_avatar_thumb',
+ bp_core_fetch_avatar(
+ array(
+ 'item_id' => $requests_template->request->user_id,
+ 'type' => 'thumb',
+ /* translators: %s: member name */
+ 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_core_get_user_displayname( $requests_template->request->user_id ) )
+ )
+ )
+ );
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcbpgroupsclassesclassbpgroupsgroupphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-groups/classes/class-bp-groups-group.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-groups/classes/class-bp-groups-group.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-groups/classes/class-bp-groups-group.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -206,7 +206,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> __METHOD__,
</span><span class="cx" style="display: block; padding: 0 10px"> '1.6.0',
</span><span class="cx" style="display: block; padding: 0 10px"> sprintf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: 1: the name of the method. 2: the name of the file. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: 1: the name of the function. 2: the name of the file. */
</ins><span class="cx" style="display: block; padding: 0 10px"> esc_html__( '%1$s no longer accepts arguments. See the inline documentation at %2$s for more details.', 'buddypress' ),
</span><span class="cx" style="display: block; padding: 0 10px"> __METHOD__,
</span><span class="cx" style="display: block; padding: 0 10px"> __FILE__
</span></span></pre></div>
<a id="trunksrcbpmembersbpmembersblocksphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/bp-members-blocks.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/bp-members-blocks.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-members/bp-members-blocks.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -457,7 +457,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: total friend count */
</span><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( _n( '%s friend', '%s friends', $user->total_friend_count, 'buddypress' ), number_format_i18n( $user->total_friend_count ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> $extra = sprintf( __( 'Active %s', 'buddypress' ), bp_core_time_since( $user->last_activity ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcbpmembersbpmembersnotificationsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/bp-members-notifications.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/bp-members-notifications.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-members/bp-members-notifications.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -71,6 +71,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $link = bp_get_notifications_permalink();
</span><span class="cx" style="display: block; padding: 0 10px"> $amount = 'multiple';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %d: is the number of people who requested site membership */
</ins><span class="cx" style="display: block; padding: 0 10px"> $text = sprintf( __( '%d people have requested site membership.', 'buddypress' ), (int) $total_items );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $link = add_query_arg( array(
</span></span></pre></div>
<a id="trunksrcbpmembersbpmemberstemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/bp-members-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/bp-members-template.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-members/bp-members-template.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -860,7 +860,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'class' => 'avatar',
</span><span class="cx" style="display: block; padding: 0 10px"> 'id' => false,
</span><span class="cx" style="display: block; padding: 0 10px"> 'no_grav' => false,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // translators: %s is the full name of the user.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $fullname ),
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1671,6 +1671,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'width' => false,
</span><span class="cx" style="display: block; padding: 0 10px"> 'height' => false,
</span><span class="cx" style="display: block; padding: 0 10px"> 'html' => true,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_loggedin_user_fullname() )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1729,6 +1730,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'width' => false,
</span><span class="cx" style="display: block; padding: 0 10px"> 'height' => false,
</span><span class="cx" style="display: block; padding: 0 10px"> 'html' => true,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span></span></pre></div>
<a id="trunksrcbpmembersclassesclassbpmemberscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-members/classes/class-bp-members-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-members/classes/class-bp-members-component.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-members/classes/class-bp-members-component.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -706,6 +706,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $bp->bp_options_avatar = bp_core_fetch_avatar( array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => bp_displayed_user_id(),
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'thumb',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $bp->bp_options_title )
</span><span class="cx" style="display: block; padding: 0 10px"> ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcbpmessagesbpmessagestemplatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-messages/bp-messages-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-messages/bp-messages-template.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-messages/bp-messages-template.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -764,8 +764,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> global $messages_template;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $fullname = bp_core_get_user_displayname( $messages_template->thread->last_sender_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $alt = sprintf( __( 'Profile picture of %s', 'buddypress' ), $fullname );
</del><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
+ $alt = sprintf( __( 'Profile picture of %s', 'buddypress' ), $fullname );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $r = bp_parse_args(
</span><span class="cx" style="display: block; padding: 0 10px"> $args,
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span></span></pre></div>
<a id="trunksrcbpmessagesclassesclassbpmessagescomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-messages/classes/class-bp-messages-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-messages/classes/class-bp-messages-component.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-messages/classes/class-bp-messages-component.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -408,6 +408,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $bp->bp_options_avatar = bp_core_fetch_avatar( array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => bp_displayed_user_id(),
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'thumb',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
</span><span class="cx" style="display: block; padding: 0 10px"> ) );
</span><span class="cx" style="display: block; padding: 0 10px"> $bp->bp_options_title = bp_get_displayed_user_fullname();
</span></span></pre></div>
<a id="trunksrcbpnotificationsclassesclassbpnotificationscomponentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-notifications/classes/class-bp-notifications-component.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-notifications/classes/class-bp-notifications-component.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-notifications/classes/class-bp-notifications-component.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -292,6 +292,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $bp->bp_options_avatar = bp_core_fetch_avatar( array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'item_id' => bp_displayed_user_id(),
</span><span class="cx" style="display: block; padding: 0 10px"> 'type' => 'thumb',
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: member name */
</ins><span class="cx" style="display: block; padding: 0 10px"> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )
</span><span class="cx" style="display: block; padding: 0 10px"> ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcbptemplatesbpnouveaubuddypressmemberssinglegroupsinvitesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,7 +36,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="small">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> printf(
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s = number of members */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s is the number of Group members */
</ins><span class="cx" style="display: block; padding: 0 10px"> _n(
</span><span class="cx" style="display: block; padding: 0 10px"> '%s member',
</span><span class="cx" style="display: block; padding: 0 10px"> '%s members',
</span></span></pre></div>
<a id="trunksrcjsbpfriendsjsfriendsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/bp-friends/js/friends.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/bp-friends/js/friends.js 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/js/bp-friends/js/friends.js 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,7 +27,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( friends && friends.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> friends.forEach( ( friend ) => {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'active' === type && friend.last_activity ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> friend.extra = sprintf( __( 'Active %s', 'buddypress' ), friend.last_activity.timediff );
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( 'popular' === type && friend.total_friend_count ) {
</span><span class="cx" style="display: block; padding: 0 10px"> const friendsCount = parseInt( friend.total_friend_count, 10 );
</span></span></pre></div>
<a id="trunksrcjsbpgroupsjsdynamicgroupsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/bp-groups/js/dynamic-groups.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/bp-groups/js/dynamic-groups.js 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/js/bp-groups/js/dynamic-groups.js 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,11 +39,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( 1 === membersCount ) {
</span><span class="cx" style="display: block; padding: 0 10px"> group.extra = __( '1 member', 'buddypress' );
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s is the number of Group members (more than 1). */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s is the number of Group members */
</ins><span class="cx" style="display: block; padding: 0 10px"> group.extra = sprintf( __( '%s members', 'buddypress' ), group.total_member_count );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> group.extra = sprintf( __( 'Active %s', 'buddypress' ), group.last_activity_diff );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcjsbpmembersjsdynamicmembersjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/bp-members/js/dynamic-members.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/bp-members/js/dynamic-members.js 2021-12-12 14:09:02 UTC (rev 13184)
+++ trunk/src/js/bp-members/js/dynamic-members.js 2021-12-12 15:14:40 UTC (rev 13185)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,7 +29,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( members && members.length ) {
</span><span class="cx" style="display: block; padding: 0 10px"> members.forEach( ( member ) => {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'active' === type && member.last_activity ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: %s: a human time diff. */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
</ins><span class="cx" style="display: block; padding: 0 10px"> member.extra = sprintf( __( 'Active %s', 'buddypress' ), member.last_activity.timediff );
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( 'popular' === type && member.total_friend_count ) {
</span><span class="cx" style="display: block; padding: 0 10px"> const friendsCount = parseInt( member.total_friend_count, 10 );
</span></span></pre>
</div>
</div>
</body>
</html>