diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/blogapi/blogapi.module | 4 | ||||
-rw-r--r-- | modules/filter/filter.module | 2 | ||||
-rw-r--r-- | modules/forum/forum.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index b674c0edc..e8196d1a0 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -215,7 +215,7 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte if (user_access('administer nodes') && !isset($edit['date'])) { $edit['date'] = format_date(time(), 'custom', 'Y-m-d H:i:s O'); } - + node_invoke_nodeapi($edit, 'blogapi new'); node_validate($edit); @@ -247,7 +247,7 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont $node = node_load($postid); if (!$node) { - return blogapi_error(message_na()); + return blogapi_error(t('n/a')); } // Let the teaser be re-generated. unset($node->teaser); diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 498e3dfcc..664e991f1 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -776,7 +776,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) { } } else { - $text = message_na(); + $text = t('n/a'); } return $text; diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 9c4cbf573..d826ae963 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -675,7 +675,7 @@ function _forum_format($topic) { return t('%time ago<br />by %author', array('%time' => format_interval(time() - $topic->timestamp), '%author' => theme('username', $topic))); } else { - return message_na(); + return t('n/a'); } } diff --git a/modules/user/user.module b/modules/user/user.module index 582bcb29f..85ddd692e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1441,7 +1441,7 @@ function user_view($uid = 0) { // module_invoke_all(). foreach (module_implements('profile_alter') as $module) { $function = $module .'_profile_alter'; - $function($account, $fields); + $function($account, $fields); } drupal_set_title($account->name); |