Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/06/2011 04:40:38 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Replace "Activities" string with "Activity" in bp-activity-admin.php.

File:
1 edited

Legend:

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

    r5437 r5450  
    3434
    3535    // Add our screen
    36     $hook = add_menu_page( __( 'BuddyPress Activities', 'buddypress' ), __( 'Activities', 'buddypress' ), 'manage_options', 'bp-activity', 'bp_activity_admin' );
     36    $hook = add_menu_page( __( 'Activity', 'buddypress' ), __( 'Activity', 'buddypress' ), 'manage_options', 'bp-activity', 'bp_activity_admin' );
    3737
    3838    // Hook into early actions to load custom CSS and our init handler.
     
    176176
    177177        // per_page screen option
    178         add_screen_option( 'per_page', array( 'label' => _x( 'Activities', 'Activity items per page (screen options)', 'buddypress' )) );
     178        add_screen_option( 'per_page', array( 'label' => _x( 'Activity', 'Activity items per page (screen options)', 'buddypress' )) );
    179179
    180180        // Help panel - overview text
     
    190190        get_current_screen()->add_help_tab( array(
    191191            'id'        => 'bp-activity-moderating',
    192             'title'     => __( 'Moderating Activities', 'buddypress' ),
     192            'title'     => __( 'Moderating Activity', 'buddypress' ),
    193193            'content'   =>
    194194                '<ul>' .
     
    617617        <h2>
    618618            <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
    619                 <?php printf( __( 'Activities related to ID #%s', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?>
     619                <?php printf( __( 'Activity related to ID #%s', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?>
    620620            <?php else : ?>
    621                 <?php _e( 'Activities', 'buddypress' ); ?>
     621                <?php _e( 'Activity', 'buddypress' ); ?>
    622622            <?php endif; ?>
    623623
     
    635635
    636636        <form id="bp-activities-form" action="" method="get">
    637             <?php $bp_activity_list_table->search_box( __( 'Search Activities', 'buddypress' ), 'bp-activity' ); ?>
     637            <?php $bp_activity_list_table->search_box( __( 'Search all Activity', 'buddypress' ), 'bp-activity' ); ?>
    638638            <input type="hidden" name="page" value="<?php echo esc_attr( $plugin_page ); ?>" />
    639639            <?php $bp_activity_list_table->display(); ?>
Note: See TracChangeset for help on using the changeset viewer.