[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3520] trunk



Revision: 3520
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3520&view=rev
Author:   einhverfr
Date:     2011-07-15 07:29:02 +0000 (Fri, 15 Jul 2011)

Log Message:
-----------
Fixing more localization/printing errors

Modified Paths:
--------------
    trunk/bin/io.pl
    trunk/templates/demo/invoice.tex

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2011-07-15 07:17:26 UTC (rev 3519)
+++ trunk/bin/io.pl	2011-07-15 07:29:02 UTC (rev 3520)
@@ -1749,7 +1749,6 @@
         $output_options{to} = $form->{email};
         $output_options{cc} = $form->{cc};
         $output_options{bcc} = $form->{bcc};
-	##SC: XXX the from address needs fixing
         $output_options{from} = $myconfig{email};
         $output_options{notify} = 1 if $form->{read_receipt};
 	$output_options{message} = $form->{message};
@@ -1835,6 +1834,7 @@
 
     my $template = LedgerSMB::Template->new(
         user => \%myconfig, 
+        locale => $locale,
         template => $form->{'formname'},
         format => uc $form->{format},
         no_escape => true,

Modified: trunk/templates/demo/invoice.tex
===================================================================
--- trunk/templates/demo/invoice.tex	2011-07-15 07:17:26 UTC (rev 3519)
+++ trunk/templates/demo/invoice.tex	2011-07-15 07:29:02 UTC (rev 3520)
@@ -87,7 +87,7 @@
 <?lsmb email ?>
 }
 \parbox[t]{.5\textwidth}{
-\textbf{Ship To}
+\textbf{<?lsmb text('Ship To') ?>}
 \vspace{0.3cm}
 
 <?lsmb shiptoname ?>
@@ -135,7 +135,7 @@
       & \textbf{<?lsmb text('Due') ?>} & \textbf{<?lsmb text('Order #') ?>}
       & \textbf{<?lsmb text('Salesperson') ?>} 
       & \textbf{<?lsmb text('Shipping Point') ?>} 
-      & \textbf{<?lsmb text('Ship via'}) ?> \\ [0.5em]
+      & \textbf{<?lsmb text('Ship via') ?>} \\ [0.5em]
   \hline
   <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> & <?lsmb ordnumber ?> & <?lsmb employee ?>
   & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.