cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/webapp/samples/i18n simple.xsp
Date Tue, 20 May 2003 00:51:41 GMT
vgritsenko    2003/05/19 17:51:41

  Modified:    src/webapp/samples/i18n simple.xsp
  Log:
  zap tabs
  
  Revision  Changes    Path
  1.3       +16 -16    cocoon-2.1/src/webapp/samples/i18n/simple.xsp
  
  Index: simple.xsp
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/i18n/simple.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- simple.xsp	10 May 2003 11:34:09 -0000	1.2
  +++ simple.xsp	20 May 2003 00:51:41 -0000	1.3
  @@ -2,8 +2,8 @@
   <xsp:page language="java" 
       xmlns:xsp="http://apache.org/xsp" 
       xmlns:xsp-request="http://apache.org/xsp/request/2.0" 
  -    xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
  ->
  +    xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
  +
       <xsp:logic>
           private static int count = 0;
       </xsp:logic>
  @@ -66,9 +66,9 @@
               </para>
               <para title="forth" name="article" i18n:attr="title name">
                   <i18n:translate>
  -				One = {one}, two = {two}, {third}! {forth}
  -				This line is not translated {forth}
  -				<i18n:param name="one">
  +                    One = {one}, two = {two}, {third}! {forth}
  +                    This line is not translated {forth}
  +                    <i18n:param name="one">
                           <i18n:text>
                               <xsp:expr>"ONE".toLowerCase()</xsp:expr>
                           </i18n:text>
  @@ -82,17 +82,17 @@
               </para>
               <para title="Number formatting (not translated)" name="article" i18n:attr="name">
                   <i18n:translate>
  -		          Number: {0} | Currency: {1} | Percent: {2}, processed on: {3}
  -				<!--Old format: i18n:param type="number" src-locale="en" value="1703.74" /-->
  -				<i18n:param>
  -				    <i18n:number src-locale="en"><xsp:expr>17 + 3 + 1974</xsp:expr></i18n:number>
  -				</i18n:param>
  -				<!--Old format: i18n:param type="currency" src-locale="en">27.24</i18n:param-->
  -				<i18n:param>
  -				    <i18n:number type="currency" src-locale="en"><xsp:expr>2002.0 / 28.0</xsp:expr></i18n:number>
  -				</i18n:param>
  -				<i18n:param><i18n:number type="percent" src-locale="en" value="1.205"/></i18n:param>
  -				<i18n:param><i18n:date-time pattern="MEDIUM"/></i18n:param>
  +                    Number: {0} | Currency: {1} | Percent: {2}, processed on: {3}
  +                    <!--Old format: i18n:param type="number" src-locale="en" value="1703.74"
/-->
  +                    <i18n:param>
  +                        <i18n:number src-locale="en"><xsp:expr>17 + 3 + 1974</xsp:expr></i18n:number>
  +                    </i18n:param>
  +                    <!--Old format: i18n:param type="currency" src-locale="en">27.24</i18n:param-->
  +                    <i18n:param>
  +                        <i18n:number type="currency" src-locale="en"><xsp:expr>2002.0
/ 28.0</xsp:expr></i18n:number>
  +                    </i18n:param>
  +                    <i18n:param><i18n:number type="percent" src-locale="en" value="1.205"/></i18n:param>
  +                    <i18n:param><i18n:date-time pattern="MEDIUM"/></i18n:param>
                   </i18n:translate>
               </para>
           </content>
  
  
  

Mime
View raw message