[Suiviobsmer-commits] r879 - in trunk/wao-ui: . src/main/resources src/main/resources/i18n src/main/webapp/WEB-INF
Author: tchemit Date: 2011-01-03 17:06:05 +0000 (Mon, 03 Jan 2011) New Revision: 879 Log: automatisation i18n sur le module web Added: trunk/wao-ui/src/main/resources/i18n/ trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties Removed: trunk/wao-ui/src/main/webapp/WEB-INF/app.properties Modified: trunk/wao-ui/pom.xml Modified: trunk/wao-ui/pom.xml =================================================================== --- trunk/wao-ui/pom.xml 2011-01-03 15:44:17 UTC (rev 878) +++ trunk/wao-ui/pom.xml 2011-01-03 17:06:05 UTC (rev 879) @@ -165,10 +165,23 @@ <artifactId>maven-i18n-plugin</artifactId> <executions> <execution> + <id>parse java</id> <goals> + <goal>parserJava</goal> + <goal>gen</goal> + </goals> + </execution> + <execution> + <id>make bundle</id> + <goals> <goal>tapestry-bundle</goal> </goals> + <configuration> + <bundleOutputDir>${basedir}/src/main/webapp/WEB-INF</bundleOutputDir> + <bundleOutputName>app</bundleOutputName> + </configuration> </execution> + </executions> </plugin> <plugin> Added: trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties (rev 0) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties 2011-01-03 17:06:05 UTC (rev 879) @@ -0,0 +1,15 @@ +ContactState.BOARDING_DONE= +ContactState.BOARDING_EXPECTED= +ContactState.BOAT_DEFINITIVE_REFUSED= +ContactState.BOAT_REFUSED= +ContactState.BOAT_UNAVAILABLE= +ContactState.CONTACT_START= +DataReliability.DOUBTFUL= +DataReliability.NOT_PROVIDED= +DataReliability.NOT_RELIABLE= +DataReliability.RELIABLE= +DataReliability.UNKNOWN= +SamplingStrategy.SIMULTANEOUS_ALL_SPECIES= +SamplingStrategy.SIMULTANEOUS_G1_G2_SPECIES= +SamplingStrategy.SIMULTANEOUS_G1_SPECIES= +SamplingStrategy.SPECIFIC_STOCK= Property changes on: trunk/wao-ui/src/main/resources/i18n/wao-ui_en_GB.properties ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties =================================================================== --- trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties (rev 0) +++ trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties 2011-01-03 17:06:05 UTC (rev 879) @@ -0,0 +1,15 @@ +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_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 Property changes on: trunk/wao-ui/src/main/resources/i18n/wao-ui_fr_FR.properties ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Deleted: trunk/wao-ui/src/main/webapp/WEB-INF/app.properties =================================================================== --- trunk/wao-ui/src/main/webapp/WEB-INF/app.properties 2011-01-03 15:44:17 UTC (rev 878) +++ trunk/wao-ui/src/main/webapp/WEB-INF/app.properties 2011-01-03 17:06:05 UTC (rev 879) @@ -1,44 +0,0 @@ -### -# #%L -# Wao :: Web Interface -# -# -# $Id$ -# $HeadURL$ -# %% -# Copyright (C) 2009 - 2010 Ifremer -# %% -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# #L% -### -# This is where global application properties go. - -#ContactState enum -ContactState.BOAT_UNAVAILABLE: Non abouti -ContactState.BOAT_DEFINITIVE_REFUSED: Refus d\u00e9finitif -ContactState.BOAT_REFUSED: Refus -ContactState.BOARDING_DONE: Embarquement r\u00e9alis\u00e9 -ContactState.BOARDING_EXPECTED: Embarquement programm\u00e9 -ContactState.CONTACT_START: Contact pris - -DataReliability.UNKNOWN: Inconnue -DataReliability.NOT_RELIABLE: Non exploitable -DataReliability.DOUBTFUL: Douteuse -DataReliability.RELIABLE: Exploitable -DataReliability.NOT_PROVIDED: Non contr\u00f4l\u00e9e - -SamplingStrategy.SIMULTANEOUS_G1_SPECIES: Simultan\u00e9 : esp\u00e8ces G1 -SamplingStrategy.SIMULTANEOUS_G1_G2_SPECIES: Simultan\u00e9 : esp\u00e8ces G1+G2 -SamplingStrategy.SIMULTANEOUS_ALL_SPECIES: Toutes esp\u00e8ces commerciales -SamplingStrategy.SPECIFIC_STOCK: Stock sp\u00e9cifique
participants (1)
-
tchemit@users.labs.libre-entreprise.org