From: Craig Andrews Date: Sun, 10 Jan 2010 00:01:48 +0000 (-0500) Subject: i18n work in the mail handler X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7dde17862a2feeaed63298f250b07e73e1c98a82;p=quix0rs-gnu-social.git i18n work in the mail handler --- diff --git a/lib/mailhandler.php b/lib/mailhandler.php index 32a8cd9bc5..85be89f186 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)