Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Fix deploy locales (#2383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Walid Nouh committed Dec 14, 2017
1 parent 841288b commit 3476600
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inc/deployuserinteraction.class.php
Expand Up @@ -405,17 +405,17 @@ public function getLogMessage($behavior, $type, $event, $user) {
$message .= '/';
switch ($behavior) {
case self::RESPONSE_STOP:
$message .= sprintf(__('Job cancelled by the user %1s',
$message .= sprintf(__('Job cancelled by the user %1$s',
'fusioninventory'), $user);
break;

case self::RESPONSE_CONTINUE:
$message .= sprintf(__('User %1s agreed to continue the job',
$message .= sprintf(__('User %1$s agreed to continue the job',
'fusioninventory'), $user);
break;

case self::RESPONSE_POSTPONE:
$message .= sprintf(__('Job postponed by the user %1s', 'fusioninventory'),
$message .= sprintf(__('Job postponed by the user %1$s', 'fusioninventory'),
$user);
break;

Expand All @@ -429,10 +429,10 @@ public function getLogMessage($behavior, $type, $event, $user) {
}

function getEventMessage($event = '') {
$message = __('%1s button pressed');
$message = __('%1$s button pressed');
switch ($event) {
case 'on_ok':
return sprintf($message, _('OK'));
return sprintf($message, __('OK'));

case 'on_yes':
return sprintf($message, __('Yes'));
Expand Down

0 comments on commit 3476600

Please sign in to comment.