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 | |
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.
-rw-r--r-- | src/usr/local/www/diag_backup.php | 4 | ||||
-rwxr-xr-x | src/usr/local/www/diag_defaults.php | 2 |
2 files changed, 3 insertions, 3 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."); } } diff --git a/src/usr/local/www/diag_defaults.php b/src/usr/local/www/diag_defaults.php index 130045d..f59f161 100755 --- a/src/usr/local/www/diag_defaults.php +++ b/src/usr/local/www/diag_defaults.php @@ -90,7 +90,7 @@ include("head.inc"); <div class="panel-body"> <div class="content"> <form action="diag_defaults.php" method="post"> - <p><strong><?=sprintf(gettext('Resetting the system to factory defaults will remove all user configuration and apply the following settings:'), """)?></strong></p> + <p><strong><?=gettext('Resetting the system to factory defaults will remove all user configuration and apply the following settings:')?></strong></p> <ul> <li><?=gettext("Reset to factory defaults")?></li> <li><?=gettext("LAN IP address will be reset to 192.168.1.1")?></li> |