Changeset 7300
- Timestamp:
- 03/14/2008 07:56:43 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r7238 r7300 96 96 if( '/' != substr($base, -1) ) $base .= '/'; 97 97 98 if($echo) echo __('Changing to ') . $base .'<br>';98 if($echo) printf( __('Changing to %s') . '<br/>', $base ); 99 99 if( false === $this->chdir($base) ) 100 100 return false; 101 101 102 102 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/>' ); 104 104 $this->wp_base = $base; 105 105 return $this->wp_base; … … 116 116 foreach($arrPath as $key=>$folder){ 117 117 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 . '/' ); 119 119 return $this->find_base_dir($base . $folder . '/',$echo); 120 120 } -
trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r7238 r7300 98 98 if( '/' != substr($base, -1) ) $base .= '/'; 99 99 100 if($echo) echo __('Changing to ') . $base .'<br>';100 if($echo) printf( __('Changing to %s') . '<br/>', $base ); 101 101 if( false === $this->chdir($base) ) 102 102 return false; 103 103 104 104 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/>' ); 106 106 $this->wp_base = $base; 107 107 return $this->wp_base; … … 118 118 foreach($arrPath as $key=>$folder){ 119 119 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 . '/' ); 121 121 return $this->find_base_dir($base . $folder . '/',$echo); 122 122 } -
trunk/wp-admin/includes/template.php
r7286 r7300 831 831 $hour = '<input type="text" id="hh" name="hh" value="' . $hh . '" size="2" maxlength="2" onchange="edit_date.checked=true"' . $tab_index_attribute . ' autocomplete="off" />'; 832 832 $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); 834 834 ?> 835 835 <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 200 200 201 201 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 ); 203 203 else 204 204 $widget_title = wp_specialchars( strip_tags( $sidebar_args['widget_name'] ) ); 205 206 205 207 206 if ( empty($sidebar_args['_display']) || 'template' != $sidebar_args['_display'] ) -
trunk/wp-admin/theme-editor.php
r7194 r7300 93 93 <h2 style="border: none; padding-bottom: 0px;"><?php _e('Theme Editor'); ?></h2> 94 94 <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> 96 96 <select name="theme" id="theme" style="margin: 0; padding: 0;"> 97 97 <?php
Note: See TracChangeset
for help on using the changeset viewer.