summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-10 22:39:24 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-10 22:39:24 +0000
commita45e7925e6918ce2a864d93395e49525c1861d53 (patch)
tree4dc535a8b83df53ab24568ac1011589fa6a5db0d /modules
parent4a3dd058b5defa96eedec26fa22c4d332e71df49 (diff)
downloadbrdo-a45e7925e6918ce2a864d93395e49525c1861d53.tar.gz
brdo-a45e7925e6918ce2a864d93395e49525c1861d53.tar.bz2
#537276 by tic2000 and alex.k: Make blog feed title translatable.
Diffstat (limited to 'modules')
-rw-r--r--modules/blog/blog.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc
index e36f3ef12..1d3afd563 100644
--- a/modules/blog/blog.pages.inc
+++ b/modules/blog/blog.pages.inc
@@ -123,7 +123,7 @@ function blog_feed_user($account) {
->execute()
->fetchCol();
- $channel['title'] = $account->name . "'s blog";
+ $channel['title'] = t("!name's blog", array('!name' => $account->name));
$channel['link'] = url('blog/' . $account->uid, array('absolute' => TRUE));
node_feed($nids, $channel);
@@ -143,7 +143,7 @@ function blog_feed_last() {
->execute()
->fetchCol();
- $channel['title'] = variable_get('site_name', 'Drupal') . ' blogs';
+ $channel['title'] = t('!site_name blogs', array('!site_name' => variable_get('site_name', 'Drupal')));
$channel['link'] = url('blog', array('absolute' => TRUE));
node_feed($nids, $channel);