Changeset 11374
- Timestamp:
- 01/05/2017 09:23:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-admin.php
r11371 r11374 226 226 <?php endforeach; else : ?> 227 227 228 <div id="message" class="error"><p><?php _e ( 'You have nogroups.', 'buddypress' ); ?></p></div>229 <p><a href="users.php?page=bp-profile-setup&mode=add_group"><?php _e ( 'Add NewGroup', 'buddypress' ); ?></a></p>228 <div id="message" class="error"><p><?php _ex( 'You have no groups.', 'You have no profile fields groups.', 'buddypress' ); ?></p></div> 229 <p><a href="users.php?page=bp-profile-setup&mode=add_group"><?php _ex( 'Add New Group', 'Add New Profile Fields Group', 'buddypress' ); ?></a></p> 230 230 231 231 <?php endif; ?> … … 316 316 317 317 if ( !$group->delete() ) { 318 $message = _ _( 'There was an error deleting the group. Please try again.', 'buddypress' );318 $message = _x( 'There was an error deleting the group. Please try again.', 'Error when deleting profile fields group', 'buddypress' ); 319 319 $type = 'error'; 320 320 } else { 321 $message = _ _( 'The group was deleted successfully.', 'buddypress' );321 $message = _x( 'The group was deleted successfully.', 'Profile fields group was deleted successfully', 'buddypress' ); 322 322 $type = 'success'; 323 323 … … 464 464 * 465 465 * @global string $message The feedback message to show. 466 * @global $type The type of feedback message to show.466 * @global string $type The type of feedback message to show. 467 467 * 468 468 * @param int $field_id The field to delete. … … 632 632 633 633 <div class="actions"> 634 <a class="button edit" href="<?php echo esc_url( $field_edit_url ); ?>"><?php _e ( 'Edit', 'buddypress' ); ?></a>634 <a class="button edit" href="<?php echo esc_url( $field_edit_url ); ?>"><?php _ex( 'Edit', 'Edit field link', 'buddypress' ); ?></a> 635 635 636 636 <?php if ( $field->can_delete ) : ?> 637 637 638 638 <div class="delete-button"> 639 <a class="confirm submit-delete deletion" href="<?php echo esc_url( $field_delete_url ); ?>"><?php _e ( 'Delete', 'buddypress' ); ?></a>639 <a class="confirm submit-delete deletion" href="<?php echo esc_url( $field_delete_url ); ?>"><?php _ex( 'Delete', 'Delete field link', 'buddypress' ); ?></a> 640 640 </div> 641 641
Note: See TracChangeset
for help on using the changeset viewer.