diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-04-09 00:47:53 -0700 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-04-09 00:47:53 -0700 |
commit | 34ee66390773f9dd042ca013d028168dc263564e (patch) | |
tree | df10c96f5b4f08f2cf7492562b9a45ff5443e0e8 /src | |
parent | fb72cec32af8b84b1158cbab2e9a0e00871f974f (diff) | |
download | pfsense-34ee66390773f9dd042ca013d028168dc263564e.zip pfsense-34ee66390773f9dd042ca013d028168dc263564e.tar.gz |
Miscellaneous II - Remove Personalizations
Remove "you" personalizations.
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/authgui.inc | 4 | ||||
-rw-r--r-- | src/etc/inc/config.console.inc | 25 | ||||
-rw-r--r-- | src/usr/local/www/diag_confbak.php | 2 | ||||
-rwxr-xr-x | src/usr/local/www/diag_halt.php | 2 | ||||
-rwxr-xr-x | src/usr/local/www/diag_reboot.php | 2 | ||||
-rwxr-xr-x | src/usr/local/www/pkg.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 12 | ||||
-rw-r--r-- | src/usr/local/www/status_logs_filter.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/vpn_ipsec.php | 4 |
9 files changed, 28 insertions, 29 deletions
diff --git a/src/etc/inc/authgui.inc b/src/etc/inc/authgui.inc index e1289ac..cbaac9f 100644 --- a/src/etc/inc/authgui.inc +++ b/src/etc/inc/authgui.inc @@ -262,7 +262,7 @@ if (isset($config['system']['webgui']['webguicss'])) { <?php if (is_ipaddr($http_host) && !$local_ip && !isset($config['system']['webgui']['nohttpreferercheck'])) { $nifty_background = "#999"; - print_info_box(gettext("You are accessing this router by an IP address not configured locally, which may be forwarded by NAT or other means. <br /><br />If you did not setup this forwarding, you may be the target of a man-in-the-middle attack.")); + print_info_box(gettext("The IP address being used to access this router is not configured locally, which may be forwarded by NAT or other means. <br /><br />If this forwarding is unexpected, it should be verified that a man-in-the-middle attack is not taking place.")); } $loginautocomplete = isset($config['system']['webgui']['loginautocomplete']) ? '' : 'autocomplete="off"'; @@ -277,7 +277,7 @@ if (isset($config['system']['webgui']['webguicss'])) { <?php if (!empty($_SESSION['Login_Error'])): ?> <div class="alert alert-danger" role="alert"><?=$_SESSION['Login_Error'];?></div> <?php endif ?> - <div class="alert alert-warning hidden" id="no_cookies"><?= gettext("Your browser must support cookies to login."); ?></div> + <div class="alert alert-warning hidden" id="no_cookies"><?= gettext("The browser must support cookies to login."); ?></div> <form method="post" <?= $loginautocomplete ?> action="<?=$_SERVER['SCRIPT_NAME'];?>" class="form-horizontal"> <div class="form-group"> diff --git a/src/etc/inc/config.console.inc b/src/etc/inc/config.console.inc index 54ad6c8..75c8c74 100644 --- a/src/etc/inc/config.console.inc +++ b/src/etc/inc/config.console.inc @@ -125,7 +125,7 @@ EOD; "If VLANs will not be used, or only for optional interfaces, it is typical to\n" . "say no here and use the webConfigurator to configure VLANs later, if required.") . "\n"; - echo "\n" . gettext("Do you want to set up VLANs now [y|n]?") . " "; + echo "\n" . gettext("Should VLANs be set up now [y|n]?") . " "; if ($auto_assign) { $key = timeout(); @@ -139,15 +139,14 @@ EOD; !!! Auto Assigning Interfaces !!! -For installation purposes, you must plug in at least one NIC -for the LAN connection. If you plug in a second NIC it will be -assigned to WAN. Otherwise, WAN will be temporarily assigned to the -next available NIC found regardless of activity. You should -assign and configure the WAN interface according to your requirements +For setup purposes, there must be at least one NIC connected for +the LAN. If a second NIC is connected, it will be assigned to the +WAN. Otherwise, WAN will be temporarily assigned to the next +available NIC found regardless of activity. The WAN interface +should then be assigned and configured as required. -If you haven't plugged in any network cables yet, -now is the time to do so. -The system will keep trying until you do. +Please make the pfSense NIC connections now. +The system will continue checking until they have been made. Searching for active interfaces... @@ -213,9 +212,9 @@ EOD; echo <<<EOD -If you do not know the names of the interfaces, you may choose to use -auto-detection. In that case, disconnect all interfaces now before -hitting 'a' to initiate auto detection. +If the names of the interfaces are not known, auto-detection can +be used instead. To use auto-detection, please disconnect all +interfaces before pressing 'a' to begin the process. EOD; @@ -477,7 +476,7 @@ EOD; return; } - echo gettext("One moment while we reload the settings..."); + echo gettext("One moment while the settings are reloading..."); echo gettext(" done!") . "\n"; touch("{$g['tmp_path']}/assign_complete"); diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php index f42d1da..43aae0a 100644 --- a/src/usr/local/www/diag_confbak.php +++ b/src/usr/local/www/diag_confbak.php @@ -292,7 +292,7 @@ if (is_array($confvers)): <td><?= format_bytes($version['filesize']) ?></td> <td><?= htmlspecialchars($version['description']) ?></td> <td> - <a class="fa fa-undo" title="<?=gettext('Revert config')?>" href="diag_confbak.php?newver=<?=$version['time']?>" onclick="return confirm('<?=gettext("Are you sure you want to replace the current configuration with this backup?")?>')"></a> + <a class="fa fa-undo" title="<?=gettext('Revert config')?>" href="diag_confbak.php?newver=<?=$version['time']?>" onclick="return confirm('<?=gettext("Confirmation Required to replace the current configuration with this backup.")?>')"></a> <a class="fa fa-download" title="<?=gettext('Download config')?>" href="diag_confbak.php?getcfg=<?=$version['time']?>"></a> <a class="fa fa-trash" title="<?=gettext('Delete config')?>" href="diag_confbak.php?rmver=<?=$version['time']?>"></a> </td> diff --git a/src/usr/local/www/diag_halt.php b/src/usr/local/www/diag_halt.php index 3de8bb5..39cdb55 100755 --- a/src/usr/local/www/diag_halt.php +++ b/src/usr/local/www/diag_halt.php @@ -96,7 +96,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { <div class="panel panel-default"> <div class="panel-heading"> - <h2 class="panel-title"><?=gettext('Are you sure you want to halt the system?')?></h2> + <h2 class="panel-title"><?=gettext('System Halt Confirmation')?></h2> </div> <div class="panel-body"> <div class="content"> diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php index de9ef97..88fc82b 100755 --- a/src/usr/local/www/diag_reboot.php +++ b/src/usr/local/www/diag_reboot.php @@ -137,7 +137,7 @@ events.push(function() { <div class="panel panel-default"> <div class="panel-heading"> - <h2 class="panel-title"><?=gettext('Are you sure you want to reboot the system?')?></h2> + <h2 class="panel-title"><?=gettext('System Reboot Confirmation')?></h2> </div> <div class="panel-body"> <div class="content"> diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php index dba62f0..2a34885 100755 --- a/src/usr/local/www/pkg.php +++ b/src/usr/local/www/pkg.php @@ -292,7 +292,7 @@ events.push(function() { function save_changes_to_xml(xml) { var ids = $('#mainarea table tbody').sortable('serialize', {key:"ids[]"}); var strloading="<?=gettext('Saving changes...')?>"; - if (confirm("<?=gettext("Do you really want to save changes?")?>")) { + if (confirm("<?=gettext("Confirmation Required to save changes.")?>")) { $.ajax({ type: 'get', cache: false, diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index c234385..10d58f3 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -275,14 +275,14 @@ if ($input_errors) { switch ($pkgmode) { case 'reinstallpkg': - $pkgtxt = sprintf(gettext('Are you sure you want to reinstall package %s?'), $pkgname); + $pkgtxt = sprintf(gettext('Confirmation Required to reinstall package %s.'), $pkgname); break; case 'delete': - $pkgtxt = sprintf(gettext('Are you sure you want to remove package %s?'), $pkgname); + $pkgtxt = sprintf(gettext('Confirmation Required to remove package %s.'), $pkgname); break; case 'installed': default: - $pkgtxt = sprintf(gettext('Are you sure you want to install package %s?'), $pkgname); + $pkgtxt = sprintf(gettext('Confirmation Required to install package %s.'), $pkgname); break; } ?> @@ -292,15 +292,15 @@ if ($input_errors) { <?php if ($pkgmode == 'reinstallall') { ?> - <?=gettext("Are you sure you want to reinstall all packages?");?> + <?=gettext("Confirmation Required to reinstall all packages.");?> <?php } else if ($_GET['from'] && $_GET['to']) { ?> - <?=sprintf(gettext('Are you sure you want to upgrade package %1$s from %2$s to %3$s?'), $pkgname, $_GET['from'], $_GET['to'])?> + <?=sprintf(gettext('Confirmation Required to upgrade package %1$s from %2$s to %3$s.'), $pkgname, $_GET['from'], $_GET['to'])?> <?php } else if ($firmwareupdate) { ?> - <?=sprintf(gettext('Are you sure you want to update %s system?'), $g['product_name'])?> + <?=sprintf(gettext('Confirmation Required to update %s system.'), $g['product_name'])?> <?php } else { ?> diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php index 0b09961..8c7d6a2 100644 --- a/src/usr/local/www/status_logs_filter.php +++ b/src/usr/local/www/status_logs_filter.php @@ -266,7 +266,7 @@ if (!$rawfilter) { <i class="fa fa-info icon-pointer icon-primary" onclick="javascript:resolve_with_ajax('<?="{$filterent['srcip']}"; ?>');" title="<?=gettext("Click to resolve")?>"> </i> - <a class="fa fa-minus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=block&int={$int}&src={$filterent['srcip']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Do you really want to add this BLOCK rule?")?>')"> + <a class="fa fa-minus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=block&int={$int}&src={$filterent['srcip']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Add to Block List")?>" onclick="return confirm('<?=gettext("Confirmation required to add this BLOCK rule.")?>')"> </a> <?=$srcstr . '<span class="RESOLVE-' . $src_htmlclass . '"></span>'?> @@ -275,7 +275,7 @@ if (!$rawfilter) { <i class="fa fa-info icon-pointer icon-primary; ICON-<?= $dst_htmlclass; ?>" onclick="javascript:resolve_with_ajax('<?="{$filterent['dstip']}"; ?>');" title="<?=gettext("Click to resolve")?>"> </i> - <a class="fa fa-plus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=pass&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Do you really want to add this PASS rule?")?>')"> + <a class="fa fa-plus-square-o icon-pointer icon-primary" href="easyrule.php?<?="action=pass&int={$int}&proto={$proto}&src={$filterent['srcip']}&dst={$filterent['dstip']}&dstport={$filterent['dstport']}&ipproto={$ipproto}"; ?>" title="<?=gettext("Easy Rule: Pass this traffic")?>" onclick="return confirm('<?=gettext("Confirmation required to add this PASS rule.")?>')"> </a> <?=$dststr . '<span class="RESOLVE-' . $dst_htmlclass . '"></span>'?> </td> diff --git a/src/usr/local/www/vpn_ipsec.php b/src/usr/local/www/vpn_ipsec.php index cafded4..8d2ad76 100644 --- a/src/usr/local/www/vpn_ipsec.php +++ b/src/usr/local/www/vpn_ipsec.php @@ -577,13 +577,13 @@ events.push(function() { }); $('[id^=Xdel_]').click(function (event) { - if (confirm("<?=gettext('Are you sure you wish to delete this P1 entry?')?>")) { + if (confirm("<?=gettext('Confirmation required to delete this P1 entry.')?>")) { $('#' + event.target.id.slice(1)).click(); } }); $('[id^=Xdelp2_]').click(function (event) { - if (confirm("<?=gettext('Are you sure you wish to delete this P2 entry?')?>")) { + if (confirm("<?=gettext('Confirmation required to delete this P2 entry.')?>")) { $('#' + event.target.id.slice(1)).click(); } }); |