X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FCryptStatus;h=ca4766ba3ee13b5417cb5e43121518a32b44e3cf;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=b022b10299d0552d6f017b6f6fa1025cb5ce709e;hpb=0ed195595b5c7ea404c8848d9d1881ada4214489;p=freeside.git diff --git a/rt/share/html/Elements/CryptStatus b/rt/share/html/Elements/CryptStatus index b022b1029..ca4766ba3 100644 --- a/rt/share/html/Elements/CryptStatus +++ b/rt/share/html/Elements/CryptStatus @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -147,7 +147,7 @@ foreach my $run ( @runs ) { push @messages, { Tag => $protocol, Classes => [qw/keycheck bad/], - Value => loc( "Public key '0x[_1]' is required to verify signature", $line->{'Key'} ), + Value => $m->interp->apply_escapes( loc( "Public key '0x[_1]' is required to verify signature", $line->{'Key'} ), 'h'), }; } } @@ -156,21 +156,21 @@ foreach my $run ( @runs ) { push @messages, { Tag => $protocol, Classes => ['passphrasecheck', lc $line->{Status}], - Value => loc( $line->{'Message'} ), + Value => $m->interp->apply_escapes( loc( $line->{'Message'} ), 'h'), }; } elsif ( $line->{'Operation'} eq 'Decrypt' ) { push @messages, { Tag => $protocol, Classes => ['decrypt', lc $line->{Status}], - Value => loc( $line->{'Message'} ), + Value => $m->interp->apply_escapes( loc( $line->{'Message'} ), 'h'), }; } elsif ( $line->{'Operation'} eq 'Verify' ) { push @messages, { Tag => $protocol, Classes => ['verify', lc $line->{Status}, 'trust-'.($line->{Trust} || 'UNKNOWN')], - Value => loc( $line->{'Message'} ), + Value => $m->interp->apply_escapes( loc( $line->{'Message'} ), 'h'), }; } else { @@ -178,7 +178,7 @@ foreach my $run ( @runs ) { push @messages, { Tag => $protocol, Classes => [lc $line->{Operation}, lc $line->{Status}], - Value => loc( $line->{'Message'} ), + Value => $m->interp->apply_escapes( loc( $line->{'Message'} ), 'h'), } } }