This commit is contained in:
Chris Buechler 2014-11-12 11:20:17 -06:00
parent 61dec0b078
commit 2b114010dd
4 changed files with 4 additions and 4 deletions

View File

@ -48369,7 +48369,7 @@ msgstr ""
#: usr/local/www/interfaces.php:648 usr/local/www/interfaces.php:644
#: usr/local/www/interfaces.php:644
msgid "MTU of a vlan should not be bigger than parent interface."
msgid "The MTU of a VLAN cannot be greater than that of its parent interface."
msgstr ""
#: usr/local/www/interfaces.php:663 usr/local/www/interfaces.php:659

View File

@ -48379,7 +48379,7 @@ msgstr "あなただけの1インタフェースは6to4のように設定され
#: usr/local/www/interfaces.php:648 usr/local/www/interfaces.php:644
#: usr/local/www/interfaces.php:644
msgid "MTU of a vlan should not be bigger than parent interface."
msgid "The MTU of a VLAN cannot be greater than that of its parent interface."
msgstr "VLANのMTUは、親インターフェイスよりも大きくすべきではない。"
#: usr/local/www/interfaces.php:663 usr/local/www/interfaces.php:659

View File

@ -40727,7 +40727,7 @@ msgstr "Voc
#: usr/local/www/interfaces.php:648 usr/local/www/interfaces.php:644
#: usr/local/www/interfaces.php:649
msgid "MTU of a vlan should not be bigger than parent interface."
msgid "The MTU of a VLAN cannot be greater than that of its parent interface."
msgstr ""
#: usr/local/www/interfaces.php:663 usr/local/www/interfaces.php:659

View File

@ -731,7 +731,7 @@ if ($_POST['apply']) {
$parent_if = convert_real_interface_to_friendly_interface_name($parent_realhwif);
if (!empty($parent_if) && !empty($config['interfaces'][$parent_if]['mtu'])) {
if ($_POST['mtu'] > intval($config['interfaces'][$parent_if]['mtu']))
$input_errors[] = gettext("MTU of a vlan should not be bigger than parent interface.");
$input_errors[] = gettext("The MTU of a VLAN cannot be greater than that of its parent interface.");
}
} else {
foreach ($config['interfaces'] as $idx => $ifdata) {