#537276 by tic2000 and alex.k: Make blog feed title translatable.
parent
4a3dd058b5
commit
a45e7925e6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue