[Erp5-report] r19175 - in /experimental/bt5/erp5_accounting_experimental: SkinTemplateItem/...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 8 13:54:27 CET 2008


Author: bartek
Date: Fri Feb  8 13:54:27 2008
New Revision: 19175

URL: http://svn.erp5.org?rev=19175&view=rev
Log:
translation tags, and some style fixes

Modified:
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml
    experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml
    experimental/bt5/erp5_accounting_experimental/bt/revision

Modified: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml?rev=19175&r1=19174&r2=19175&view=diff
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml (original)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_macro_library.xml Fri Feb  8 13:54:27 2008
@@ -48,7 +48,8 @@
 <office:document-content xmlns:office=\'urn:oasis:names:tc:opendocument:xmlns:office:1.0\' xmlns:text=\'urn:oasis:names:tc:opendocument:xmlns:text:1.0\' xmlns:number=\'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\' xmlns:meta=\'urn:oasis:names:tc:opendocument:xmlns:meta:1.0\' xmlns:table=\'urn:oasis:names:tc:opendocument:xmlns:table:1.0\' xmlns:style=\'urn:oasis:names:tc:opendocument:xmlns:style:1.0\' xmlns:script=\'urn:oasis:names:tc:opendocument:xmlns:script:1.0\' xmlns:xlink=\'http://www.w3.org/1999/xlink\' xmlns:math=\'http://www.w3.org/1998/Math/MathML\' xmlns:draw=\'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\' xmlns:form=\'urn:oasis:names:tc:opendocument:xmlns:form:1.0\' xmlns:ooo=\'http://openoffice.org/2004/office\' xmlns:dc=\'http://purl.org/dc/elements/1.1/\' xmlns:chart=\'urn:oasis:names:tc:opendocument:xmlns:chart:1.0\' xmlns:dr3d=\'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\' xmlns:fo=\'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\' xmlns:xforms=\'http://www.w3.org/2002/xforms\' xmlns:dom=\'http://www.w3.org/2001/xml-events\' xmlns:ooow=\'http://openoffice.org/2004/writer\' xmlns:svg=\'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\' xmlns:xsd=\'http://www.w3.org/2001/XMLSchema\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:oooc=\'http://openoffice.org/2004/calc\'  xmlns:tal=\'http://xml.zope.org/namespaces/tal\'\n
           xmlns:i18n=\'http://xml.zope.org/namespaces/i18n\'\n
           xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
-         office:version=\'1.0\'>\n
+         office:version=\'1.0\'\n
+         tal:define="N_ python: here.Base_translateString;">\n
 \n
 <tal:block metal:define-macro="table-header">\n
        <office:forms form:apply-design-mode=\'false\' form:automatic-focus=\'false\'/>\n
@@ -60,7 +61,7 @@
         <table:table-column table:style-name=\'co6\' table:default-cell-style-name=\'Default\' table:number-columns-repeated=\'2\'/>\n
         <table:table-row table:style-name=\'ro1\'>\n
           <table:table-cell table:style-name=\'title\' office:value-type=\'string\'>\n
-            <text:p tal:content="report_title"/>\n
+            <text:p tal:content="report_title"  i18n:translate="" i18n:domain="ui"/>\n
           </table:table-cell>\n
           <table:table-cell table:number-columns-repeated=\'6\'/>\n
         </table:table-row>\n
@@ -73,7 +74,7 @@
 <tal:block metal:define-macro="section-category">\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>Section Category</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">Section Category</text:p>\n
           </table:table-cell>\n
           <table:table-cell office:value-type=\'string\'>\n
             <text:p tal:content="section_category"/>\n
@@ -85,7 +86,7 @@
 <tal:block metal:define-macro="gap-root">\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>GAP root</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">GAP root</text:p>\n
           </table:table-cell>\n
           <table:table-cell office:value-type=\'string\'>\n
             <text:p tal:content="gap_root"/>\n
@@ -97,7 +98,7 @@
 <tal:block metal:define-macro="start-end-date">\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>From date</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">From date</text:p>\n
           </table:table-cell>\n
           <table:table-cell table:style-name=\'input-date\' office:value-type=\'date\'\n
              tal:attributes="office:date-value from_date">\n
@@ -107,7 +108,7 @@
         </table:table-row>\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>At date</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">At date</text:p>\n
           </table:table-cell>\n
           <table:table-cell table:style-name=\'input-date\' office:value-type=\'date\'\n
              tal:attributes="office:date-value at_date">\n
@@ -120,7 +121,7 @@
 <tal:block metal:define-macro="simulation_state">\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>Status:</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">Status</text:p>\n
           </table:table-cell>\n
           <table:table-cell office:value-type=\'string\'>\n
             <text:p tal:content="python: \', \'.join(simulation_state)"/>\n
@@ -132,14 +133,14 @@
 <tal:block metal:define-macro="portal-type">\n
         <table:table-row table:style-name=\'ro2\'>\n
           <table:table-cell office:value-type=\'string\' table:style-name=\'input-label\'>\n
-            <text:p>Transaction Type:</text:p>\n
+            <text:p  i18n:translate="" i18n:domain="ui">Transaction Type:</text:p>\n
           </table:table-cell>\n
           <table:table-cell table:number-columns-repeated=\'6\'/>\n
         </table:table-row>\n
         <table:table-row table:style-name=\'ro2\' tal:repeat="type portal_type">\n
           <table:table-cell/>\n
           <table:table-cell office:value-type=\'string\'>\n
-            <text:p tal:content="type"/>\n
+            <text:p tal:content="type"  i18n:translate="" i18n:domain="ui"/>\n
           </table:table-cell>\n
           <table:table-cell table:number-columns-repeated=\'5\'/>\n
         </table:table-row>\n

Modified: experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml?rev=19175&r1=19174&r2=19175&view=diff
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml (original)
+++ experimental/bt5/erp5_accounting_experimental/SkinTemplateItem/portal_skins/erp5_accounting_experimental/accounting_report_styles_cell.xml Fri Feb  8 13:54:27 2008
@@ -63,6 +63,7 @@
     </style:style>\n
     <style:style style:parent-style-name=\'Default\' style:family=\'table-cell\' style:name=\'label\'>\n
       <style:text-properties fo:font-weight=\'bold\'/>\n
+      <style:paragraph-properties fo:text-align=\'center\' fo:margin-left=\'0cm\'/>\n
     </style:style>\n
     <style:style style:data-style-name=\'N36\' style:parent-style-name=\'Default\' style:name=\'main-normal\' style:family=\'table-cell\'>\n
       <style:table-cell-properties fo:border-left=\'none\' fo:border-bottom=\'none\' fo:border-right=\'none\' fo:border-top=\'0.002cm solid #000000\'/>\n

Modified: experimental/bt5/erp5_accounting_experimental/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_accounting_experimental/bt/revision?rev=19175&r1=19174&r2=19175&view=diff
==============================================================================
--- experimental/bt5/erp5_accounting_experimental/bt/revision (original)
+++ experimental/bt5/erp5_accounting_experimental/bt/revision Fri Feb  8 13:54:27 2008
@@ -1,1 +1,1 @@
-3
+4




More information about the Erp5-report mailing list