Translation changes, use FancyName in email subject
This commit is contained in:
parent
4abb3f19bf
commit
99fbb181c1
@ -238,7 +238,7 @@ class Profile extends Managed_DataObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mb_strlen($this->getFullname()) > 0) {
|
if (mb_strlen($this->getFullname()) > 0) {
|
||||||
// TRANS: Full name of a profile or group (%1$s) followed by some URI (%2$s) in parentheses.
|
// TRANS: The "fancy name": Full name of a profile or group (%1$s) followed by some URI (%2$s) in parentheses.
|
||||||
return sprintf(_m('FANCYNAME','%1$s (%2$s)'), $this->getFullname(), $uri);
|
return sprintf(_m('FANCYNAME','%1$s (%2$s)'), $this->getFullname(), $uri);
|
||||||
} else {
|
} else {
|
||||||
return $uri;
|
return $uri;
|
||||||
|
@ -712,8 +712,8 @@ function mail_notify_attn(Profile $rcpt, Notice $notice)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TRANS: E-mail subject for notice notification.
|
// TRANS: E-mail subject for notice notification.
|
||||||
// TRANS: %1$s is the sending user's long name, %2$s is the adding user's nickname.
|
// TRANS: %1$s is the "fancy name" for a profile.
|
||||||
$subject = sprintf(_('%1$s (@%2$s) sent a notice to your attention'), $sender->getBestName(), $sender->getNickname());
|
$subject = sprintf(_('%1$s sent a notice to your attention'), $sender->getFancyName());
|
||||||
|
|
||||||
// TRANS: Body of @-reply notification e-mail.
|
// TRANS: Body of @-reply notification e-mail.
|
||||||
// TRANS: %1$s is the sending user's name, $2$s is the StatusNet sitename,
|
// TRANS: %1$s is the sending user's name, $2$s is the StatusNet sitename,
|
||||||
|
Loading…
Reference in New Issue
Block a user