WordPress.org

Make WordPress Core

Changeset 7300


Ignore:
Timestamp:
03/14/2008 07:56:43 PM (10 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. fixes #6226

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-ftpext.php

    r7238 r7300  
    9696        if( '/' != substr($base, -1) ) $base .= '/';
    9797
    98         if($echo) echo __('Changing to ') . $base  .'<br>';
     98        if($echo) printf( __('Changing to %s') . '<br/>', $base );
    9999        if( false === $this->chdir($base) )
    100100            return false;
    101101
    102102        if( $this->exists($base . 'wp-settings.php') ){
    103             if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';
     103            if($echo) printf( __('Found %s'), $base . 'wp-settings.php<br/>' );
    104104            $this->wp_base = $base;
    105105            return $this->wp_base;
     
    116116        foreach($arrPath as $key=>$folder){
    117117            if( $this->is_dir($base . $folder) ){
    118                 if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';
     118                if($echo) echo sprintf( __('Found %s'),  $folder ) . ' ' . sprintf( __('Changing to %s') . '<br/>', $base . $folder . '/' );
    119119                return $this->find_base_dir($base .  $folder . '/',$echo);
    120120            }
  • trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r7238 r7300  
    9898        if( '/' != substr($base, -1) ) $base .= '/';
    9999
    100         if($echo) echo __('Changing to ') . $base  .'<br>';
     100        if($echo) printf( __('Changing to %s') . '<br/>', $base );
    101101        if( false === $this->chdir($base) )
    102102            return false;
    103103
    104104        if( $this->exists($base . 'wp-settings.php') ){
    105             if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';
     105            if($echo) printf( __('Found %s'), $base . 'wp-settings.php<br/>' );
    106106            $this->wp_base = $base;
    107107            return $this->wp_base;
     
    118118        foreach($arrPath as $key=>$folder){
    119119            if( $this->is_dir($base . $folder) ){
    120                 if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';
     120                if($echo) echo sprintf( __('Found %s'),  $folder ) . ' ' . sprintf( __('Changing to %s') . '<br/>', $base . $folder . '/' );
    121121                return $this->find_base_dir($base .  $folder . '/',$echo);
    122122            }
  • trunk/wp-admin/includes/template.php

    r7286 r7300  
    831831    $hour = '<input type="text" id="hh" name="hh" value="' . $hh . '" size="2" maxlength="2" onchange="edit_date.checked=true"' . $tab_index_attribute . ' autocomplete="off"  />';
    832832    $minute = '<input type="text" id="mn" name="mn" value="' . $mn . '" size="2" maxlength="2" onchange="edit_date.checked=true"' . $tab_index_attribute . ' autocomplete="off"  />';
    833     printf(__('%1$s%2$s%3$s @ %4$s : %5$s'), $month, $day, $year, $hour, $minute);
     833    printf(_c('%1$s%2$s%3$s @ %4$s : %5$s|1: month input, 2: day input, 3: year input, 4: hour input, 5: minute input'), $month, $day, $year, $hour, $minute);
    834834?>
    835835<input type="hidden" id="ss" name="ss" value="<?php echo $ss ?>" size="2" maxlength="2" onchange="edit_date.checked=true" />
  • trunk/wp-admin/includes/widgets.php

    r7275 r7300  
    200200
    201201    if ( $widget_title )
    202         $widget_title = sprintf( _c('%1$s: %2$s|widget_admin_title' ), $sidebar_args['widget_name'], $widget_title );
     202        $widget_title = sprintf( _c('%1$s: %2$s|1: widget name, 2: widget title' ), $sidebar_args['widget_name'], $widget_title );
    203203    else
    204204        $widget_title = wp_specialchars( strip_tags( $sidebar_args['widget_name'] ) );
    205 
    206205
    207206    if ( empty($sidebar_args['_display']) || 'template' != $sidebar_args['_display'] )
  • trunk/wp-admin/theme-editor.php

    r7194 r7300  
    9393    <h2 style="border: none; padding-bottom: 0px;"><?php _e('Theme Editor'); ?></h2>
    9494    <form id="themeselector" name="theme" action="theme-editor.php" method="post">
    95         <strong><?php _e('Select theme to edit: '); ?></strong>
     95        <strong><?php _e('Select theme to edit:'); ?> </strong>
    9696        <select name="theme" id="theme" style="margin: 0; padding: 0;">
    9797<?php
Note: See TracChangeset for help on using the changeset viewer.