diff options
author | Michael Tänzer <neo@nhng.de> | 2014-02-25 23:00:38 +0100 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2014-02-25 23:00:38 +0100 |
commit | aad62613f78bc092ddccb839f0155dc98417c481 (patch) | |
tree | 5fd05c88c9d8aaf5938a1e1b7d800ac5450513b2 | |
parent | 0a3e593bae2815a19db3f57ad516eed5e0eb3773 (diff) | |
download | cacert-devel-aad62613f78bc092ddccb839f0155dc98417c481.tar.gz cacert-devel-aad62613f78bc092ddccb839f0155dc98417c481.tar.xz cacert-devel-aad62613f78bc092ddccb839f0155dc98417c481.zip |
bug 448: Inline the static string in printf() and add a note to translators
instead
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r-- | includes/account.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/includes/account.php b/includes/account.php index cceed2b..ca64ffd 100644 --- a/includes/account.php +++ b/includes/account.php @@ -974,7 +974,9 @@ function buildSubjectFromSession() { mysql_query("update `domaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'"); printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']); } - printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)'); + + // 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 @@ -1132,7 +1134,9 @@ function buildSubjectFromSession() { mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'"); printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']); } - printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)'); + + // 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 { @@ -1760,7 +1764,9 @@ function buildSubjectFromSession() { mysql_query("update `orgemailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'"); printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']); } - printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)'); + + // 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 { @@ -2117,7 +2123,9 @@ function buildSubjectFromSession() { mysql_query("update `orgdomaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'"); printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']); } - printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)'); + + // 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 { |