couple of little fixes to enotify positional params
This commit is contained in:
parent
7d8b087f4a
commit
b0a0c1ef4d
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ function notification($params) {
|
||||||
// Before this we have the name of the replier on the subject rendering
|
// Before this we have the name of the replier on the subject rendering
|
||||||
// differents subjects for messages on the same thread.
|
// differents subjects for messages on the same thread.
|
||||||
|
|
||||||
$subject = sprintf( t('[Friendica:Notify] Comment to conversation #%1$d by %1$s'), $parent_id, $params['source_name']);
|
$subject = sprintf( t('[Friendica:Notify] Comment to conversation #%1$d by %2$s'), $parent_id, $params['source_name']);
|
||||||
$preamble = sprintf( t('%s commented on an item/conversation you have been following.'), $params['source_name']);
|
$preamble = sprintf( t('%s commented on an item/conversation you have been following.'), $params['source_name']);
|
||||||
$epreamble = $dest_str;
|
$epreamble = $dest_str;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ function notification($params) {
|
||||||
if($params['type'] == NOTIFY_WALL) {
|
if($params['type'] == NOTIFY_WALL) {
|
||||||
$subject = sprintf( t('[Friendica:Notify] %s posted to your profile wall') , $params['source_name']);
|
$subject = sprintf( t('[Friendica:Notify] %s posted to your profile wall') , $params['source_name']);
|
||||||
|
|
||||||
$preamble = sprintf( t('%1$s posted to your profile wall at %1$s') , $params['source_name'], $sitename);
|
$preamble = sprintf( t('%1$s posted to your profile wall at %2$s') , $params['source_name'], $sitename);
|
||||||
|
|
||||||
$epreamble = sprintf( t('%1$s posted to [url=%2s]your wall[/url]') ,
|
$epreamble = sprintf( t('%1$s posted to [url=%2s]your wall[/url]') ,
|
||||||
'[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]',
|
'[url=' . $params['source_link'] . ']' . $params['source_name'] . '[/url]',
|
||||||
|
|
Loading…
Reference in a new issue