summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-03 01:09:30 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-03 01:09:30 +0545
commit762faef5db8600855a04a88cb86ff4fec5804682 (patch)
tree14ef5d198793967a3013f9ca224f485151b53a01 /src/usr/local/www/system_routes_edit.php
parent250061b0997147eda9ff04e6ae7faa228dd1a661 (diff)
downloadpfsense-762faef5db8600855a04a88cb86ff4fec5804682.zip
pfsense-762faef5db8600855a04a88cb86ff4fec5804682.tar.gz
Internationalization of various system*.php
Diffstat (limited to 'src/usr/local/www/system_routes_edit.php')
-rw-r--r--src/usr/local/www/system_routes_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_routes_edit.php b/src/usr/local/www/system_routes_edit.php
index 0e81be8..d9ac2c6 100644
--- a/src/usr/local/www/system_routes_edit.php
+++ b/src/usr/local/www/system_routes_edit.php
@@ -130,7 +130,7 @@ if ($_POST) {
} else {
// Note that the 3rd parameter "disabled" must be passed as explicitly true or false.
if (!validate_address_family($_POST['network'], $_POST['gateway'], $_POST['disabled'] ? true : false)) {
- $input_errors[] = gettext("The gateway '{$a_gateways[$_POST['gateway']]['gateway']}' is a different Address Family than network '{$_POST['network']}'.");
+ $input_errors[] = sprintf(gettext('The gateway "%1$s" is a different Address Family than network "%2$s".'), $a_gateways[$_POST['gateway']]['gateway'], $_POST['network']);
}
}
}
OpenPOWER on IntegriCloud