[Rt-commit] rt branch, 4.4/provide-more-public-key-details, updated. rt-4.4.4-159-gd89f0aa0a3

Dianne Skoll dianne at bestpractical.com
Fri Nov 13 09:01:26 EST 2020


The branch, 4.4/provide-more-public-key-details has been updated
       via  d89f0aa0a37caf5d0b5cfde09b5ac572b739b539 (commit)
      from  a6a6c7eedd7207c2f26ffa458e1e2fdd81118708 (commit)

Summary of changes:
 share/html/Crypt/GetGPGPubkey.html | 2 +-
 share/html/Elements/CryptStatus    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit d89f0aa0a37caf5d0b5cfde09b5ac572b739b539
Author: Dianne Skoll <dianne at bestpractical.com>
Date:   Fri Nov 13 09:01:04 2020 -0500

    Keep t/i18n/extract.t happy by eliminating extraneous space in to-be-localized text.

diff --git a/share/html/Crypt/GetGPGPubkey.html b/share/html/Crypt/GetGPGPubkey.html
index eb10caa0e4..89adc18506 100644
--- a/share/html/Crypt/GetGPGPubkey.html
+++ b/share/html/Crypt/GetGPGPubkey.html
@@ -64,7 +64,7 @@ if (!$Fingerprint) {
 } else {
     my $key = RT::Crypt::GnuPG->GetPubkey($Fingerprint);
     if (!$key) {
-        push(@results, loc('Could not find GnuPG public key with fingerprint [_1].'));
+        push(@results, loc('Could not find GnuPG public key with fingerprint [_1].', $Fingerprint));
     } else {
         $r->content_type('application/pgp-keys');
         $r->header_out('Content-Disposition' => "attachment; filename=\"$Fingerprint.pub\"");
diff --git a/share/html/Elements/CryptStatus b/share/html/Elements/CryptStatus
index f40f281767..091305cb6e 100644
--- a/share/html/Elements/CryptStatus
+++ b/share/html/Elements/CryptStatus
@@ -103,7 +103,7 @@ sub KeyDownloadLink {
     my $txt = '';
     if ($protocol eq 'GnuPG') {
         if ($line->{Fingerprint} && $line->{Fingerprint} !~ /[^0-9A-F]/i) {
-            $txt = '<a href="' . RT->Config->Get('WebPath') . '/Crypt/GetGPGPubkey.html?Fingerprint=' . $line->{Fingerprint} . '">' . loc(' (Download Public Key)') . '</a>';
+            $txt = '<a href="' . RT->Config->Get('WebPath') . '/Crypt/GetGPGPubkey.html?Fingerprint=' . $line->{Fingerprint} . '"> ' . loc('(Download Public Key)') . '</a>';
         }
     }
     return $txt;

-----------------------------------------------------------------------


More information about the rt-commit mailing list