summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-04-03 00:18:54 -0700
committerNOYB <Al_Stu@Frontier.com>2016-04-03 00:18:54 -0700
commitb6078bede2b5df3fd86ca7a989d9bbd079fb617b (patch)
tree6ca802c49853ee9105354a57609a1a9bba46a554 /src/usr/local/www/diag_backup.php
parent75173246398545de3de104648c068444d51175a1 (diff)
downloadpfsense-b6078bede2b5df3fd86ca7a989d9bbd079fb617b.zip
pfsense-b6078bede2b5df3fd86ca7a989d9bbd079fb617b.tar.gz
Diagnostics - Remove Personalizations
Remove "you" personalizations.
Diffstat (limited to 'src/usr/local/www/diag_backup.php')
-rw-r--r--src/usr/local/www/diag_backup.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php
index 5b49019..5b8abbc 100644
--- a/src/usr/local/www/diag_backup.php
+++ b/src/usr/local/www/diag_backup.php
@@ -226,7 +226,7 @@ if ($_POST) {
if ($mode == "download") {
if ($_POST['encrypt']) {
if (!$_POST['encrypt_password']) {
- $input_errors[] = gettext("You must supply and confirm the password for encryption.");
+ $input_errors[] = gettext("A password for encryption must be supplied and confirmed.");
}
}
@@ -301,7 +301,7 @@ if ($_POST) {
if ($mode == "restore") {
if ($_POST['decrypt']) {
if (!$_POST['decrypt_password']) {
- $input_errors[] = gettext("You must supply and confirm the password for decryption.");
+ $input_errors[] = gettext("A password for encryption must be supplied and confirmed.");
}
}
@@ -332,10 +332,10 @@ if ($_POST) {
if ($_POST['restorearea']) {
/* restore a specific area of the configuration */
if (!stristr($data, "<" . $_POST['restorearea'] . ">")) {
- $input_errors[] = gettext("You have selected to restore an area but we could not locate the correct xml tag.");
+ $input_errors[] = gettext("An area to restore was selected but the correct xml tag could not be located.");
} else {
if (!restore_config_section($_POST['restorearea'], $data)) {
- $input_errors[] = gettext("You have selected to restore an area but we could not locate the correct xml tag.");
+ $input_errors[] = gettext("An area to restore was selected but the correct xml tag could not be located.");
} else {
if ($config['rrddata']) {
restore_rrddata();
@@ -347,12 +347,12 @@ if ($_POST) {
conf_mount_ro();
}
filter_configure();
- $savemsg = gettext("The configuration area has been restored. You may need to reboot the firewall.");
+ $savemsg = gettext("The configuration area has been restored. The firewall may need to be rebooted.");
}
}
} else {
if (!stristr($data, "<" . $g['xml_rootobj'] . ">")) {
- $input_errors[] = sprintf(gettext("You have selected to restore the full configuration but we could not locate a %s tag."), $g['xml_rootobj']);
+ $input_errors[] = sprintf(gettext("A full configuration restore was selected but a %s tag could not be located."), $g['xml_rootobj']);
} else {
/* restore the entire configuration */
file_put_contents($_FILES['conffile']['tmp_name'], $data);
@@ -529,7 +529,7 @@ if ($_POST) {
clear_subsystem_dirty('packagelock');
$savemsg = "Package lock cleared.";
} else if ($mode == "restore_ver") {
- $input_errors[] = gettext("XXX - this feature may hose your config (do NOT backrev configs!) - billm");
+ $input_errors[] = gettext("XXX - this feature may hose the config (do NOT backrev configs!) - billm");
if ($ver2restore <> "") {
$conf_file = "{$g['cf_conf_path']}/bak/config-" . strtotime($ver2restore) . ".xml";
if (config_install($conf_file) == 0) {
OpenPOWER on IntegriCloud