--- wp-admin/list-manipulation.js	2005-12-12 22:38:17.000000000 +0200
+++ wp-admin/list-manipulation.js.php	2005-12-12 22:25:35.000000000 +0200
@@ -1,3 +1,8 @@
+<?php
+	require_once '../wp-config.php';
+	header('Content-Type: text/javascript; charset=utf-8');
+?>
+
 var listItems;
 var reg_color = '#FFFFFF';
 var alt_color = '#F1F1F1';
@@ -6,7 +11,7 @@
 
 function deleteSomething( what, id, message ) {
 	what.replace('-', ' ');
-	if (!message) message = 'Are you sure you want to delete this ' + what + '?';
+	if (!message) message = '<?php echo addslashes(__('Are you sure you want to delete this')); ?>' + ' ' + what + '?';
 	if ( confirm(message) ) {
 		return ajaxDelete( what.replace(' ', '-'), id );
 	} else {
@@ -29,9 +34,9 @@
 	if ( ajaxDel.failed ) return true;
 	ajaxDel.myResponseElement = getResponseElement();
 	ajaxDel.method = 'POST';
-	ajaxDel.onLoading = function() { ajaxDel.myResponseElement.innerHTML = 'Sending Data...'; };
-	ajaxDel.onLoaded = function() { ajaxDel.myResponseElement.innerHTML = 'Data Sent...'; };
-	ajaxDel.onInteractive = function() { ajaxDel.myResponseElement.innerHTML = 'Processing Data...'; };
+	ajaxDel.onLoading = function() { ajaxDel.myResponseElement.innerHTML = '<?php echo addslashes(__('Sending Data...')); ?>';};
+		ajaxDel.onLoaded = function() { ajaxDel.myResponseElement.innerHTML = '<?php echo addslashes(__('Data Sent...')); ?>'; };
+			ajaxDel.onInteractive = function() { ajaxDel.myResponseElement.innerHTML = '<?php echo addslashes(__('Processing Data...')); ?>'; };
 	ajaxDel.onCompletion = function() { removeThisItem( what + '-' + id ); };
 	ajaxDel.runAJAX('action=delete-' + what + '&id=' + id);
 	return false;
@@ -41,8 +46,8 @@
 	var response = ajaxDel.response;
 	if ( isNaN(response) ) { alert(response); }
 	response = parseInt(response, 10);
-	if ( -1 == response ) { ajaxDel.myResponseElement.innerHTML = "You don't have permission to do that."; }
-	else if ( 0 == response ) { ajaxDel.myResponseElement.interHTML = "Something odd happened.  Try refreshing the page? Either that or what you tried to delete never existed in the first place."; }
+	if ( -1 == response ) { ajaxDel.myResponseElement.innerHTML = "<?php echo addslashes(__("You don't have permission to do that.")); ?>"; }
+		else if ( 0 == response ) { ajaxDel.myResponseElement.interHTML = "<?php echo addslashes(__('Something odd happened.  Try refreshing the page? Either that or what you tried to delete never existed in the first place.')); ?>"; }
 	else if ( 1 == response ) {
 		theItem = document.getElementById(id);
 		Fat.fade_element(id,null,700,'#FF3333');
