fix "the month of" text on invoices, #24850
authorMark Wells <mark@freeside.biz>
Wed, 29 Jan 2014 02:08:53 +0000 (18:08 -0800)
committerMark Wells <mark@freeside.biz>
Wed, 29 Jan 2014 02:08:53 +0000 (18:08 -0800)
FS/FS/cust_bill.pm

index 9d1631f..45f86ed 100644 (file)
@@ -5135,7 +5135,9 @@ sub _items_cust_bill_pkg {
                                             $cust_main->agentnum
                                           );
             if ( defined($date_style) && $date_style eq 'month_of' ) {
-              $time_period = $self->time2str_local('The month of %B', $cust_bill_pkg->sdate);
+              $time_period = $self->mt('The month of [_1]',
+                               $self->time2str_local('%B', $cust_bill_pkg->sdate)
+                             );
             } elsif ( defined($date_style) && $date_style eq 'X_month' ) {
               my $desc = $conf->config( 'cust_bill-line_item-date_description',
                                          $cust_main->agentnum