Ticket #6007: 6007.r7098.diff
File 6007.r7098.diff, 1.7 KB (added by , 17 years ago) |
---|
-
wp-admin/theme-editor.php
85 85 <div id="message" class="updated fade"><p><?php _e('File edited successfully.') ?></p></div> 86 86 <?php endif; 87 87 88 $description = get_file_description($file);88 $description = __(get_file_description($file)); 89 89 $desc_header = ( $description != $file_show ) ? "$description</strong> (%s)" : "%s"; 90 90 ?> 91 91 <div class="wrap"> … … 124 124 <h4 style="margin-bottom: 0px;"><?php _e('Templates'); ?></h4> 125 125 <ul> 126 126 <?php foreach($themes[$theme]['Template Files'] as $template_file) : 127 $description = get_file_description($template_file);127 $description = __(get_file_description($template_file)); 128 128 $template_show = basename($template_file); 129 129 $filedesc = ( $description != $template_file ) ? "$description <span class='nonessential'>($template_show)</span>" : "$description"; 130 130 $filedesc = ( $template_file == $file ) ? "<span class='highlight'>$description <span class='nonessential'>($template_show)</span></span>" : $filedesc; … … 135 135 <h4 style="margin-bottom: 0px;"><?php _e('Styles'); ?></h4> 136 136 <ul> 137 137 <?php foreach($themes[$theme]['Stylesheet Files'] as $style_file) : 138 $description = get_file_description($style_file);138 $description = __(get_file_description($style_file)); 139 139 $style_show = basename($style_file); 140 140 $filedesc = ( $description != $style_file ) ? "$description <span class='nonessential'>($style_show)</span>" : "$description"; 141 141 $filedesc = ( $style_file == $file ) ? "<span class='highlight'>$description <span class='nonessential'>($style_show)</span></span>" : $filedesc;