Merge pull request #2832 from NewEraCracker/lang-fixes

(cherry picked from commit c67308d9b8)
This commit is contained in:
Stephen Beaver 2016-04-04 18:41:21 -04:00
parent 53fe857e26
commit 9b6ea44ec7
2 changed files with 3 additions and 3 deletions

View File

@ -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.");
}
}

View File

@ -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:'), "&quot;")?></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>