diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-01-10 14:06:15 +1300 |
commit | 26b03240271d061177a258dbae46bc384dbc9d6a (patch) | |
tree | cedb5e37ed018c3482be18fb2428c9161b8f41a7 /lib/mailhandler.php | |
parent | 42896ac1fbe1b952bb7949c069b2c8c5647c1185 (diff) | |
parent | 40847ea1b5a527af9de88eb02e38922e5704999b (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'lib/mailhandler.php')
-rw-r--r-- | lib/mailhandler.php | 4 |
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) |