Skip to:
Content

bbPress.org

Changeset 3375


Ignore:
Timestamp:
07/25/2011 06:18:18 AM (12 years ago)
Author:
johnjamesjacoby
Message:

String consistency. Fixes #1584. Props ramiy.

Location:
branches/plugin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-admin.php

    r3367 r3375  
    215215
    216216        // Add the per page section
    217         add_settings_section( 'bbp_per_page',        __( 'Per Page',          'bbpress' ), 'bbp_admin_setting_callback_per_page_section', 'bbpress'                 );
     217        add_settings_section( 'bbp_per_page',        __( 'Per Page', 'bbpress' ),          'bbp_admin_setting_callback_per_page_section', 'bbpress'                 );
    218218
    219219        // Topics per page setting
    220         add_settings_field( '_bbp_topics_per_page',  __( 'Topics Per Page',   'bbpress' ), 'bbp_admin_setting_callback_topics_per_page',  'bbpress', 'bbp_per_page' );
     220        add_settings_field( '_bbp_topics_per_page',  __( 'Topics',   'bbpress' ),          'bbp_admin_setting_callback_topics_per_page',  'bbpress', 'bbp_per_page' );
    221221        register_setting  ( 'bbpress',               '_bbp_topics_per_page',               'intval'                                                                 );
    222222
    223223        // Replies per page setting
    224         add_settings_field( '_bbp_replies_per_page', __( 'Replies Per Page',  'bbpress' ), 'bbp_admin_setting_callback_replies_per_page', 'bbpress', 'bbp_per_page' );
     224        add_settings_field( '_bbp_replies_per_page', __( 'Replies',  'bbpress' ),          'bbp_admin_setting_callback_replies_per_page', 'bbpress', 'bbp_per_page' );
    225225        register_setting  ( 'bbpress',               '_bbp_replies_per_page',              'intval'                                                                 );
    226226
     
    228228
    229229        // Add the per page section
    230         add_settings_section( 'bbp_per_rss_page',    __( 'Per RSS Page',      'bbpress' ), 'bbp_admin_setting_callback_per_rss_page_section', 'bbpress'                     );
     230        add_settings_section( 'bbp_per_rss_page',    __( 'Per RSS Page', 'bbpress' ),      'bbp_admin_setting_callback_per_rss_page_section', 'bbpress'                     );
    231231
    232232        // Topics per page setting
    233         add_settings_field( '_bbp_topics_per_page',  __( 'Topics Per Page',   'bbpress' ), 'bbp_admin_setting_callback_topics_per_rss_page',  'bbpress', 'bbp_per_rss_page' );
     233        add_settings_field( '_bbp_topics_per_page',  __( 'Topics',       'bbpress' ),      'bbp_admin_setting_callback_topics_per_rss_page',  'bbpress', 'bbp_per_rss_page' );
    234234        register_setting  ( 'bbpress',               '_bbp_topics_per_rss_page',           'intval'                                                                         );
    235235
    236236        // Replies per page setting
    237         add_settings_field( '_bbp_replies_per_page', __( 'Replies Per Page',  'bbpress' ), 'bbp_admin_setting_callback_replies_per_rss_page', 'bbpress', 'bbp_per_rss_page' );
     237        add_settings_field( '_bbp_replies_per_page', __( 'Replies',      'bbpress' ),      'bbp_admin_setting_callback_replies_per_rss_page', 'bbpress', 'bbp_per_rss_page' );
    238238        register_setting  ( 'bbpress',               '_bbp_replies_per_rss_page',          'intval'                                                                         );
    239239
     
    244244
    245245        // Root slug setting
    246         add_settings_field  ( '_bbp_root_slug',          __( 'Forums Base',   'bbpress' ), 'bbp_admin_setting_callback_root_slug',           'bbpress', 'bbp_root_slug' );
     246        add_settings_field  ( '_bbp_root_slug',          __( 'Forums base',   'bbpress' ), 'bbp_admin_setting_callback_root_slug',           'bbpress', 'bbp_root_slug' );
    247247        register_setting    ( 'bbpress',                '_bbp_root_slug',                  'esc_sql'                                                                    );
    248248
    249249        // Topic archive setting
    250         add_settings_field  ( '_bbp_topic_archive_slug', __( 'Topics Base',   'bbpress' ), 'bbp_admin_setting_callback_topic_archive_slug',  'bbpress', 'bbp_root_slug' );
     250        add_settings_field  ( '_bbp_topic_archive_slug', __( 'Topics base',   'bbpress' ), 'bbp_admin_setting_callback_topic_archive_slug',  'bbpress', 'bbp_root_slug' );
    251251        register_setting    ( 'bbpress',                 '_bbp_topic_archive_slug',        'esc_sql'                                                                    );
    252252
  • branches/plugin/bbp-admin/importers/bbpress.php

    r3363 r3375  
    873873
    874874                if ( !$forums = bb_get_forums() ) {
    875                     echo "<li><strong>" . __( 'No forums were found!', 'bbpress' ) . "</strong></li></ol>\n";
     875                    echo "<li><strong>" . __( 'No forums found', 'bbpress' ) . "</strong></li></ol>\n";
    876876                    return;
    877877                }
  • branches/plugin/bbp-includes/bbp-core-widgets.php

    r3291 r3375  
    6767            <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    6868                <fieldset>
    69                     <legend><?php _e( 'Login', 'bbpress' ); ?></legend>
     69                    <legend><?php _e( 'Log In', 'bbpress' ); ?></legend>
    7070
    7171                    <div class="bbp-username">
     
    375375
    376376        <p>
    377             <label for="<?php echo $this->get_field_id( 'parent_forum' ); ?>"><?php _e( 'Parent forum:', 'bbpress' ); ?>
     377            <label for="<?php echo $this->get_field_id( 'parent_forum' ); ?>"><?php _e( 'Parent Forum:', 'bbpress' ); ?>
    378378                <input class="widefat" id="<?php echo $this->get_field_id( 'parent_forum' ); ?>" name="<?php echo $this->get_field_name( 'parent_forum' ); ?>" type="text" value="<?php echo $parent_forum; ?>" />
    379379            </label>
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-anonymous.php

    r3207 r3375  
    1313
    1414    <fieldset class="bbp-form">
    15         <legend><?php ( bbp_is_topic_edit() || bbp_is_reply_edit() ) ? _e( 'Author information', 'bbpress' ) : _e( 'Your information:', 'bbpress' ); ?></legend>
     15        <legend><?php ( bbp_is_topic_edit() || bbp_is_reply_edit() ) ? _e( 'Author Information', 'bbpress' ) : _e( 'Your information:', 'bbpress' ); ?></legend>
    1616        <p>
    1717            <label for="bbp_anonymous_author"><?php _e( 'Name (required):', 'bbpress' ); ?></label><br />
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-topic.php

    r3366 r3375  
    3737                        <?php
    3838                            if ( bbp_is_topic_edit() )
    39                                 printf( __( 'Edit topic "%s"', 'bbpress' ), bbp_get_topic_title() );
     39                                printf( __( 'Now Editing &ldquo;%s&rdquo;', 'bbpress' ), bbp_get_topic_title() );
    4040                            else
    41                                 bbp_is_single_forum() ? printf( __( 'Create new topic in: &ldquo;%s&rdquo;', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create new topic', 'bbpress' );
     41                                bbp_is_single_forum() ? printf( __( 'Create New Topic in &ldquo;%s&rdquo;', 'bbpress' ), bbp_get_forum_title() ) : _e( 'Create New Topic', 'bbpress' );
    4242                        ?>
    4343
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-user-edit.php

    r3207 r3375  
    103103
    104104        <div>
    105             <label for="email"><?php _e( 'E-mail', 'bbpress' ); ?></label>
     105            <label for="email"><?php _e( 'Email', 'bbpress' ); ?></label>
    106106
    107107            <input type="text" name="email" id="email" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'user_email' ) ); ?>" class="regular-text" />
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-user-login.php

    r3302 r3375  
    1212    <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
    1313        <fieldset class="bbp-form">
    14             <legend><?php _e( 'Login', 'bbpress' ); ?></legend>
     14            <legend><?php _e( 'Log In', 'bbpress' ); ?></legend>
    1515
    1616            <div class="bbp-username">
     
    3333                <?php do_action( 'login_form' ); ?>
    3434
    35                 <input type="submit" name="user-submit" value="<?php _e( 'Login', 'bbpress' ); ?>" tabindex="<?php bbp_tab_index(); ?>" class="user-submit" />
     35                <input type="submit" name="user-submit" value="<?php _e( 'Log In', 'bbpress' ); ?>" tabindex="<?php bbp_tab_index(); ?>" class="user-submit" />
    3636
    3737                <?php bbp_user_login_fields(); ?>
  • branches/plugin/bbp-themes/bbp-twentyten/bbpress/form-user-register.php

    r3207 r3375  
    2626
    2727            <div class="bbp-email">
    28                 <label for="user_email"><?php _e( 'Email Address', 'bbpress' ); ?>: </label>
     28                <label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label>
    2929                <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
    3030            </div>
Note: See TracChangeset for help on using the changeset viewer.