Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a45e7925
Commit
a45e7925
authored
Aug 10, 2009
by
webchick
Browse files
#537276
by tic2000 and alex.k: Make blog feed title translatable.
parent
4a3dd058
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/blog/blog.pages.inc
View file @
a45e7925
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment