Changeset 3295 for trunk/wp-admin/admin-header.php
- Timestamp:
- 12/12/2005 10:48:30 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/admin-header.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r3292 r3295 134 134 newcatSub.name = 'Button'; 135 135 newcatSub.id = 'catadd'; 136 newcatSub.value = '<?php _e('Add'); ?>';136 newcatSub.value = '<?php echo addslashes(__('Add')); ?>'; 137 137 newcatSub.onclick = ajaxNewCat; 138 138 … … 142 142 143 143 howto = document.createElement('span'); 144 howto.innerHTML = '<?php _e('Separate multiple categories with commas.'); ?>';144 howto.innerHTML = '<?php echo addslashes(__('Separate multiple categories with commas.')); ?>'; 145 145 howto.id = 'howto'; 146 146 ajaxcat.appendChild(howto); … … 161 161 function newCatLoading() { 162 162 var p = getResponseElement(); 163 p.innerHTML = ' Sending Data...';163 p.innerHTML = '<?php echo addslashes(__('Sending Data...')); ?>'; 164 164 } 165 165 166 166 function newCatLoaded() { 167 167 var p = getResponseElement(); 168 p.innerHTML = ' Data Sent...';168 p.innerHTML = '<?php echo addslashes(__('Data Sent...')); ?>'; 169 169 } 170 170 171 171 function newCatInteractive() { 172 172 var p = getResponseElement(); 173 p.innerHTML = ' Processing Request...';173 p.innerHTML = '<?php echo addslashes(__('Processing Request...')); ?>'; 174 174 } 175 175 … … 187 187 // alert(id); 188 188 if ( id == '-1' ) { 189 p.innerHTML = " You don't have permission to do that.";189 p.innerHTML = "<?php echo addslashes(__("You don't have permission to do that.")); ?>"; 190 190 return; 191 191 } 192 192 if ( id == '0' ) { 193 p.innerHTML = " That category name is invalid. Try something else.";193 p.innerHTML = "<?php echo addslashes(__('That category name is invalid. Try something else.')); ?>"; 194 194 return; 195 195 }
Note: See TracChangeset
for help on using the changeset viewer.