Use __f to format some messages

This commit is contained in:
Olivier Perez 2015-09-23 13:47:35 +02:00
parent 929d92da6b
commit 9daef4b09e
7 changed files with 12 additions and 12 deletions

View file

@ -67,7 +67,7 @@ function sendUpdateNotification($poll, $mailService, $type) {
if ($poll->receiveNewVotes) {
$subject = '[' . NOMAPPLICATION . '] ' . __('Mail', 'Notification of poll') . ': ' . $poll->title;
$subject = '[' . NOMAPPLICATION . '] ' . __f('Mail', 'Notification of poll: %s', $poll->title);
$message = '';
switch ($type) {