diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-04-07 00:07:13 -0700 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-04-07 00:07:13 -0700 |
commit | a0e3dab3a64aff6045eb3acf40706aead39c306a (patch) | |
tree | 5a873d546858d86bffdb3bc86c694cefe81dfd53 /src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | |
parent | dfaaa729c3d41703f5657fa5ce37a810f649300e (diff) | |
download | pfsense-a0e3dab3a64aff6045eb3acf40706aead39c306a.zip pfsense-a0e3dab3a64aff6045eb3acf40706aead39c306a.tar.gz |
Traffic Shaper Wizard - Remove Personalizations
Remove "you" personalizations.
Diffstat (limited to 'src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc')
-rw-r--r-- | src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc index 918e27a..030d6f3 100644 --- a/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc +++ b/src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc @@ -80,7 +80,7 @@ function step1_submitphpaction() { global $stepid, $savemsg; if (!isset($_POST['numberofconnections'])) { - $savemsg=gettext("You need to specify the number of connections."); + $savemsg=gettext("The number of connections must be specified."); $stepid--; return; } @@ -110,7 +110,7 @@ function step2_stepbeforeformdisplay() { } $numberofconnections = intval($config['ezshaper']['step1']['numberofconnections']); if ($numberofconnections > ($wans < $lans ? $wans : $lans)) { - $savemsg=gettext("You have less interfaces than number of connections!"); + $savemsg=gettext("There are less interfaces than number of connections!"); $stepid--; return; } @@ -304,7 +304,7 @@ function step2_stepsubmitphpaction() { for ($i = 0; $i < $steps; $i++) { for ($j = $i + 1; $j <= $steps; $j++) { if ($_POST["conn{$i}interface"] == $_POST["conn{$j}interface"] || $_POST["conn{$i}interface"] == $_POST["local{$j}interface"]) { - $savemsg=gettext("You cannot select the same interface for connections {$i} and {$j}."); + $savemsg=gettext("The same interface cannot be selected for connections {$i} and {$j}."); $stepid--; return; } @@ -322,7 +322,7 @@ function step2_stepsubmitphpaction() { $upbw = $_POST["conn{$i}upload"]; $downbw = $_POST["conn{$i}download"]; if ($upbw < 1 || $downbw < 1) { - $savemsg = gettext("You cannot specify bandwidth smaller than 1!"); + $savemsg = gettext("The specified bandwidth cannot be less than 1."); $stepid--; return; } @@ -333,7 +333,7 @@ function step2_stepsubmitphpaction() { } } if ($_POST["local{$i}interface"] == $_POST["conn{$j}interface"] || $_POST["local{$i}interface"] == $_POST["local{$j}interface"]) { - $savemsg=gettext("You cannot select the same interface for local and outside."); + $savemsg=gettext("The same interface cannot be selected for local and outside."); $stepid--; return; } @@ -388,7 +388,7 @@ function step3_stepbeforeformdisplay() { $field['name'] = "Provider"; $enablefields[] = "Provider"; $field['type'] = "select"; - $field['description'] = "Choose Generic if your provider isn't listed."; + $field['description'] = "Choose Generic if the provider isn't listed."; $field['options']['option'] = array(); $opts = array(); $opts['name'] = "Generic (lowdelay)"; @@ -414,7 +414,7 @@ function step3_stepbeforeformdisplay() { $field['name'] = "upstream_sip_server"; $enablefields[] = "upstream_sip_server"; $field['type'] = "inputalias"; - $field['description'] = "(Optional) If this is chosen, the provider field will be overridden. This allows you to provide the IP address of the <strong>remote</strong> PBX or SIP Trunk to prioritize. <br />NOTE: You can also use a Firewall Alias in this location."; + $field['description'] = "(Optional) If this is chosen, the provider field will be overridden. This allows providing the IP address of the <strong>remote</strong> PBX or SIP Trunk to prioritize. <br />NOTE: A Firewall Alias can also be used in this location."; $field['message'] = "IP Address field is non-blank and doesn't look like an IP address."; $field['bindstofield'] = "ezshaper->step3->address"; $voipfields[] = $field; @@ -528,7 +528,7 @@ function step3_stepsubmitphpaction() { } if ($_POST["conn{$i}uploadspeed"] == "%") { if (intval($_POST["conn{$i}upload"]) > 80) { - $savemsg=gettext("You cannot set the VoIP upload bandwidth on connection {$i} higher than 80% of the connection."); + $savemsg=gettext("The VoIP upload bandwidth on connection {$i} cannot be set higher than 80% of the connection."); $stepid--; return; } @@ -538,7 +538,7 @@ function step3_stepsubmitphpaction() { $factor = wizard_get_bandwidthtype_scale($_POST["conn{$i}uploadspeed"]); $input_bw = $factor * floatval($_POST["conn{$i}upload"]); if ((0.8 * $ifbw) < $input_bw) { - $savemsg=gettext("You cannot set the VoIP upload bandwidth on connection {$i} higher than 80% of the connection."); + $savemsg=gettext("The VoIP upload bandwidth on connection {$i} cannot be set higher than 80% of the connection."); $stepid--; return; } @@ -553,7 +553,7 @@ function step3_stepsubmitphpaction() { } if ($_POST["local{$i}downloadspeed"] == "%") { if (intval($_POST["local{$i}download"]) > 80) { - $savemsg=gettext("You cannot set the VoIP upload bandwidth on connection {$i} higher than 80% of the connection."); + $savemsg=gettext("The VoIP download bandwidth on connection {$i} cannot be set higher than 80% of the connection."); $stepid--; return; } @@ -563,7 +563,7 @@ function step3_stepsubmitphpaction() { $factor = wizard_get_bandwidthtype_scale($_POST["local{$i}downloadspeed"]); $input_bw = $factor * floatval($_POST["local{$i}download"]); if ((0.8 * $ifbw) < $input_bw) { - $savemsg=gettext("You cannot set the VoIP download bandwidth on connection {$i} higher than 80% of the connection."); + $savemsg=gettext("The VoIP download bandwidth on connection {$i} cannot be set higher than 80% of the connection."); $stepid--; return; } @@ -593,7 +593,7 @@ function step4_stepsubmitphpaction() { if ( $_POST['enable'] ) { if(!$_POST['bandwidth']) { - $savemsg="You need to specify a value for bandwidth!"; + $savemsg="A value for bandwidth must be specified."; $stepid--; return; } |