Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.470
diff -u -p -r1.470 common.inc
--- includes/common.inc	19 Aug 2005 11:10:35 -0000	1.470
+++ includes/common.inc	21 Aug 2005 22:54:08 -0000
@@ -301,7 +301,7 @@ function drupal_access_denied() {
 
   if (empty($return)) {
     drupal_set_title(t('Access denied'));
-    $return = message_access();
+    $return = t('You are not authorized to access this page.');
   }
   print theme('page', $return);
 }
@@ -563,16 +563,6 @@ function object2array($object) {
  */
 
 /**
- * Return a string with an "access denied" message.
- *
- * Always consider whether to use drupal_access_denied() instead to return a
- * proper (and customizable) 403 error.
- */
-function message_access() {
-  return t('You are not authorized to access this page.');
-}
-
-/**
  * Return a string with a "not applicable" message.
  */
 function message_na() {
Index: modules/blogapi.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/blogapi.module,v
retrieving revision 1.51
diff -u -p -r1.51 blogapi.module
--- modules/blogapi.module	7 Aug 2005 14:55:17 -0000	1.51
+++ modules/blogapi.module	21 Aug 2005 22:54:08 -0000
@@ -215,7 +215,7 @@ function blogapi_blogger_new_post($appke
   }
 
   if (!node_access('create', $node)) {
-    return blogapi_error(message_access());
+    return blogapi_error(t('You do not have permission to create the type of post you wanted to create.'));
   }
 
   $nid = node_save($node);
@@ -246,7 +246,7 @@ function blogapi_blogger_edit_post($appk
   unset($node->teaser);
 
   if (!node_access('update', $node)) {
-    return blogapi_error(message_access());
+    return blogapi_error(t('You do not have permission to update this post.'));
   }
 
   $node->status = $publish;
@@ -485,7 +485,7 @@ function blogap_mti_publish_post($postid
 
   $node->status = 1;
   if (!node_access('update', $node)) {
-    return blogapi_error(message_access());
+    return blogapi_error(t('You do not have permission to update this post.'));
   }
 
   node_save($node);
@@ -520,7 +520,7 @@ function blogapi_validate_user($username
       return $user;
     }
     else {
-      return message_access();
+      return t("You either tried to edit somebody else's blog or you don't have permission to edit your own blog.");
     }
   }
   else {
Index: modules/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node.module,v
retrieving revision 1.519
diff -u -p -r1.519 node.module
--- modules/node.module	11 Aug 2005 12:53:39 -0000	1.519
+++ modules/node.module	21 Aug 2005 22:54:09 -0000
@@ -1420,7 +1420,7 @@ function node_add($type) {
       $output = t('Choose the appropriate item from the list:') .'<dl>'. implode('', $item) .'</dl>';
     }
     else {
-      $output = message_access();
+      $output = t('You are not allowed to create content.');
     }
   }
 
