Commit a45e7925 authored by webchick's avatar webchick

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

parent 4a3dd058
...@@ -123,7 +123,7 @@ function blog_feed_user($account) { ...@@ -123,7 +123,7 @@ function blog_feed_user($account) {
->execute() ->execute()
->fetchCol(); ->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)); $channel['link'] = url('blog/' . $account->uid, array('absolute' => TRUE));
node_feed($nids, $channel); node_feed($nids, $channel);
...@@ -143,7 +143,7 @@ function blog_feed_last() { ...@@ -143,7 +143,7 @@ function blog_feed_last() {
->execute() ->execute()
->fetchCol(); ->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)); $channel['link'] = url('blog', array('absolute' => TRUE));
node_feed($nids, $channel); node_feed($nids, $channel);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment