diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-04-04 17:23:02 +0100 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-04-04 17:23:02 +0100 |
commit | 89854d712a2493968fdd71bb3590d01c8855b099 (patch) | |
tree | 3d8610f1b05f5bd6ccf9d377ce66fe40343d46c4 /src/usr/local/www/diag_backup.php | |
parent | ebefc6a84bcc1ee07200f3c8d40e47294b8e9856 (diff) | |
download | pfsense-89854d712a2493968fdd71bb3590d01c8855b099.zip pfsense-89854d712a2493968fdd71bb3590d01c8855b099.tar.gz |
Fixes to linguistic issues introduced by recent commits
1) encryption vs decryption typos. 2) unnecessary sprintf.
Diffstat (limited to 'src/usr/local/www/diag_backup.php')
-rw-r--r-- | src/usr/local/www/diag_backup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php index f446e6c..1324fc2 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("A password for decryption must be supplied and confirmed."); + $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("A password for encryption must be supplied and confirmed."); + $input_errors[] = gettext("A password for decryption must be supplied and confirmed."); } } |