Small fixes to translatable string
and some small cosmetic fixup to docstring for `notification()`
This commit is contained in:
parent
9c5f2ad0fc
commit
8a2a4510ec
1 changed files with 5 additions and 5 deletions
|
@ -18,10 +18,10 @@ require_once 'include/html2bbcode.php';
|
||||||
* @brief Creates a notification entry and possibly sends a mail
|
* @brief Creates a notification entry and possibly sends a mail
|
||||||
*
|
*
|
||||||
* @param array $params Array with the elements:
|
* @param array $params Array with the elements:
|
||||||
uid, item, parent, type, otype, verb, event,
|
* uid, item, parent, type, otype, verb, event,
|
||||||
link, subject, body, to_name, to_email, source_name,
|
* link, subject, body, to_name, to_email, source_name,
|
||||||
source_link, activity, preamble, notify_flags,
|
* source_link, activity, preamble, notify_flags,
|
||||||
language, show_in_notification_page
|
* language, show_in_notification_page
|
||||||
*/
|
*/
|
||||||
function notification($params)
|
function notification($params)
|
||||||
{
|
{
|
||||||
|
@ -370,7 +370,7 @@ function notification($params)
|
||||||
'[url='.$params['source_link'].']'.$params['source_name'].'[/url]'
|
'[url='.$params['source_link'].']'.$params['source_name'].'[/url]'
|
||||||
);
|
);
|
||||||
|
|
||||||
$body = L10n::t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s ' . "\x28" . '%4$s' . "\x28",
|
$body = L10n::t('Full Name: %1$s\nSite Location: %2$s\nLogin Name: %3$s ' . "\x28" . '%4$s' . "\x29",
|
||||||
$params['source_name'],
|
$params['source_name'],
|
||||||
$siteurl, $params['source_mail'],
|
$siteurl, $params['source_mail'],
|
||||||
$params['source_nick']
|
$params['source_nick']
|
||||||
|
|
Loading…
Reference in a new issue