Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/12/2008 08:19:04 PM (17 years ago)
Author:
apeatling
Message:

Added the 'buddypress' textdomain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-admin.php

    r166 r391  
    3232    <div class="wrap">
    3333       
    34         <h2><?php _e("Profile Settings") ?></h2>
     34        <h2><?php _e("Profile Settings", 'buddypress') ?></h2>
    3535        <br />
    3636        <p><?php _e('Your users will distinguish themselves through their profile page.
    3737           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>
    4141       
    4242        <?php
     
    147147           
    148148            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');
    150150                $type = 'error';
    151151            } else {
    152                 $message = __('The group was saved successfully.');
     152                $message = __('The group was saved successfully.', 'buddypress');
    153153                $type = 'success';
    154154            }
     
    177177   
    178178    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');
    180180        $type = 'error';
    181181    } else {
    182         $message = __('The group was deleted successfully.');
     182        $message = __('The group was deleted successfully.', 'buddypress');
    183183        $type = 'success';
    184184    }
     
    211211           
    212212            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');
    214214                $type = 'error';
    215215               
     
    217217                xprofile_admin($message, $type);
    218218            } else {
    219                 $message = __('The field was saved successfully.');
     219                $message = __('The field was saved successfully.', 'buddypress');
    220220                $type = 'success';
    221221               
     
    243243   
    244244    if ( $type == 'field' ) {
    245         $type = __('field');
    246     } else {
    247         $type = __('option');
     245        $type = __('field', 'buddypress');
     246    } else {
     247        $type = __('option', 'buddypress');
    248248    }
    249249   
     
    251251
    252252    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);
    254254        $type = 'error';
    255255    } else {
    256         $message = sprintf( __('The %s was deleted successfully!'), $type);
     256        $message = sprintf( __('The %s was deleted successfully!', 'buddypress'), $type);
    257257        $type = 'success';
    258258    }
Note: See TracChangeset for help on using the changeset viewer.