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.xml simple.xsp
Date Tue, 25 Nov 2003 19:33:36 GMT
vgritsenko    2003/11/25 11:33:36

  Modified:    src/webapp/samples/i18n simple.xml simple.xsp
  Log:
  Don't use namespaced attributes on i18n elements
  
  Revision  Changes    Path
  1.4       +3 -3      cocoon-2.1/src/webapp/samples/i18n/simple.xml
  
  Index: simple.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/i18n/simple.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- simple.xml	30 Sep 2003 20:14:18 -0000	1.3
  +++ simple.xml	25 Nov 2003 19:33:36 -0000	1.4
  @@ -8,7 +8,7 @@
   	</sub-title>
   	<annotation>
   		<i18n:translate>
  -			<i18n:text i18n:key="doclink"/>
  +			<i18n:text key="doclink"/>
   			<i18n:param>
   				<link href="http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html">Cocoon
2 Web Site</link>
   			</i18n:param>
  @@ -21,14 +21,14 @@
   			</para>
   		</i18n:if>
   		<para title="first" name="article" i18n:attr="title name">
  -			<i18n:text i18n:key="a_key">article_text1</i18n:text>
  +			<i18n:text key="a_key">article_text1</i18n:text>
   		</para>
   		<para title="second" name="article" i18n:attr="title name">
   			<i18n:text>article_text2</i18n:text>
   		</para>
   		<para title="third" name="article" i18n:attr="title name">
   			<i18n:translate>
  -				<i18n:text i18n:key="Hello"/>
  +				<i18n:text key="Hello"/>
   				<i18n:param>
   					<strong><i18n:text>Kot</i18n:text></strong>
   				</i18n:param>
  
  
  
  1.5       +4 -4      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- simple.xsp	30 Sep 2003 20:14:18 -0000	1.4
  +++ simple.xsp	25 Nov 2003 19:33:36 -0000	1.5
  @@ -25,7 +25,7 @@
           </form>
           <annotation>
               <i18n:translate>
  -                <i18n:text i18n:key="doclink"/>
  +                <i18n:text key="doclink"/>
                   <i18n:param>
                       <link href="http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html">Cocoon
2 Web Site</link>
                   </i18n:param>
  @@ -33,7 +33,7 @@
           </annotation>
           <sub-title>
               <i18n:translate>
  -                <i18n:text i18n:key="count_title"/>
  +                <i18n:text key="count_title"/>
                   <i18n:param type="number" pattern="000000">
                       <xsp:expr>count</xsp:expr>
                   </i18n:param>
  @@ -46,14 +46,14 @@
           </sub-title>
           <content>
               <para title="first" name="article" i18n:attr="title name">
  -                <i18n:text i18n:key="a_key">article_text1</i18n:text>
  +                <i18n:text key="a_key">article_text1</i18n:text>
               </para>
               <para title="second" name="article" i18n:attr="title name">
                   <i18n:text>article_text2</i18n:text>
               </para>
               <para title="third" name="article" i18n:attr="title name">
                   <i18n:translate>
  -                    <i18n:text i18n:key="Hello"/>
  +                    <i18n:text key="Hello"/>
                       <i18n:param>
                           <strong>
                               <xsp-request:get-parameter name="username" default="none"
as="string" form-encoding="UTF-8"/>
  
  
  

Mime
View raw message