We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f70569dd authored by Siebrand Mazeland's avatar Siebrand Mazeland

Fix incorrect parameter in sprintf(). Spotted by Giftpflanze.

Update translator documentation.
parent e6d053ac
......@@ -44,7 +44,6 @@ if (!defined('STATUSNET')) {
class SiteEmailSummaryHandler extends QueueHandler
* Return transport keyword which identifies items this queue handler
* services; must be defined for all subclasses.
......@@ -181,6 +181,7 @@ class UserEmailSummaryHandler extends QueueHandler
$out->text(' ');
array('href' => $convurl.'#notice-'.$notice->id),
// TRANS: Link text for link to conversation view.
_m('in context'));
......@@ -191,9 +192,11 @@ class UserEmailSummaryHandler extends QueueHandler
$out->raw(sprintf(_m('<p><a href="%1s">change your email settings for %2s</a></p>'),
// TRANS: Link text for link to e-mail settings.
// TRANS: %1$s is a link to the e-mail settings, %2$s is the StatusNet sitename.
$out->raw("<p>" . sprintf(_m('<a href="%1s">change your email settings for %2$s</a>'),
common_config('site', 'name')));
common_config('site', 'name'))."</p>");
......@@ -201,6 +204,7 @@ class UserEmailSummaryHandler extends QueueHandler
// FIXME: do something for people who don't like HTML email
// TRANS: Subject for e-mail.
mail_to_user($user, _m('Updates from your network'), $body,
array('Content-Type' => 'text/html; charset=UTF-8'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment