From a45e7925e6918ce2a864d93395e49525c1861d53 Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Mon, 10 Aug 2009 22:39:24 +0000
Subject: [PATCH] #537276 by tic2000 and alex.k: Make blog feed title
 translatable.

---
 modules/blog/blog.pages.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc
index e36f3ef125af..1d3afd563a3c 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);
-- 
GitLab