Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: f63e34a6 by Tony CHEMIT at 2017-10-29T16:22:57+01:00 review validation i18n configuration and find out 6 missing keys... - - - - - 4 changed files: - validation/pom.xml - validation/src/main/i18n/validation_en_GB.properties - validation/src/main/i18n/validation_es_ES.properties - validation/src/main/i18n/validation_fr_FR.properties Changes: ===================================== validation/pom.xml ===================================== --- a/validation/pom.xml +++ b/validation/pom.xml @@ -215,74 +215,19 @@ <artifactId>i18n-maven-plugin</artifactId> <executions> <execution> - <id>parse-java-default</id> <phase>process-classes</phase> <goals> <goal>parse-java</goal> - </goals> - <configuration> - <treatDefaultEntry>false</treatDefaultEntry> - <entries> - <entry> - <basedir>${project.build.directory}/generated-sources/java/</basedir> - </entry> - </entries> - </configuration> - </execution> - <execution> - <id>parse-validation-default</id> - <phase>process-classes</phase> - <goals> <goal>parse-validation</goal> + <goal>generate</goal> </goals> <configuration> - <treatDefaultEntry>false</treatDefaultEntry> - <entries> - <entry> - <basedir>${project.basedir}/src/main/resources/</basedir> - <includes> - <param>**/**-validation.xml</param> - </includes> - </entry> - </entries> + <force>true</force> </configuration> </execution> - <execution> - <id>generate-default</id> - <phase>process-classes</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> </plugin> - <!--<plugin>--> - <!--<artifactId>maven-antrun-plugin</artifactId>--> - <!--<executions>--> - <!--<execution>--> - <!--<id>copy i18n files</id>--> - <!--<phase>process-classes</phase>--> - <!--<configuration>--> - <!--<target>--> - <!--<copy failonerror="true" overwrite="true" filtering="true" todir="${project.build.outputDirectory}/i18n">--> - <!--<filterset>--> - <!--<filter value="${observe.model.version}" token="observe.model.version" />--> - <!--</filterset>--> - <!--<fileset dir="${project.build.directory}/generated-sources/i18n">--> - <!--<include name="*.properties" />--> - <!--</fileset>--> - <!--</copy>--> - <!--</target>--> - <!--</configuration>--> - <!--<goals>--> - <!--<goal>run</goal>--> - <!--</goals>--> - <!--</execution>--> - <!--</executions>--> - <!--</plugin>--> - </plugins> </build> </project> ===================================== validation/src/main/i18n/validation_en_GB.properties ===================================== --- a/validation/src/main/i18n/validation_en_GB.properties +++ b/validation/src/main/i18n/validation_en_GB.properties @@ -396,6 +396,12 @@ observe.validation.catchLongline.required.comment.for.speciesCatch=A comment is observe.validation.catchLongline.required.count.when.acquisitionModeIsGrouped=Count must be filled in group mode. observe.validation.catchLongline.required.position=Position must be filled. observe.validation.catchLongline.required.speciesCatch=Species catch must be filled. +observe.validation.coordinate.degree.latitude.outOfBound=Degree component of latitude is out of bound. +observe.validation.coordinate.degree.longitude.outOfBound=Degree component of longitude is out of bound. +observe.validation.coordinate.minute.latitude.outOfBound=Minute component of latitude is out of bound. +observe.validation.coordinate.minute.longitude.outOfBound=Minute component of longitude is out of bound. +observe.validation.coordinate.second.latitude.outOfBound=Second component of latitude is out of bound. +observe.validation.coordinate.second.longitude.outOfBound=Second component of longitude is out of bound. observe.validation.country.invalid.iso2Code.uniqueKey=Iso 2 code is not unique. observe.validation.country.invalid.iso3Code.uniqueKey=Iso 3 code is not unique. observe.validation.country.required.iso2Code=Iso 2 code must be filled. ===================================== validation/src/main/i18n/validation_es_ES.properties ===================================== --- a/validation/src/main/i18n/validation_es_ES.properties +++ b/validation/src/main/i18n/validation_es_ES.properties @@ -396,6 +396,12 @@ observe.validation.catchLongline.required.comment.for.speciesCatch=Se necesita u observe.validation.catchLongline.required.count.when.acquisitionModeIsGrouped=El número es mandatorio en modo grupado. observe.validation.catchLongline.required.position=Se necesita la posición sobre el palangre. observe.validation.catchLongline.required.speciesCatch=Se necesita la especie. +observe.validation.coordinate.degree.latitude.outOfBound=Degree component of latitude is out of bound. \#TODO +observe.validation.coordinate.degree.longitude.outOfBound=Degree component of longitude is out of bound. \#TODO +observe.validation.coordinate.minute.latitude.outOfBound=Minute component of latitude is out of bound. \#TODO +observe.validation.coordinate.minute.longitude.outOfBound=Minute component of longitude is out of bound. \#TODO +observe.validation.coordinate.second.latitude.outOfBound=Second component of latitude is out of bound. \#TODO +observe.validation.coordinate.second.longitude.outOfBound=Second component of longitude is out of bound. \#TODO observe.validation.country.invalid.iso2Code.uniqueKey=El código debe ser único, el valor %1$s ya se ha usado. observe.validation.country.invalid.iso3Code.uniqueKey=El código debe ser único, el valor %1$s ya se ha usado. observe.validation.country.required.iso2Code=Código ISO2 no especificado ===================================== validation/src/main/i18n/validation_fr_FR.properties ===================================== --- a/validation/src/main/i18n/validation_fr_FR.properties +++ b/validation/src/main/i18n/validation_fr_FR.properties @@ -396,6 +396,12 @@ observe.validation.catchLongline.required.comment.for.speciesCatch=Un commentair observe.validation.catchLongline.required.count.when.acquisitionModeIsGrouped=Le nombre est obligatoire en mode groupé. observe.validation.catchLongline.required.position=Pas de position renseignée sur la palangre. observe.validation.catchLongline.required.speciesCatch=L'espèce n'est pas renseignée. +observe.validation.coordinate.degree.latitude.outOfBound=Les degrés de la latitude sont hors borne. +observe.validation.coordinate.degree.longitude.outOfBound=Les degrés de la longitude sont hors borne. +observe.validation.coordinate.minute.latitude.outOfBound=Les minutes de la latitude sont hors borne. +observe.validation.coordinate.minute.longitude.outOfBound=Les minutes de la longitude sont hors borne. +observe.validation.coordinate.second.latitude.outOfBound=Les secondes de la latitude sont hors borne. +observe.validation.coordinate.second.longitude.outOfBound=Les secondes de la longitude sont hors borne. observe.validation.country.invalid.iso2Code.uniqueKey=Le code ISO2 n'est pas unique observe.validation.country.invalid.iso3Code.uniqueKey=Le code ISO3 n'est pas unique observe.validation.country.required.iso2Code=Code ISO2 non renseigné. View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/f63e34a61a1d87299b4bfeefe5d7... --- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/commit/f63e34a61a1d87299b4bfeefe5d7... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT