Make WordPress Core


Ignore:
Timestamp:
02/27/2008 05:19:58 PM (16 years ago)
Author:
ryan
Message:

gettext fixes from takayukister. fixes #6018

File:
1 edited

Legend:

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

    r7039 r7063  
    9090        if( '/' != substr($base, -1) ) $base .= '/';
    9191       
    92         if($echo) echo __('Changing to ') . $base .'<br>';
     92        if($echo) echo sprintf(__('Changing to %s'), $base) .'<br>';
    9393        if( false === ftp_chdir($this->link, $base) )
    9494            return false;
    9595
    9696        if( $this->exists($base . 'wp-settings.php') ){
    97             if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';
     97            if($echo) echo sprintf(__('Found %s'), $base . 'wp-settings.php') . '<br>';
    9898            $this->wp_base = $base;
    9999            return $this->wp_base;
     
    110110        foreach($arrPath as $key=>$folder){
    111111            if( $this->is_dir($base . $folder) ){
    112                 if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';
     112                if($echo) echo sprintf(__('Found %s'), $folder) . ' ' . sprintf(__('Changing to %s'), $base . $folder . '/') . '<br>';
    113113                return $this->find_base_dir($base .  $folder . '/',$echo);
    114114            }
Note: See TracChangeset for help on using the changeset viewer.