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

SF.net SVN: ledger-smb:[3517] trunk/templates/demo/ap_transaction.tex



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

Log Message:
-----------
Translated strings now escaped in templates, and confirmed working in html and latex

Modified Paths:
--------------
    trunk/templates/demo/ap_transaction.tex

Modified: trunk/templates/demo/ap_transaction.tex
===================================================================
--- trunk/templates/demo/ap_transaction.tex	2011-07-15 02:30:47 UTC (rev 3516)
+++ trunk/templates/demo/ap_transaction.tex	2011-07-15 06:01:08 UTC (rev 3517)
@@ -15,7 +15,7 @@
 
 <?lsmb INCLUDE letterhead.tex ?>
 
-\centerline{\textbf{A P} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
+\centerline{\textbf{A P} \hspace{0.3cm} \textbf{<?lsmb text('Transaction') ?>}}
 
 \vspace*{0.5cm}
 
@@ -27,7 +27,7 @@
 <?lsmb address2 ?>
 
 <?lsmb city ?>
-<?lsmb IF state>
+<?lsmb IF state ?>
 \hspace{-0.1cm}, <?lsmb state ?>
 <?lsmb END ?> <?lsmb zipcode ?>
 
@@ -56,16 +56,16 @@
 }
 \hfill
 \begin{tabular}[t]{ll}
-  \textbf{Invoice \#} & <?lsmb invnumber ?> \\
-  \textbf{Date} & <?lsmb invdate ?> \\
-  \textbf{Due} & <?lsmb duedate ?> \\
+  \textbf{<?lsmb text('Invoice #') ?>} & <?lsmb invnumber ?> \\
+  \textbf{<?lsmb text('Date') ?>} & <?lsmb invdate ?> \\
+  \textbf{<?lsmb text('Due') ?>} & <?lsmb duedate ?> \\
   <?lsmb IF ponumber ?>
-    \textbf{PO \#} & <?lsmb ponumber ?> \\
+    \textbf{<?lsmb text('PO #') ?>} & <?lsmb ponumber ?> \\
   <?lsmb END ?>
   <?lsmb IF ordnumber ?>
-    \textbf{Order \#} & <?lsmb ordnumber ?> \\
+    \textbf{<?lsmb text('Order #') ?>} & <?lsmb ordnumber ?> \\
   <?lsmb END ?>
-  \textbf{Employee} & <?lsmb employee ?> \\
+  \textbf{<?lsmb text('Employee') ?>} & <?lsmb employee ?> \\
 \end{tabular}
 
 \vspace{1cm}
@@ -103,9 +103,9 @@
 
 <?lsmb IF paid_1 ?>
 ..hidden..@{}}
-  \multicolumn{5}{c}{\textbf{Payments}} \\
+  \multicolumn{5}{c}{\textbf{<?lsmb text('Payments') ?>}} \\
   \hline
-  \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
+  \textbf{<?lsmb text('Date') ?>} & & \textbf{<?lsmb text('Source') ?>} & \textbf{<?lsmb text('Memo') ?>} & \textbf{<?lsmb text('Amount') ?>} \\
 <?lsmb END ?>
 <?lsmb FOREACH payment ?>
 <?lsmb lc = loop.count - 1 ?>


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