"when revoking a certificate, confusing info is given to the user"
This commit is contained in:
Wytze van der Raay 2014-03-24 11:38:41 +00:00
parent 487b164d5a
commit eff4f484ff

View file

@ -972,8 +972,12 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `domaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
}
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
}
else
{
@ -1128,8 +1132,11 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
}
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
}
else
{
@ -1755,8 +1762,11 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `orgemailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
}
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
}
else
{
@ -2111,8 +2121,11 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `orgdomaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
}
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
}
else
{