Author: tchemit Date: 2011-01-03 20:14:18 +0000 (Mon, 03 Jan 2011) New Revision: 880 Log: use parserTapestry to detect messages from tml files Modified: trunk/wao-ui/pom.xml trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties Modified: trunk/wao-ui/pom.xml =================================================================== --- trunk/wao-ui/pom.xml 2011-01-03 17:06:05 UTC (rev 879) +++ trunk/wao-ui/pom.xml 2011-01-03 20:14:18 UTC (rev 880) @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -165,11 +167,18 @@ <artifactId>maven-i18n-plugin</artifactId> <executions> <execution> - <id>parse java</id> + <id>parse Tapestry</id> <goals> - <goal>parserJava</goal> + <goal>parserTapestry</goal> <goal>gen</goal> </goals> + <configuration> + <entries> + <entry> + <basedir>${basedir}/src/main/resources/fr/ifremer/wao/ui</basedir> + </entry> + </entries> + </configuration> </execution> <execution> <id>make bundle</id> @@ -177,7 +186,8 @@ <goal>tapestry-bundle</goal> </goals> <configuration> - <bundleOutputDir>${basedir}/src/main/webapp/WEB-INF</bundleOutputDir> + <bundleOutputDir>${basedir}/src/main/webapp/WEB-INF + </bundleOutputDir> <bundleOutputName>app</bundleOutputName> </configuration> </execution> Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-01-03 17:06:05 UTC (rev 879) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-01-03 20:14:18 UTC (rev 880) @@ -13,3 +13,6 @@ SamplingStrategy.SIMULTANEOUS_G1_G2_SPECIES= SamplingStrategy.SIMULTANEOUS_G1_SPECIES= SamplingStrategy.SPECIFIC_STOCK= +code-label= +dup-label= +shipOwner-label= Modified: trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-01-03 17:06:05 UTC (rev 879) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-01-03 20:14:18 UTC (rev 880) @@ -1,15 +1,18 @@ -ContactState.BOARDING_DONE=Embarquement r\u00e9alis\u00e9 -ContactState.BOARDING_EXPECTED=Embarquement programm\u00e9 -ContactState.BOAT_DEFINITIVE_REFUSED=Refus d\u00e9finitif +ContactState.BOARDING_DONE=Embarquement r\u00E9alis\u00E9 +ContactState.BOARDING_EXPECTED=Embarquement programm\u00E9 +ContactState.BOAT_DEFINITIVE_REFUSED=Refus d\u00E9finitif ContactState.BOAT_REFUSED=Refus ContactState.BOAT_UNAVAILABLE=Non abouti ContactState.CONTACT_START=Contact pris DataReliability.DOUBTFUL=Douteuse -DataReliability.NOT_PROVIDED=Non contr\u00f4l\u00e9e +DataReliability.NOT_PROVIDED=Non contr\u00F4l\u00E9e DataReliability.NOT_RELIABLE=Non exploitable DataReliability.RELIABLE=Exploitable DataReliability.UNKNOWN=Inconnue -SamplingStrategy.SIMULTANEOUS_ALL_SPECIES=Toutes esp\u00e8ces commerciales -SamplingStrategy.SIMULTANEOUS_G1_G2_SPECIES=Simultan\u00e9 \: esp\u00e8ces G1+G2 -SamplingStrategy.SIMULTANEOUS_G1_SPECIES=Simultan\u00e9 \: esp\u00e8ces G1 -SamplingStrategy.SPECIFIC_STOCK=Stock sp\u00e9cifique +SamplingStrategy.SIMULTANEOUS_ALL_SPECIES=Toutes esp\u00E8ces commerciales +SamplingStrategy.SIMULTANEOUS_G1_G2_SPECIES=Simultan\u00E9 \: esp\u00E8ces G1+G2 +SamplingStrategy.SIMULTANEOUS_G1_SPECIES=Simultan\u00E9 \: esp\u00E8ces G1 +SamplingStrategy.SPECIFIC_STOCK=Stock sp\u00E9cifique +code-label= +dup-label= +shipOwner-label=