Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/09/2009 10:46:48 PM (18 years ago)
Author:
apeatling
Message:

FIxes #275. Thanks to Atrax for the patch.

File:
1 edited

Legend:

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

    r676 r827  
    55        if ( is_site_admin() ) {
    66                /* Add the administration tab under the "Site Admin" tab for site administrators */
    7                 add_submenu_page( 'wpmu-admin.php', __("Group Forums"), __("Group Forums"), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );
     7                add_submenu_page( 'wpmu-admin.php', __( 'Group Forums', 'buddypress' ), __( 'Group Forums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );
    88        }
    99}
    … …  
    4646                <?php if ( isset($path_success) ) : ?><?php echo "<p id='message' class='updated fade'>$path_success</p>" ?><?php endif; ?>
    4747
    48                 <p><?php _e('To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.') ?></p>
    49                 <p><?php _e('Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.') ?></p>
     48                <p><?php _e( 'To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.', 'buddypress' ) ?></p>
     49                <p><?php _e( 'Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.', 'buddypress' ) ?></p>
    5050               
    5151                <form action="<?php echo site_url() . '/wp-admin/admin.php?page=bp_forums_settings' ?>" name="bbpress-path-form" id="bbpress-path-form" method="post">                         
    … …  
    5454                        <table class="form-table">
    5555                                <tr valign="top">
    56                                         <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL', 'bbpress_live' ) ?></label></th>
     56                                        <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL', 'buddypress' ) ?></label></th>
    5757                                        <td>
    5858                                                <input name="target_uri" type="text" id="target_uri" value="<?php echo attribute_escape( $fetch_options['target_uri'] ); ?>" size="60" /><br />
    59                                                 <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/', 'bbpress_live' ); ?>
     59                                                <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/', 'buddypress' ); ?>
    6060                                        </td>
    6161                                </tr>
    6262                                <tr valign="top">
    63                                         <th scope="row"><label for="username"><?php _e( 'bbPress username', 'bbpress_live' ) ?></label></th>
     63                                        <th scope="row"><label for="username"><?php _e( 'bbPress username', 'buddypress' ) ?></label></th>
    6464                                        <td>
    6565                                                <input name="username" type="text" id="username" value="<?php echo attribute_escape( $fetch_options['username'] ); ?>" size="20" /><br />
    66                                                 <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration', 'bbpress_live' ); ?>
     66                                                <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration', 'buddypress' ); ?>
    6767                                        </td>
    6868                                </tr>
    6969                                <tr valign="top">
    70                                         <th scope="row"><label for="password"><?php _e( 'bbPress password', 'bbpress_live' ) ?></label></th>
     70                                        <th scope="row"><label for="password"><?php _e( 'bbPress password', 'buddypress' ) ?></label></th>
    7171                                        <td>
    7272                                                <input name="password" type="password" id="password" value="<?php echo attribute_escape( $fetch_options['password'] ); ?>" size="20" /><br />
    73                                                 <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration', 'bbpress_live' ); ?>
     73                                                <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration', 'buddypress' ); ?>
    7474                                        </td>
    7575                                </tr>
    7676                        </table>
    7777                        <br />
    78                         <h3><?php _e( 'Cache requests', 'bbpress_live' ) ?></h3>
     78                        <h3><?php _e( 'Cache requests', 'buddypress' ) ?></h3>
    7979                        <table class="form-table">
    8080                                <tr valign="top">
    81                                         <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled', 'bbpress_live' ) ?></label></th>
     81                                        <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled', 'buddypress' ) ?></label></th>
    8282                                        <td>
    8383                                                <input name="cache_enabled" type="checkbox" id="cache_enabled" value="1"<?php echo( $options['cache_enabled'] ? ' checked="checked"' : '' ); ?> />
    84                                                 <?php _e( 'Turn on caching of requests to reduce latency and load.', 'bbpress_live' ); ?>
     84                                                <?php _e( 'Turn on caching of requests to reduce latency and load.', 'buddypress' ); ?>
    8585                                        </td>
    8686                                </tr>
    8787                                <tr valign="top">
    88                                         <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout', 'bbpress_live' ) ?></label></th>
     88                                        <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout', 'buddypress' ) ?></label></th>
    8989                                        <td>
    90                                                 <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)', 'bbpress_live' ) ?><br />
    91                                                 <?php _e( 'The amount of time in seconds that a cached request is valid for.', 'bbpress_live' ); ?>
     90                                                <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)', 'buddypress' ) ?><br />
     91                                                <?php _e( 'The amount of time in seconds that a cached request is valid for.', 'buddypress' ); ?>
    9292                                        </td>
    9393                                </tr>
Note: See TracChangeset for help on using the changeset viewer.