[Rt-commit] r9059 - in rt/branches/3.7-EXPERIMENTAL: .
sartak at bestpractical.com
sartak at bestpractical.com
Fri Sep 14 19:16:04 EDT 2007
Author: sartak
Date: Fri Sep 14 19:16:04 2007
New Revision: 9059
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/GnuPGKeyIssues
Log:
r42706 at onn: sartak | 2007-09-14 19:15:53 -0400
Improve "key issue" message, doesn't break any test regex
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/GnuPGKeyIssues
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/GnuPGKeyIssues (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/GnuPGKeyIssues Fri Sep 14 19:16:04 2007
@@ -47,7 +47,11 @@
%# END BPS TAGGED BLOCK }}}
% if ( @$Issues ) {
<&| /Widgets/TitleBox, title => loc('GnuPG issues') &>
-<% loc("You are going to encrypt outgoing email messages, but there is a problem(s) with recipients' public keys. You have to figure out problems with keys, disable sending a message to some recipients or disable encryption.") %>
+% if (@$Issues == 1) {
+<% loc("You are going to encrypt outgoing email messages, but there is a problem with a recipient's public key. You have to fix the problem with the key, disable sending a message to that recipient, or disable encryption.") %>
+% } else {
+<% loc("You are going to encrypt outgoing email messages, but there are problems with recipients' public keys. You have to fix the problems with the keys, disable sending a message to the recipients with key problems, or disable encryption.") %>
+% }
<ul>
% foreach my $issue ( @$Issues ) {
More information about the Rt-commit
mailing list