diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/account.php | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/includes/account.php b/includes/account.php index 7c3748d..497bf58 100644 --- a/includes/account.php +++ b/includes/account.php @@ -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 { |