[Rt-commit] r14200 - in rt/branches/3.999-DANGEROUS: share/html/Elements/RT__Model__Ticket share/html/Search share/html/Ticket/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jul 17 02:50:55 EDT 2008


Author: sunnavy
Date: Thu Jul 17 02:50:55 2008
New Revision: 14200

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Elements/RT__Model__Ticket/ColumnMap
   rt/branches/3.999-DANGEROUS/share/html/Search/Results.html
   rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/ShowTime

Log:
 r14605 at sunnavys-mb:  sunnavy | 2008-07-17 14:41:21 +0800
 [quant, _1, ... ] => %quant(%1,...)


Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/RT__Model__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/RT__Model__Ticket/ColumnMap	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/RT__Model__Ticket/ColumnMap	Thu Jul 17 02:50:55 2008
@@ -111,7 +111,7 @@
                     return \'<em>', _('(pending approval)'), \'</em>';
                 }
                 else {
-                    return \'<em>', _('(pending [quant,_1,other ticket])',$count), \'</em>';
+                    return \'<em>', _('(pending %quant(%1,other ticket))',$count), \'</em>';
                 }
             }
             else {

Modified: rt/branches/3.999-DANGEROUS/share/html/Search/Results.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Search/Results.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Search/Results.html	Thu Jul 17 02:50:55 2008
@@ -96,7 +96,6 @@
 <%INIT>
 # Read from user preferences
 my $prefs = Jifty->web->current_user->user_object->preferences("SearchDisplay") || {};
-
 # These variables are what define a search_hash; this is also
 # where we give sane defaults.
 $format      ||= $prefs->{'format'} || RT->config->get('DefaultSearchResultFormat');
@@ -144,7 +143,7 @@
 
 if ( $session{'tickets'}->query()) {
     $ticketcount = $session{tickets}->count_all();
-    $title = _('Found [quant,_1,ticket]', $ticketcount);
+    $title = _('Found %quant(%1,ticket)', $ticketcount);
 } else {
     $title = _("Find tickets");
 }

Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/ShowTime
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/ShowTime	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/ShowTime	Thu Jul 17 02:50:55 2008
@@ -48,7 +48,7 @@
 % if ($minutes < 60) {
 <&|/l, $minutes &>%1 min</&>
 % } else {
-<&|/l, sprintf("%.1f",$minutes / 60) &>[quant,_1,hour]</&> (<&|/l, $minutes &>%1 min</&>)
+<&|/l, sprintf("%.1f",$minutes / 60) &>%quant(%1,hour)</&> (<&|/l, $minutes &>%1 min</&>)
 % }
 <%ARGS>
 $minutes


More information about the Rt-commit mailing list