Changeset 391 for trunk/bp-xprofile/bp-xprofile-admin.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-admin.php
r166 r391 32 32 <div class="wrap"> 33 33 34 <h2><?php _e("Profile Settings" ) ?></h2>34 <h2><?php _e("Profile Settings", 'buddypress') ?></h2> 35 35 <br /> 36 36 <p><?php _e('Your users will distinguish themselves through their profile page. 37 37 You must give them profile fields that allow them to describe themselves 38 in a way that is relevant to the theme of your social network.' ) ?></p>39 40 <p><?php _e('NOTE: Fields in the \'Basic\' group appear on the signup page.' ); ?></p>38 in a way that is relevant to the theme of your social network.', 'buddypress') ?></p> 39 40 <p><?php _e('NOTE: Fields in the \'Basic\' group appear on the signup page.', 'buddypress'); ?></p> 41 41 42 42 <?php … … 147 147 148 148 if ( !$group->save() ) { 149 $message = __('There was an error saving the group. Please try again' );149 $message = __('There was an error saving the group. Please try again', 'buddypress'); 150 150 $type = 'error'; 151 151 } else { 152 $message = __('The group was saved successfully.' );152 $message = __('The group was saved successfully.', 'buddypress'); 153 153 $type = 'success'; 154 154 } … … 177 177 178 178 if ( !$group->delete() ) { 179 $message = __('There was an error deleting the group. Please try again' );179 $message = __('There was an error deleting the group. Please try again', 'buddypress'); 180 180 $type = 'error'; 181 181 } else { 182 $message = __('The group was deleted successfully.' );182 $message = __('The group was deleted successfully.', 'buddypress'); 183 183 $type = 'success'; 184 184 } … … 211 211 212 212 if ( !$field->save() ) { 213 $message = __('There was an error saving the field. Please try again' );213 $message = __('There was an error saving the field. Please try again', 'buddypress'); 214 214 $type = 'error'; 215 215 … … 217 217 xprofile_admin($message, $type); 218 218 } else { 219 $message = __('The field was saved successfully.' );219 $message = __('The field was saved successfully.', 'buddypress'); 220 220 $type = 'success'; 221 221 … … 243 243 244 244 if ( $type == 'field' ) { 245 $type = __('field' );246 } else { 247 $type = __('option' );245 $type = __('field', 'buddypress'); 246 } else { 247 $type = __('option', 'buddypress'); 248 248 } 249 249 … … 251 251 252 252 if ( !$field->delete() ) { 253 $message = sprintf( __('There was an error deleting the %s. Please try again' ), $type);253 $message = sprintf( __('There was an error deleting the %s. Please try again', 'buddypress'), $type); 254 254 $type = 'error'; 255 255 } else { 256 $message = sprintf( __('The %s was deleted successfully!' ), $type);256 $message = sprintf( __('The %s was deleted successfully!', 'buddypress'), $type); 257 257 $type = 'success'; 258 258 }
Note: See TracChangeset
for help on using the changeset viewer.