summaryrefslogtreecommitdiff
path: root/lib/mailhandler.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
commit0c4dbf158812da899ffe7969e0f2287bfc15ec5e (patch)
treed7bb7fc9ff0793b39cb8fec018f53c4c11434630 /lib/mailhandler.php
parentb0aea3f9c1cf9a6402bcb2751ac767445103a70b (diff)
parenta07d8dab256d7841c3695267bdfe7540a0ced4d7 (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/mailhandler.php')
-rw-r--r--lib/mailhandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mailhandler.php b/lib/mailhandler.php
index 32a8cd9bc..85be89f18 100644
--- a/lib/mailhandler.php
+++ b/lib/mailhandler.php
@@ -139,7 +139,7 @@ class MailHandler
$headers['From'] = $to;
$headers['To'] = $from;
- $headers['Subject'] = "Command complete";
+ $headers['Subject'] = _('Command complete');
return mail_send(array($from), $headers, $response);
}
@@ -225,7 +225,7 @@ class MailHandler
function unsupported_type($type)
{
- $this->error(null, "Unsupported message type: " . $type);
+ $this->error(null, sprintf(_('Unsupported message type: %s'), $type));
}
function cleanup_msg($msg)