Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / FS / FS / TemplateItem_Mixin.pm
index 6644329..569d98c 100644 (file)
@@ -48,7 +48,7 @@ sub part_pkg {
 
 }
 
-=item desc
+=item desc LOCALE
 
 Returns a description for this line item.  For typical line items, this is the
 I<pkg> field of the corresponding B<FS::part_pkg> object (see L<FS::part_pkg>).
@@ -100,7 +100,7 @@ sub time_period_pretty {
   if ( defined($date_style) && $date_style eq 'month_of' ) {
     # (now watch, someone's going to make us do Chinese)
     $time_period = $self->mt('The month of [_1]',
-                      $self->time2str_local('The month of %B', $self->sdate)
+                      $self->time2str_local('%B', $self->sdate)
                    );
   } elsif ( defined($date_style) && $date_style eq 'X_month' ) {
     my $desc = $conf->config( 'cust_bill-line_item-date_description',