summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/interfaces_assign.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-25 10:21:04 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-25 10:21:04 +0545
commit0fc3de67462f6e735484933e5abf2bbb9be4bd30 (patch)
tree88ed04a3efc64d27c8b833cc2b819ac737741eee /src/usr/local/www/interfaces_assign.php
parenta2c5280d92c2707c27cbef318b1ced7122c32b0e (diff)
downloadpfsense-0fc3de67462f6e735484933e5abf2bbb9be4bd30.zip
pfsense-0fc3de67462f6e735484933e5abf2bbb9be4bd30.tar.gz
Internationalize interfaces UI code
Diffstat (limited to 'src/usr/local/www/interfaces_assign.php')
-rw-r--r--src/usr/local/www/interfaces_assign.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php
index 0494201..06e5b15 100644
--- a/src/usr/local/www/interfaces_assign.php
+++ b/src/usr/local/www/interfaces_assign.php
@@ -336,7 +336,7 @@ if (isset($_POST['add']) && isset($_POST['if_add'])) {
$members = explode(",", strtoupper($bridge['members']));
foreach ($members as $member) {
if ($member == $ifnames[0]) {
- $input_errors[] = sprintf(gettext("You cannot set port %s to interface %s because this interface is a member of %s."), $portname, $member, $portname);
+ $input_errors[] = sprintf(gettext('You cannot set port %1$s to interface %2$s because this interface is a member of %3$s.'), $portname, $member, $portname);
break;
}
}
@@ -347,7 +347,7 @@ if (isset($_POST['add']) && isset($_POST['if_add'])) {
if (is_array($config['vlans']['vlan'])) {
foreach ($config['vlans']['vlan'] as $vlan) {
if (does_interface_exist($vlan['if']) == false) {
- $input_errors[] = "Vlan parent interface {$vlan['if']} does not exist anymore so vlan id {$vlan['tag']} cannot be created please fix the issue before continuing.";
+ $input_errors[] = sprintf(gettext('Vlan parent interface %1$s does not exist anymore so vlan id %2$s cannot be created please fix the issue before continuing.'), $vlan['if'], $vlan['tag']);
}
}
}
OpenPOWER on IntegriCloud