i18n fixes from nbachiyski. fixes #6226
git-svn-id: http://svn.automattic.com/wordpress/trunk@7300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -95,12 +95,12 @@ class WP_Filesystem_FTPext{
|
||||
if( empty( $base ) ) $base = '/';
|
||||
if( '/' != substr($base, -1) ) $base .= '/';
|
||||
|
||||
if($echo) echo __('Changing to ') . $base .'<br>';
|
||||
if($echo) printf( __('Changing to %s') . '<br/>', $base );
|
||||
if( false === $this->chdir($base) )
|
||||
return false;
|
||||
|
||||
if( $this->exists($base . 'wp-settings.php') ){
|
||||
if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';
|
||||
if($echo) printf( __('Found %s'), $base . 'wp-settings.php<br/>' );
|
||||
$this->wp_base = $base;
|
||||
return $this->wp_base;
|
||||
}
|
||||
@@ -115,7 +115,7 @@ class WP_Filesystem_FTPext{
|
||||
|
||||
foreach($arrPath as $key=>$folder){
|
||||
if( $this->is_dir($base . $folder) ){
|
||||
if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';
|
||||
if($echo) echo sprintf( __('Found %s'), $folder ) . ' ' . sprintf( __('Changing to %s') . '<br/>', $base . $folder . '/' );
|
||||
return $this->find_base_dir($base . $folder . '/',$echo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user