ajax.php
changeset 378 c1c7fa6b329f
parent 345 4ccdfeee9a11
child 387 92664d2efab8
--- a/ajax.php	Sat Jan 26 15:42:32 2008 -0500
+++ b/ajax.php	Sun Jan 27 22:57:40 2008 -0500
@@ -291,7 +291,7 @@
     case "deletepage":
       $reason = ( isset($_POST['reason']) ) ? $_POST['reason'] : false;
       if ( empty($reason) )
-        die('Please enter a reason for deleting this page.');
+        die($lang->get('page_err_need_reason'));
       echo PageUtils::deletepage($paths->page_id, $paths->namespace, $reason);
       break;
     case "delvote":