Changeset 1135 for trunk/wp-admin/admin-functions.php
- Timestamp:
- 04/23/2004 06:46:53 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r1100 r1135 85 85 <td>$category->category_description</td> 86 86 <td>$count</td> 87 <td><a href='categories.php?action=edit&cat_ID=$category->cat_ID' class='edit'> Edit</a></td><td><a href='categories.php?action=Delete&cat_ID=$category->cat_ID' onclick=\"return confirm('You are about to delete the category \'". addslashes($category->cat_name) ."\' and all its posts will go to the default category.\\n \'OK\' to delete, \'Cancel\' to stop.')\" class='delete'>Delete</a></td>87 <td><a href='categories.php?action=edit&cat_ID=$category->cat_ID' class='edit'>" . __('Edit') . "</a></td><td><a href='categories.php?action=Delete&cat_ID=$category->cat_ID' onclick=\"return confirm('". sprintf(__("You are about to delete the category \'%s\'. All of its posts will go to the default category.\\n \'OK\' to delete, \'Cancel\' to stop."), addslashes($category->cat_name)) . "')\" class='delete'>" . __('Delete') . "</a></td> 88 88 </tr>"; 89 89 cat_rows($category->cat_ID, $level + 1); … … 126 126 127 127 if(!function_exists('imagegif') && $type[2] == 1) { 128 $error = 'Filetype not supported. Thumbnail not created.';128 $error = __('Filetype not supported. Thumbnail not created.'); 129 129 }elseif(!function_exists('imagejpeg') && $type[2] == 2) { 130 $error = 'Filetype not supported. Thumbnail not created.';130 $error = __('Filetype not supported. Thumbnail not created.'); 131 131 }elseif(!function_exists('imagepng') && $type[2] == 3) { 132 $error = 'Filetype not supported. Thumbnail not created.';132 $error = __('Filetype not supported. Thumbnail not created.'); 133 133 } else { 134 134 … … 177 177 if($type[2] == 1) { 178 178 if(!imagegif($thumbnail, $thumbpath)) { 179 $error = "Thumbnail path invalid";179 $error = __("Thumbnail path invalid"); 180 180 } 181 181 } elseif($type[2] == 2) { 182 182 if(!imagejpeg($thumbnail, $thumbpath)) { 183 $error = "Thumbnail path invalid";183 $error = __("Thumbnail path invalid"); 184 184 } 185 185 } elseif($type[2] == 3) { 186 186 if(!imagepng($thumbnail, $thumbpath)) { 187 $error = "Thumbnail path invalid";187 $error = __("Thumbnail path invalid"); 188 188 } 189 189 } … … 257 257 $keys = get_meta_keys(); 258 258 ?> 259 <h4> Add new custom data to this post:</h4>259 <h4><?php _e('Add new custom data to this post:') ?></h4> 260 260 <div id="postcustomkeys"> 261 <p> Select existing key or enter new key</p>261 <p><?php _e('Select existing key or enter new key') ?></p> 262 262 <?php 263 263 if ($keys) { … … 277 277 </div> 278 278 <div id="postcustomvals"> 279 <p> Custom Value</p>279 <p><?php _e('Custom Value') ?></p> 280 280 281 281 <textarea id="metavalue" name="metavalue" rows="3" cols="25"></textarea> … … 283 283 <br style="clear: both;" /> 284 284 <div id="postcustomsubmit"> 285 <input type="submit" id="save" name="save" value=" Add Custom">285 <input type="submit" id="save" name="save" value="<?php _e('Add Custom') ?>"> 286 286 </div> 287 287 <?php
Note: See TracChangeset
for help on using the changeset viewer.