WordPress.org

Make WordPress Core

Changeset 6033


Ignore:
Timestamp:
09/04/07 20:56:08 (7 years ago)
Author:
westi
Message:

Improve desriptions for I18N strings. Fixes #4906 props nbachiyski

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-pages.php

    r6026 r6033  
    1313 
    1414 
    15 $post_status_label = _c('Pages|manage pages header'); 
     15$post_status_label = __('Pages'); 
    1616$post_status_q = ''; 
    1717if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 
     
    3232    $h2_author = ' ' . sprintf(__('by %s'), wp_specialchars( $author_user->display_name )); 
    3333} 
    34 printf( _c( '%1$s%2$s%3$s|manage pages header' ), $post_status_label, $h2_author, $h2_search ); 
     34printf( _c( '%1$s%2$s%3$s|You can reorder these: 1: Pages, 2: by %s, 3: matching %s' ), $post_status_label, $h2_author, $h2_search ); 
    3535?></h2> 
    3636 
  • trunk/wp-admin/edit.php

    r6026 r6033  
    2020 
    2121$post_status_q = ''; 
    22 $post_status_label = _c('Posts|manage posts header'); 
     22$post_status_label = __('Posts'); 
    2323if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { 
    2424    $post_status_label = $post_stati[$_GET['post_status']][1]; 
     
    9090    $h2_cat    = isset($_GET['cat']) && $_GET['cat'] ? ' ' . sprintf( __('in &#8220;%s&#8221;'), single_cat_title('', false) ) : ''; 
    9191    $h2_month  = isset($_GET['m'])   && $_GET['m']   ? ' ' . sprintf( __('during %s'), single_month_title(' ', false) ) : ''; 
    92     printf( _c( '%1$s%2$s%3$s%4$s%5$s|manage posts header' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_month ); 
     92    printf( _c( '%1$s%2$s%3$s%4$s%5$s|You can reorder these: 1: Posts, 2: by %s, 3: matching %s, 4: in %s, 5: during %s' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_month ); 
    9393} 
    9494?></h2> 
  • trunk/wp-admin/includes/template.php

    r6026 r6033  
    450450<?php 
    451451    if ( $edit ) { 
    452         printf( __('Existing timestamp: %1$s %2$s, %3$s @ %4$s:%5$s' ), $wp_locale->get_month( $mm ), $jj, $aa, $hh, $mn ); 
     452        printf( _c( 'Existing timestamp: %1$s %2$s, %3$s @ %4$s:%5$s|1: month, 2: month string, 3: full year, 4: hours, 5: minutes' ), $wp_locale->get_month( $mm ), $jj, $aa, $hh, $mn ); 
    453453    } 
    454454?> 
  • trunk/wp-admin/themes.php

    r6016 r6033  
    4141<img src="<?php echo get_option('siteurl') . '/' . $ct->stylesheet_dir . '/' . $ct->screenshot; ?>" alt="<?php _e('Current theme preview'); ?>" /> 
    4242<?php endif; ?> 
    43 <h3><?php printf(__('%1$s %2$s by %3$s'), $ct->title, $ct->version, $ct->author) ; ?></h3> 
     43<h3><?php printf(_c('%1$s %2$s by %3$s|1: theme title, 2: theme version, 3: theme author'), $ct->title, $ct->version, $ct->author) ; ?></h3> 
    4444<p><?php echo $ct->description; ?></p> 
    4545<?php if ($ct->parent_theme) { ?> 
  • trunk/wp-includes/locale.php

    r6026 r6033  
    9191        // See http://php.net/number_format 
    9292 
    93         $trans = __('number_format_decimals'); 
     93        $trans = _c('number_format_decimals|$decimals argument for http://php.net/number_format, default is 0'); 
    9494        $this->number_format['decimals'] = ('number_format_decimals' == $trans) ? 0 : $trans; 
    9595 
    96         $trans = __('number_format_decimal_point'); 
     96        $trans = _c('number_format_decimal_point|$dec_point argument for http://php.net/number_format, default is .'); 
    9797        $this->number_format['decimal_point'] = ('number_format_decimal_point' == $trans) ? '.' : $trans; 
    9898 
    99         $trans = __('number_format_thousands_sep'); 
     99        $trans = _c('number_format_thousands_sep|$thousands_sep argument for http://php.net/number_format, default is ,'); 
    100100        $this->number_format['thousands_sep'] = ('number_format_thousands_sep' == $trans) ? ',' : $trans; 
    101101 
Note: See TracChangeset for help on using the changeset viewer.