ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/src/etc/testcases/taskdefs/optional/i18n/translate/expected/de template.txt
Date Mon, 30 Jun 2003 13:45:18 GMT
antoine     2003/06/30 06:45:17

  Modified:    src/etc/testcases/taskdefs/optional/i18n/translate
                        translate.xml
               src/etc/testcases/taskdefs/optional/i18n/translate/expected/de
                        template.txt
  Added:       src/etc/testcases/taskdefs/optional/i18n/translate/input
                        resources_ger_DE.properties
  Removed:     src/etc/testcases/taskdefs/optional/i18n/translate/input
                        resources_ger_de.properties
  Log:
  fix translate test
  
  Revision  Changes    Path
  1.1                  ant/src/etc/testcases/taskdefs/optional/i18n/translate/input/resources_ger_DE.properties
  
  Index: resources_ger_DE.properties
  ===================================================================
  This=Diese
  is=ist
  a=eine
  demo=Demo
  file=Datei
  #note for people understanding german
  # \u00fc = u umlaut
  for=für
  the=die
  _task=_Aufgabe
  
  
  
  1.2       +29 -28    ant/src/etc/testcases/taskdefs/optional/i18n/translate/translate.xml
  
  Index: translate.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/i18n/translate/translate.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- translate.xml	30 Jun 2003 10:41:00 -0000	1.1
  +++ translate.xml	30 Jun 2003 13:45:17 -0000	1.2
  @@ -1,28 +1,29 @@
  -<?xml version="1.0"?>
  -<project name="translate-test" default="test1" basedir=".">
  -    <property name="input.dir" value="input"/>
  -    <property name="output.dir" value="output"/>
  -    <property name="expected.dir" value="expected"/>
  -    <target name="setup">
  -        <mkdir dir="${output.dir}/de"/>
  -    </target>
  -    <target name="test1" depends="setup">
  -      <translate toDir="${output.dir}/de"
  -        starttoken="@"
  -        endtoken="@"
  -        bundle="${input.dir}/resources"
  -        bundlelanguage="ger"
  -        bundlecountry="de"
  -        forceoverwrite="yes"
  -        srcencoding="ISO8859_1"
  -        destencoding="ISO8859_1"
  -        bundleencoding="Cp1252">
  -        <fileset dir="${input.dir}">
  -            <include name="template.txt"/>
  -        </fileset>
  -      </translate>
  -     </target>
  -     <target name="cleanup">
  -         <delete dir="${output.dir}" quiet="true"/>
  -     </target>
  -</project>
  \ No newline at end of file
  +<?xml version="1.0"?>
  +<project name="translate-test" default="test1" basedir=".">
  +    <property name="input.dir" value="input"/>
  +    <property name="output.dir" value="output"/>
  +    <property name="expected.dir" value="expected"/>
  +    <target name="setup">
  +        <mkdir dir="${output.dir}/de"/>
  +    </target>
  +    <target name="test1" depends="setup">
  +      <translate toDir="${output.dir}/de"
  +        starttoken="@"
  +        endtoken="@"
  +        bundle="${input.dir}/resources"
  +        bundlecountry="DE"
  +        bundlelanguage="ger"
  +        forceoverwrite="yes"
  +        srcencoding="ISO8859_1"
  +        destencoding="ISO8859_1"
  +        bundleencoding="Cp1252">
  +        <fileset dir="${input.dir}">
  +            <include name="template.txt"/>
  +        </fileset>
  +      </translate>
  +     </target>
  +     <target name="cleanup">
  +         <delete dir="${output.dir}" quiet="true"/>
  +     </target>
  +</project>
  +
  
  
  
  1.2       +1 -1      ant/src/etc/testcases/taskdefs/optional/i18n/translate/expected/de/template.txt
  
  Index: template.txt
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/i18n/translate/expected/de/template.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- template.txt	30 Jun 2003 10:41:00 -0000	1.1
  +++ template.txt	30 Jun 2003 13:45:17 -0000	1.2
  @@ -1 +1 @@
  -Diese ist eine Demo Datei für die translate_Aufgabe.
  +Diese ist eine Demo Datei für die translate_Aufgabe.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message