Merge pull request #2804 from NOYB/System_/_Routing_/_Gateways_-_Remove_Personalizations

This commit is contained in:
jim-p 2016-03-29 10:34:42 -04:00
commit f1f1edbe1a
2 changed files with 5 additions and 5 deletions

View File

@ -255,7 +255,7 @@ if ($savemsg) {
}
if (is_subsystem_dirty('staticroutes')) {
print_apply_box(gettext("The gateway configuration has been changed.") . "<br />" . gettext("You must apply the changes in order for them to take effect."));
print_apply_box(gettext("The gateway configuration has been changed.") . "<br />" . gettext("The changes must be applied for them to take effect."));
}
$tab_array = array();

View File

@ -302,7 +302,7 @@ if ($_POST) {
}
if (is_ipaddr($_POST['monitor'])) {
if (($gateway['monitor'] <> "") && ($_POST['monitor'] == $gateway['monitor']) && ($gateway['attribute'] !== "system")) {
$input_errors[] = sprintf(gettext('The monitor IP address "%s" is already in use. You must choose a different monitor IP.'), $_POST['monitor']);
$input_errors[] = sprintf(gettext('The monitor IP address "%s" is already in use. A different monitor IP must be chosen.'), $_POST['monitor']);
break;
}
}
@ -698,7 +698,7 @@ $section->addInput(new Form_Input(
'Description',
'text',
$pconfig['descr']
))->setHelp('You may enter a description here for your reference (not parsed).');
))->setHelp('A description may be entered here for reference (not parsed).');
// Add a button to provide access to the advanced fields
$btnadv = new Form_Button(
@ -845,8 +845,8 @@ $section->addInput(new Form_StaticText(
gettext('Rounding up to the nearest whole number will yield the resolution of loss ' .
'reporting in percent. The default values provide a resolution of 1%.') .
'<br/><br/>' .
gettext('The default settings are recommended for most use cases. However if you ' .
'change the settings, please observe the following restrictions:') .
gettext('The default settings are recommended for most use cases. However if ' .
'changing the settings, please observe the following restrictions:') .
'<br/><br/>' .
gettext('- The time period must be greater than twice the probe interval plus the loss ' .
'interval. This guarantees there is at least one completed probe at all times. ') .