diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 1c9e0d3e0f37dd19a16a4227708333dc60359d9a..b4892e738dd9b663811e24bfbf92ae2b88954849 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -255,7 +255,7 @@ function blog_link($type, $node = NULL, $teaser = FALSE) { if ($type == 'node' && $node->type == 'blog') { if (arg(0) != 'blog' || arg(1) != $node->uid) { $links['blog_usernames_blog'] = array( - 'title' => t("%username's blog", array('%username' => $node->name)), + 'title' => t("@username's blog", array('@username' => $node->name)), 'href' => "blog/$node->uid", 'attributes' => array('title' => t("Read %username's latest blog entries.", array('%username' => $node->name))) ); diff --git a/modules/help/help.module b/modules/help/help.module index 428808f8ca536a10203ba857441e860d779fb909..c4ae90256962bcc9d295c0331623de3b04bbe0f7 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -44,7 +44,7 @@ function help_main() { $output = t(" <h2>Help topics</h2> <p>Help is available on the following items:</p> - %help_pages + !help_pages <h2>Glossary of Drupal terminology</h2> <dl> <dt>Block</dt><dd>A small box containing information or content placed in the left-hand or right-hand sidebar of a web page.</dd> @@ -60,11 +60,11 @@ function help_main() { <dt>Public</dt><dd>See published.</dd> <dt>Published</dt><dd>A node that is viewable by everyone. (See unpublished.)</dd> <dt>Role</dt><dd>A classification users are placed into for the purpose of setting users' permissions.</dd> - <dt>Taxonomy</dt><dd>A division of a collection of things into ordered, classified groups. (See <a href=\"%taxonomy\">taxonomy help</a>.)</dd> + <dt>Taxonomy</dt><dd>A division of a collection of things into ordered, classified groups. (See <a href=\"@taxonomy\">taxonomy help</a>.)</dd> <dt>Unpublished</dt><dd>A node that is only viewable by administrators and moderators.</dd> <dt>User</dt><dd>A person who has an account at your Drupal site, and is logged in with that account.</dd> <dt>Visitor</dt><dd>A person who does not have an account at your Drupal site or a person who has an account at your Drupal site but is <strong>not</strong> logged in with that account. Also termed \"anonymous user\".</dd> - </dl>", array('%help_pages' => help_links_as_list(), '%taxonomy' => url('admin/help/taxonomy'))); + </dl>", array('!help_pages' => help_links_as_list(), '@taxonomy' => url('admin/help/taxonomy'))); return $output; } diff --git a/modules/node/node.module b/modules/node/node.module index b8eb22d4c311ecb68fb9c94d6f8bcb3a8fe0c6f0..2fd9d7c84feeff042c266ed6dd4af84f8f11f3e7 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1809,7 +1809,7 @@ function node_validate($node, $form = array()) { // Make sure the body has the minimum number of words. // todo use a better word counting algorithm that will work in other languages if (isset($node->body) && count(explode(' ', $node->body)) < $type->min_word_count) { - form_set_error('body', t('The body of your @type is too short. You need at least %words words.', array('%words' => $type->min_word_count, '%type' => $type->name))); + form_set_error('body', t('The body of your @type is too short. You need at least %words words.', array('%words' => $type->min_word_count, '@type' => $type->name))); } if (isset($node->nid) && (node_last_changed($node->nid) > $_POST['edit']['changed'])) { @@ -2004,14 +2004,14 @@ function node_add($type = NULL) { $node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type); $output = drupal_get_form($type .'_node_form', $node); - drupal_set_title(t('Submit @name', array('%name' => $types[$type]->name))); + drupal_set_title(t('Submit @name', array('@name' => $types[$type]->name))); } else { // If no (valid) node type has been provided, display a node type overview. foreach ($types as $type) { if (function_exists($type->module .'_form') && node_access('create', $type->type)) { $type_url_str = str_replace('_', '-', $type->type); - $title = t('Add a new @s.', array('%s' => $type->name)); + $title = t('Add a new @s.', array('@s' => $type->name)); $out = '<dt>'. l($type->name, "node/add/$type_url_str", array('title' => $title)) .'</dt>'; $out .= '<dd>'. filter_xss_admin($type->description) .'</dd>'; $item[$type->type] = $out; diff --git a/modules/profile/profile.module b/modules/profile/profile.module index bc40edb6da49d853cedfd7d13d3e83817e940bb8..66d4ef84d5a0762f283f8197ea6680397c3c9b06 100644 --- a/modules/profile/profile.module +++ b/modules/profile/profile.module @@ -37,7 +37,7 @@ function profile_help($section) { <li>view user <a href="@profile">profiles</a>.</li> <li>administer profile settings: <a href="@admin-settings-profile">administer >> user management >> profiles</a>.</li> </ul> -', array('%profile' => url('profile'), '%admin-settings-profile' => url('admin/user/profile'))); +', array('@profile' => url('profile'), '@admin-settings-profile' => url('admin/user/profile'))); $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@profile">Profile page</a>.', array('@profile' => 'http://drupal.org/handbook/modules/profile/')) .'</p>'; return $output; case 'admin/settings/modules#description':