summaryrefslogtreecommitdiffstats
path: root/etc/inc/cmd_chain.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-10-01 10:17:13 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-10-01 10:17:13 -0300
commitaddc0439931fb28c626c7024b1e9857adfe29f29 (patch)
treef6774da34d43b238c3a14a3a43a5b71da0a2f249 /etc/inc/cmd_chain.inc
parent788c1288bae791ac0b3f2a19eb8c6aac8d7a7c22 (diff)
downloadpfsense-addc0439931fb28c626c7024b1e9857adfe29f29.zip
pfsense-addc0439931fb28c626c7024b1e9857adfe29f29.tar.gz
Fix quotes to use %N$X on gettext calls
Diffstat (limited to 'etc/inc/cmd_chain.inc')
-rw-r--r--etc/inc/cmd_chain.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/cmd_chain.inc b/etc/inc/cmd_chain.inc
index 399210e..4c1e69e 100644
--- a/etc/inc/cmd_chain.inc
+++ b/etc/inc/cmd_chain.inc
@@ -98,7 +98,7 @@ Class CmdCHAIN {
$ignore_return_text = $cmd['ignore_return_text'];
// Should we perform verbose debugging?
if($this->is_debugging == true) {
- log_error(sprintf(gettext("CmdCHAIN is executing -> %1$s - %2$s"), $cmd_title, $command));
+ log_error(sprintf(gettext('CmdCHAIN is executing -> %1$s - %2$s'), $cmd_title, $command));
usleep(100); // give network stack time to deliver network syslog message
}
// Execute command
@@ -106,9 +106,9 @@ Class CmdCHAIN {
if($this->ignore_return_text == true)
continue;
if(intval($status) <> 0) {
- log_error(sprintf(gettext("%s failed with return code -> %1$s. The command was %2$s"), $cmd_title, $status, $command));
+ log_error(sprintf(gettext('%1$s failed with return code -> %2$s. The command was %3$s'), $cmd_title, $status, $command));
if($this->halt_on_errors == true)
- return(sprintf(gettext("%s failed with return code -> %1$s. The command was %2$s"), $cmd_title, $status, $command));
+ return(sprintf(gettext('%1$s failed with return code -> %2$s. The command was %3$s'), $cmd_title, $status, $command));
}
}
return;
OpenPOWER on IntegriCloud