#537276 by tic2000 and alex.k: Make blog feed title translatable.

merge-requests/26/head
Angie Byron 2009-08-10 22:39:24 +00:00
parent 4a3dd058b5
commit a45e7925e6
1 changed files with 2 additions and 2 deletions

View File

@ -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);