diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index a8a3585052..9645f8d892 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -95,12 +95,12 @@ class WP_Filesystem_FTPext{ if( empty( $base ) ) $base = '/'; if( '/' != substr($base, -1) ) $base .= '/'; - if($echo) echo __('Changing to ') . $base .'
'; + if($echo) printf( __('Changing to %s') . '
', $base ); if( false === $this->chdir($base) ) return false; if( $this->exists($base . 'wp-settings.php') ){ - if($echo) echo __('Found ') . $base . 'wp-settings.php
'; + if($echo) printf( __('Found %s'), $base . 'wp-settings.php
' ); $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 . '/
'; + if($echo) echo sprintf( __('Found %s'), $folder ) . ' ' . sprintf( __('Changing to %s') . '
', $base . $folder . '/' ); return $this->find_base_dir($base . $folder . '/',$echo); } } diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php index 15ab390760..6b60e9b308 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -97,12 +97,12 @@ class WP_Filesystem_ftpsockets{ if( empty( $base ) ) $base = '/'; if( '/' != substr($base, -1) ) $base .= '/'; - if($echo) echo __('Changing to ') . $base .'
'; + if($echo) printf( __('Changing to %s') . '
', $base ); if( false === $this->chdir($base) ) return false; if( $this->exists($base . 'wp-settings.php') ){ - if($echo) echo __('Found ') . $base . 'wp-settings.php
'; + if($echo) printf( __('Found %s'), $base . 'wp-settings.php
' ); $this->wp_base = $base; return $this->wp_base; } @@ -117,7 +117,7 @@ class WP_Filesystem_ftpsockets{ foreach($arrPath as $key=>$folder){ if( $this->is_dir($base . $folder) ){ - if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/
'; + if($echo) echo sprintf( __('Found %s'), $folder ) . ' ' . sprintf( __('Changing to %s') . '
', $base . $folder . '/' ); return $this->find_base_dir($base . $folder . '/',$echo); } } diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 04f92cda9f..9e78d93044 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -830,7 +830,7 @@ function touch_time( $edit = 1, $for_post = 1, $tab_index = 0 ) { $year = ''; $hour = ''; $minute = ''; - printf(__('%1$s%2$s%3$s @ %4$s : %5$s'), $month, $day, $year, $hour, $minute); + 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); ?> diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 101ce56b28..591990b35b 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -92,7 +92,7 @@ $desc_header = ( $description != $file_show ) ? "$description (%s)" : "

- +