Changeset 12591 for trunk/src/bp-members/classes/class-bp-members-admin.php
- Timestamp:
- 03/28/2020 01:41:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/classes/class-bp-members-admin.php
r12554 r12591 843 843 add_meta_box( 844 844 'bp_members_admin_user_stats', 845 sprintf( _x( "%s's Stats", 'members user-admin edit screen', 'buddypress' ), $display_name ), 845 sprintf( 846 /* translators: %s: member name */ 847 _x( "%s's Stats", 'members user-admin edit screen', 'buddypress' ), 848 $display_name 849 ), 846 850 array( $this, 'user_admin_stats_metabox' ), 847 851 $screen_id, … … 1139 1143 $date = date_i18n( $datef, strtotime( $user->user_registered ) ); 1140 1144 ?> 1141 <span id="timestamp"><?php printf( __( 'Registered on: %s', 'buddypress' ), '<strong>' . $date . '</strong>' ); ?></span> 1145 <span id="timestamp"> 1146 <?php 1147 /* translators: %s: registration date */ 1148 printf( __( 'Registered on: %s', 'buddypress' ), '<strong>' . $date . '</strong>' ); 1149 ?> 1150 </span> 1142 1151 </div> 1143 1152 </div> <!-- #misc-publishing-actions --> … … 1169 1178 public function user_admin_spammer_metabox( $user = null ) { 1170 1179 ?> 1171 <p><?php printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ) ;?></p> 1180 <p> 1181 <?php 1182 /* translators: %s: member name */ 1183 printf( __( '%s has been marked as a spammer. All BuddyPress data associated with the user has been removed', 'buddypress' ), esc_html( bp_core_get_user_displayname( $user->ID ) ) ); 1184 ?> 1185 </p> 1172 1186 <?php 1173 1187 } … … 1200 1214 1201 1215 <ul> 1202 <li class="bp-members-profile-stats"><?php printf( __( 'Last active: %1$s', 'buddypress' ), '<strong>' . $date . '</strong>' ); ?></li> 1216 <li class="bp-members-profile-stats"> 1217 <?php 1218 /* translators: %s: date */ 1219 printf( __( 'Last active: %1$s', 'buddypress' ), '<strong>' . $date . '</strong>' ); 1220 ?> 1221 </li> 1203 1222 1204 1223 <?php … … 1542 1561 } 1543 1562 1544 $url = add_query_arg( 'page', 'bp-signups', $base_url ); 1545 $text = sprintf( _x( 'Pending %s', 'signup users', 'buddypress' ), '<span class="count">(' . number_format_i18n( $signups ) . ')</span>' ); 1563 $url = add_query_arg( 'page', 'bp-signups', $base_url ); 1564 1565 /* translators: %s: number of pending accounts */ 1566 $text = sprintf( _x( 'Pending %s', 'signup users', 'buddypress' ), '<span class="count">(' . number_format_i18n( $signups ) . ')</span>' ); 1546 1567 1547 1568 $views['registered'] = sprintf( '<a href="%1$s" class="%2$s">%3$s</a>', esc_url( $url ), $class, $text ); … … 1812 1833 if ( ! empty( $_REQUEST['resent'] ) ) { 1813 1834 $notice['message'] .= sprintf( 1835 /* translators: %s: number of activation emails sent */ 1814 1836 _nx( '%s activation email successfully sent! ', '%s activation emails successfully sent! ', 1815 1837 absint( $_REQUEST['resent'] ), … … 1823 1845 if ( ! empty( $_REQUEST['notsent'] ) ) { 1824 1846 $notice['message'] .= sprintf( 1847 /* translators: %s: number of unsent activation emails */ 1825 1848 _nx( '%s activation email was not sent.', '%s activation emails were not sent.', 1826 1849 absint( $_REQUEST['notsent'] ), … … 1846 1869 if ( ! empty( $_REQUEST['activated'] ) ) { 1847 1870 $notice['message'] .= sprintf( 1871 /* translators: %s: number of activated accounts */ 1848 1872 _nx( '%s account successfully activated! ', '%s accounts successfully activated! ', 1849 1873 absint( $_REQUEST['activated'] ), … … 1857 1881 if ( ! empty( $_REQUEST['notactivated'] ) ) { 1858 1882 $notice['message'] .= sprintf( 1883 /* translators: %s: number of accounts not activated */ 1859 1884 _nx( '%s account was not activated.', '%s accounts were not activated.', 1860 1885 absint( $_REQUEST['notactivated'] ), … … 1880 1905 if ( ! empty( $_REQUEST['deleted'] ) ) { 1881 1906 $notice['message'] .= sprintf( 1907 /* translators: %s: number of deleted signups */ 1882 1908 _nx( '%s sign-up successfully deleted!', '%s sign-ups successfully deleted!', 1883 1909 absint( $_REQUEST['deleted'] ), … … 1891 1917 if ( ! empty( $_REQUEST['notdeleted'] ) ) { 1892 1918 $notice['message'] .= sprintf( 1919 /* translators: %s: number of deleted signups not deleted */ 1893 1920 _nx( '%s sign-up was not deleted.', '%s sign-ups were not deleted.', 1894 1921 absint( $_REQUEST['notdeleted'] ), … … 2289 2316 2290 2317 <p class="description"> 2291 <?php printf( esc_html__( 'Last notified: %s', 'buddypress'), $last_notified ) ;?> 2318 <?php 2319 /* translators: %s: notification date */ 2320 printf( esc_html__( 'Last notified: %s', 'buddypress'), $last_notified ); 2321 ?> 2292 2322 2293 2323 <?php if ( ! empty( $signup->recently_sent ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.