Changeset 391 for trunk/bp-core.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core.php
r388 r391 158 158 global $menu; 159 159 160 $account_settings_tab = add_menu_page( __('Account' ), __('Account'), 10, 'bp-core/admin-mods/bp-core-account-tab.php' );160 $account_settings_tab = add_menu_page( __('Account', 'buddypress'), __('Account', 'buddypress'), 10, 'bp-core/admin-mods/bp-core-account-tab.php' ); 161 161 } 162 162 add_action( 'admin_menu', 'bp_core_add_settings_tab' ); … … 425 425 if ( count($list) < count($options) ) : 426 426 ?> 427 <li id="all-my-blogs-tab" class="wp-no-js-hidden"><a href="#" class="blog-picker-toggle"><?php _e( 'All my blogs' ); ?></a></li>427 <li id="all-my-blogs-tab" class="wp-no-js-hidden"><a href="#" class="blog-picker-toggle"><?php _e( 'All my blogs' , 'buddypress'); ?></a></li> 428 428 429 429 </ul> … … 431 431 <form id="all-my-blogs" action="" method="get" style="display: none"> 432 432 <p> 433 <?php printf( __( 'Choose a blog: %s' ), $select ); ?>434 435 <input type="submit" class="button" value="<?php _e( 'Go' ); ?>" />436 <a href="#" class="blog-picker-toggle"><?php _e( 'Cancel' ); ?></a>433 <?php printf( __( 'Choose a blog: %s' , 'buddypress'), $select ); ?> 434 435 <input type="submit" class="button" value="<?php _e( 'Go' , 'buddypress'); ?>" /> 436 <a href="#" class="blog-picker-toggle"><?php _e( 'Cancel' , 'buddypress'); ?></a> 437 437 </p> 438 438 </form> … … 800 800 801 801 if ( !$just_date ) { 802 $date .= __('at' ) . date( ' g:iA', $time );802 $date .= __('at', 'buddypress') . date( ' g:iA', $time ); 803 803 } 804 804 … … 900 900 // Make sure we have an uploads dir 901 901 if ( ! wp_mkdir_p( $dir ) ) { 902 $message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' ), $dir );902 $message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' , 'buddypress'), $dir ); 903 903 return array( 'error' => $message ); 904 904 } … … 968 968 // array of time period chunks 969 969 $chunks = array( 970 array( 60 * 60 * 24 * 365 , __('year' ) ),971 array( 60 * 60 * 24 * 30 , __('month' ) ),972 array( 60 * 60 * 24 * 7, __('week' ) ),973 array( 60 * 60 * 24 , __('day' ) ),974 array( 60 * 60 , __('hour' ) ),975 array( 60 , __('minute' ) ),976 array( 1, __('second' ) )970 array( 60 * 60 * 24 * 365 , __('year', 'buddypress') ), 971 array( 60 * 60 * 24 * 30 , __('month', 'buddypress') ), 972 array( 60 * 60 * 24 * 7, __('week', 'buddypress') ), 973 array( 60 * 60 * 24 , __('day', 'buddypress') ), 974 array( 60 * 60 , __('hour', 'buddypress') ), 975 array( 60 , __('minute', 'buddypress') ), 976 array( 1, __('second', 'buddypress') ) 977 977 ); 978 978 … … 1009 1009 $name2 = $chunks[$i + 1][1]; 1010 1010 1011 if ( $name2 == __('second' ) ) return $output;1011 if ( $name2 == __('second', 'buddypress') ) return $output; 1012 1012 1013 1013 if ( ( $count2 = floor( ( $since - ( $seconds * $count ) ) / $seconds2 ) ) != 0 ) { … … 1058 1058 function bp_core_get_last_activity( $last_activity_date, $before, $after ) { 1059 1059 if ( !$last_activity_date || $last_activity_date == '' ) { 1060 $last_active = __('not recently active' );1060 $last_active = __('not recently active', 'buddypress'); 1061 1061 } else { 1062 1062 $last_active = $before;
Note: See TracChangeset
for help on using the changeset viewer.