diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-30 20:36:30 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-30 20:36:30 -0300 |
commit | 47f12397b3ec7f6fa860d21136a7deca9f6573e8 (patch) | |
tree | 2f63de6cc3229518d8704d641ab085d63bfd12da /etc/inc/system.inc | |
parent | 701a250b6ede4936d1dd677b8e1813a440e90c71 (diff) | |
download | pfsense-47f12397b3ec7f6fa860d21136a7deca9f6573e8.zip pfsense-47f12397b3ec7f6fa860d21136a7deca9f6573e8.tar.gz |
Fix gettext calls with printf to permit change strings order
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index bcc0e0e..c21be19 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -338,7 +338,7 @@ function system_routing_configure($interface = "") { if(isset($route_arr['default'])) { $action = "change"; } - log_error(sprintf(gettext("ROUTING: %s default route to %s"), $action, $gatewayip)); + log_error(sprintf(gettext("ROUTING: %1$s default route to %2$s"), $action, $gatewayip)); mwexec("/sbin/route {$action} default " . escapeshellarg($gatewayip)); } else if (is_ipaddr($config['interfaces']['wan']['gateway'])) { /* Adding gateway for 1.2-style configs without the new |