[Rt-commit] r5642 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Jul 21 14:18:04 EDT 2006


Author: jesse
Date: Fri Jul 21 14:18:04 2006
New Revision: 5642

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/lib/RT/Report/Tickets.pm

Log:
 r14319 at pinglin:  jesse | 2006-07-21 11:17:54 -0700
  * more updates from jason


Modified: rt/branches/3.6-RELEASE/lib/RT/Report/Tickets.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Report/Tickets.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Report/Tickets.pm	Fri Jul 21 14:18:04 2006
@@ -340,7 +340,7 @@
             my $token = $tokens[ ( ( log $want ) / ( log 2 ) ) ];
             push @actions,
               [
-                $self->loc(
+                $self->CurrentUser->loc(
 "current: $current, want $want, Error near ->$val<- expecting a "
                       . $token
                       . " in '$string'\n"
@@ -407,12 +407,12 @@
                 $val = "'$val'";
             }
 
-            push @actions, [ loc("Unknown field: $key"), -1 ] unless $class;
+            push @actions, [ $self->CurrentUser->loc("Unknown field: $key"), -1 ] unless $class;
 
             $want = PAREN | AGGREG;
         }
         else {
-            push @actions, [ loc("I'm lost"), -1 ];
+            push @actions, [ $self->CurrentUser->loc("I'm lost"), -1 ];
         }
 
         if ( $current & VALUE ) {
@@ -435,14 +435,14 @@
         $last = $current;
     }    # while
 
-    push @actions, [ loc("Incomplete query"), -1 ]
+    push @actions, [ $self->CurrentUser->loc("Incomplete query"), -1 ]
       unless ( ( $want | PAREN ) || ( $want | KEYWORD ) );
 
-    push @actions, [ loc("Incomplete Query"), -1 ]
+    push @actions, [ $self->CurrentUser->loc("Incomplete Query"), -1 ]
       unless ( $last && ( $last | PAREN ) || ( $last || VALUE ) );
 
     # This will never happen, because the parser will complain
-    push @actions, [ loc("Mismatched parentheses"), -1 ]
+    push @actions, [ $self->CurrentUser->loc("Mismatched parentheses"), -1 ]
       unless $depth == 1;
 };
 


More information about the Rt-commit mailing list