diff --git a/src/app/core/components/contact/contact.component.html b/src/app/core/components/contact/contact.component.html index 742788f9b37aba7cc13d8a85fcb8a803dc2cf9ec..c0077ff24fe75fe9e5554692dcce92cfc0662435 100644 --- a/src/app/core/components/contact/contact.component.html +++ b/src/app/core/components/contact/contact.component.html @@ -29,7 +29,7 @@ <div *ngIf="form.controls['lastname'].errors.required" i18n="@@contact.errors.missingLastname"> You must indicate a lastname. </div> - <div *ngIf="form.controls['lastname'].errors.pattern" i18n="@@contact.errors.lastnamePattern"> + <div *ngIf="form.controls['lastname'].errors.pattern" i18n="@@contact.errors.forbiddenCharacters"> Special characters are forbidden. </div> </div> @@ -52,7 +52,7 @@ <div *ngIf="form.controls['firstname'].errors.required" i18n="@@contact.errors.missingFirstname"> You must indicate a firstname. </div> - <div *ngIf="form.controls['lastname'].errors.pattern" i18n="@@contact.errors.firstnamePattern"> + <div *ngIf="form.controls['lastname'].errors.pattern" i18n="@@contact.errors.forbiddenCharacters"> Special characters are forbidden. </div> </div> diff --git a/src/app/geosource/components/dataset-detail/dataset-info/dataset-info.component.html b/src/app/geosource/components/dataset-detail/dataset-info/dataset-info.component.html index ff6f4e9bfd2c101266b5183270318b80a12531dc..f92e5ca0bc33f0bd13f769fd0eedda897b9a923a 100644 --- a/src/app/geosource/components/dataset-detail/dataset-info/dataset-info.component.html +++ b/src/app/geosource/components/dataset-detail/dataset-info/dataset-info.component.html @@ -89,7 +89,8 @@ <div class="contact"> <div class="columns is-marginless"> <div class="column is-12 title is-size-7"> - Vous avez des questions sur ce jeu de données? <a class="link-red" [routerLink]="['/', AppRoutes.contact.uri]" [queryParams]="{ subject: metadata.title }">Contactez-nous.</a> + <span i18n="dataset.info.questions">You have questions on this dataset, </span> + <a i18n="dataset.info.contactus" class="link-red" [routerLink]="['/', AppRoutes.contact.uri]" [queryParams]="{ subject: metadata.title }">contact us.</a> </div> </div> </div> diff --git a/src/i18n/messages.en.xlf b/src/i18n/messages.en.xlf index 5b4bdfd6bf7387d21b1eb49a9d32445a27ed23ff..69beaa12491b596941485abca3eb6a33f0072497 100644 --- a/src/i18n/messages.en.xlf +++ b/src/i18n/messages.en.xlf @@ -259,6 +259,14 @@ <source>Number of views (last 30 days)</source> <target>Number of views (last 30 days)</target> </trans-unit> + <trans-unit id="dataset.info.questions" datatype="html"> + <source>You have questions on this dataset, </source> + <target>You have questions on this dataset, </target> + </trans-unit> + <trans-unit id="dataset.info.contactus" datatype="html"> + <source>contact us.</source> + <target>contact us.</target> + </trans-unit> <trans-unit id="dataset.data.unavailableInfo" datatype="html"> <source>Unavailable information for this data</source> <target>Unavailable information for this data</target> diff --git a/src/i18n/messages.fr.xlf b/src/i18n/messages.fr.xlf index 9e14d5ab90bfa5e2c0008f3a3b1b30dd0c165295..86d2dd8558a2948081dba9e5c5507a7e011c2193 100644 --- a/src/i18n/messages.fr.xlf +++ b/src/i18n/messages.fr.xlf @@ -267,6 +267,14 @@ <source>Number of views (last 30 days)</source> <target>Nombre de vues (30 derniers jours)</target> </trans-unit> + <trans-unit id="dataset.info.questions" datatype="html"> + <source>You have questions on this dataset, </source> + <target>Vous avez des questions sur ce jeu de données, </target> + </trans-unit> + <trans-unit id="dataset.info.contactus" datatype="html"> + <source>contact us.</source> + <target>contactez-nous.</target> + </trans-unit> <trans-unit id="dataset.data.unavailableInfo" datatype="html"> <source>Unavailable information for this data</source> <target>Information non disponible pour cette donnée</target>