[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.7-914-ga5dd10a

Shawn Moore sartak at bestpractical.com
Thu Dec 16 19:18:29 EST 2010


The branch, 3.9-trunk has been updated
       via  a5dd10a5cb8b1181b317b52434d3357f19958d7f (commit)
       via  62997cd255b97cb46513fa9ed9007e4f879f8b97 (commit)
      from  26a13168b6d75c49e8fdc507bedeaa227bdd8573 (commit)

Summary of changes:
 lib/RT/Class_Overlay.pm                  |    2 +-
 share/html/Elements/RT__Ticket/ColumnMap |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit 62997cd255b97cb46513fa9ed9007e4f879f8b97
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 16 19:10:48 2010 -0500

    Move whitespace outside of loc

diff --git a/share/html/Elements/RT__Ticket/ColumnMap b/share/html/Elements/RT__Ticket/ColumnMap
index 4e58553..a44e067 100644
--- a/share/html/Elements/RT__Ticket/ColumnMap
+++ b/share/html/Elements/RT__Ticket/ColumnMap
@@ -261,10 +261,10 @@ $COLUMN_MAP = {
             {
                 my %key = RT::Crypt::GnuPG::GetKeyInfo($email);
                 if (!defined $key{'info'}) {
-                    $email .= loc(" (no pubkey!)");
+                    $email .= ' ' . loc("(no pubkey!)");
                 }
                 elsif ($key{'info'}{'TrustLevel'} == 0) {
-                    $email .= loc(" (untrusted!)");
+                    $email .= ' ' . loc("(untrusted!)");
                 }
             }
             return join ', ', @requestors;

commit a5dd10a5cb8b1181b317b52434d3357f19958d7f
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Dec 16 19:13:34 2010 -0500

    Remove more bad whitespace in loc()

diff --git a/lib/RT/Class_Overlay.pm b/lib/RT/Class_Overlay.pm
index c4fabe0..0bda56b 100644
--- a/lib/RT/Class_Overlay.pm
+++ b/lib/RT/Class_Overlay.pm
@@ -400,7 +400,7 @@ sub AddToObject {
 
     if ( $id ) {
         # applying locally
-        return (0, $self->loc("Class is already applied Globally ") )
+        return (0, $self->loc("Class is already applied Globally") )
             if $self->IsApplied( 0 );
     }
     else {

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


More information about the Rt-commit mailing list