diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-08-18 12:17:00 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-08-18 12:17:00 +0000 |
commit | 81938a3cdc7b9bd13d58e355c59d9835e830fea4 (patch) | |
tree | 4d6156a6edb7898d74d5b1836b80d08750aa39c2 /modules/blog | |
parent | 885a29c4cd13776165c40080a00180cddd420a46 (diff) | |
download | brdo-81938a3cdc7b9bd13d58e355c59d9835e830fea4.tar.gz brdo-81938a3cdc7b9bd13d58e355c59d9835e830fea4.tar.bz2 |
#76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 5e829a05c..d5b8ac0eb 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -67,14 +67,14 @@ function blog_help($section) { $output .= '<p>'. t('If a user has the ability to post blogs, then the import module (news aggregator) will display a blog-it link next to each news item in its lists. Clicking on this takes the user to the blog submission form, with the title, a link to the item, and a link to the source into the body text already in the text box, ready for the user to add a comment or explanation. This actively encourages people to add blog entries about things they see and hear elsewhere in the website and from your syndicated partner sites.') .'</p>'; $output .= t('<p>You can</p> <ul> -<li>read your blog via your user profile at <a href="%user">my account</a>.</li> -<li>post a blog at <a href="%node-add-blog">create content >> personal blog entry</a>.</li> -<li>administer blog at <a href="%admin-node-configure-types-blog">administer >> content management >> content types >> blog entry</a>.</li> -<li>administer blog api at <a href="%admin-settings-blogapi">administer >> site configuration >> blog APIs</a>.</li> -<li>enable the "recent blog posts" block at <a href="%admin-block">administer >> site building >> blocks</a> to show the 10 most recent blog posts.</li> +<li>read your blog via your user profile at <a href="@user">my account</a>.</li> +<li>post a blog at <a href="@node-add-blog">create content >> personal blog entry</a>.</li> +<li>administer blog at <a href="@admin-node-configure-types-blog">administer >> content management >> content types >> blog entry</a>.</li> +<li>administer blog api at <a href="@admin-settings-blogapi">administer >> site configuration >> blog APIs</a>.</li> +<li>enable the "recent blog posts" block at <a href="@admin-block">administer >> site building >> blocks</a> to show the 10 most recent blog posts.</li> </ul> -', array('%user' => url('user'), '%node-add-blog' => url('node/add/blog'), '%admin-node-configure-types-blog' => url('admin/content/types/blog'), '%admin-settings-blogapi' => url('admin/settings/blogapi'), '%admin-block' => url('admin/build/block'))); - $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%blog">Blog page</a>.', array('%blog' => 'http://drupal.org/handbook/modules/blog/')) .'</p>'; +', array('@user' => url('user'), '@node-add-blog' => url('node/add/blog'), '@admin-node-configure-types-blog' => url('admin/content/types/blog'), '@admin-settings-blogapi' => url('admin/settings/blogapi'), '@admin-block' => url('admin/build/block'))); + $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@blog">Blog page</a>.', array('@blog' => 'http://drupal.org/handbook/modules/blog/')) .'</p>'; return $output; case 'admin/settings/modules#description': return t('Enables keeping an easily and regularly updated web page or a blog.'); @@ -167,7 +167,7 @@ function blog_page_user($uid) { drupal_add_link(array('rel' => 'alternate', 'type' => 'application/rss+xml', - 'title' => t('RSS - %title', array('%title' => $title)), + 'title' => t('RSS - !title', array('!title' => $title)), 'href' => url("blog/$account->uid/feed"))); return $output; } |