summaryrefslogtreecommitdiff
path: root/lib/mailhandler.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-09 19:01:48 -0500
committerCraig Andrews <candrews@integralblue.com>2010-01-09 19:04:53 -0500
commit7dde17862a2feeaed63298f250b07e73e1c98a82 (patch)
tree0445dbd157ac905113a45286d386b85cd406857d /lib/mailhandler.php
parentc758b1b1d40d5534e0fc63818bc7d9cf8350de96 (diff)
i18n work in the mail handler
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)