summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_routes_edit.php
diff options
context:
space:
mode:
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