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

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