Skip to content

Commit

Permalink
Merge pull request #45 from camptocamp/GSGGR-166-more-translation
Browse files Browse the repository at this point in the history
Gsggr 166 more translation
  • Loading branch information
lanseg authored Nov 7, 2024
2 parents ab1e8d6 + ac93d19 commit a7ecfa5
Show file tree
Hide file tree
Showing 4 changed files with 400 additions and 22 deletions.
36 changes: 18 additions & 18 deletions src/app/account/new-order/new-order.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<mat-horizontal-stepper #stepper [linear]="true">
<mat-step [stepControl]="orderFormGroup" label="Détails du mandat">
<mat-step [stepControl]="orderFormGroup" i18n-label label="Détails du mandat">
<form [formGroup]="orderFormGroup">

<!-- Order type -->
<mat-form-field>
<mat-label>Type de mandat</mat-label>
<mat-label i18n>Type de mandat</mat-label>
<mat-select formControlName="orderType" required (selectionChange)="clearForms()"
[compareWith]="orderTypeCompareWith">
<mat-option *ngFor="let orderType of orderTypes" [value]="orderType">
Expand All @@ -16,16 +16,16 @@

<!-- title -->
<mat-form-field>
<mat-label>Titre du mandat</mat-label>
<mat-label i18n>Titre du mandat</mat-label>
<textarea matInput required formControlName="title"></textarea>
<mat-error *ngIf="orderFormGroup.get('title')?.hasError('required')">{{ REQUIRED }}</mat-error>
<mat-error *ngIf="orderFormGroup.get('title')?.hasError('pattern')">
<mat-error *ngIf="orderFormGroup.get('title')?.hasError('pattern')" i18n>
Le titre contient des caractères non supportés (parenthèses, guillemets, etc.)</mat-error>
</mat-form-field>

<!-- Description -->
<mat-form-field *ngIf="orderFormGroup.get('orderType')?.value?.id !== 1">
<mat-label>Description du mandat</mat-label>
<mat-label i18n>Description du mandat</mat-label>
<textarea matInput
formControlName="description"
placeholder="Renseigner une courte description du mandat..."></textarea>
Expand All @@ -34,45 +34,45 @@

<!-- My reference -->
<mat-form-field>
<mat-label>Votre référence reportée sur la facture</mat-label>
<mat-label i18n>Votre référence reportée sur la facture</mat-label>
<input matInput type="text" formControlName="invoice_reference"/>
</mat-form-field>

<!-- Email for delivery -->
<mat-radio-group class="flex-column"
formControlName="emailDeliverChoice"
aria-label="Choisir l'email de livraison">
<mat-radio-button value="1">Les données seront envoyées à l'adresse email de
<mat-radio-button value="1" i18n>Les données seront envoyées à l'adresse email de
l'utilisateur courant: {{(currentUser$|async)?.email}}</mat-radio-button>
<mat-radio-button value="2">Adresse de livraison des données différente</mat-radio-button>
<mat-radio-button value="2" i18n>Adresse de livraison des données différente</mat-radio-button>
</mat-radio-group>

<mat-form-field *ngIf="orderFormGroup?.get('emailDeliverChoice')?.value == '2'">
<mat-label>Saisir l'adresse email de livraison</mat-label>
<mat-label i18n>Saisir l'adresse email de livraison</mat-label>
<input matInput type="email" formControlName="emailDeliver" autocomplete="on"/>
<mat-error *ngIf="orderFormGroup?.get('emailDeliver')?.hasError('pattern')">Adresse email non valide</mat-error>
<mat-error i18n *ngIf="orderFormGroup?.get('emailDeliver')?.hasError('pattern')">Adresse email non valide</mat-error>
</mat-form-field>

<div class="bottom-container flex-row">
<button color="warn" mat-button (click)="resetForms();stepper.selectedIndex = 0">{{ BACK }}</button>
<button color="primary" matStepperNext mat-raised-button>{{ NEXT }}</button>
</div>
</form>
</mat-step>

<mat-step [stepControl]="contactFormGroup" label="Facturation / Tiers">
<mat-step [stepControl]="contactFormGroup" i18n-label label="Facturation / Tiers">

<form class="form-no-full-height" [formGroup]="addressChoiceForm">
<mat-radio-group *ngIf="IsOrderTypePrivate" class="flex-column"
formControlName="addressChoice"
aria-label="Choisir une option">
<mat-radio-button value="1">La facturation est adressée à
<mat-radio-button value="1" i18n>La facturation est adressée à
l'utilisateur courant: {{(currentUser$|async)?.username}} ({{(currentUser$|async)?.email}})</mat-radio-button>
<mat-radio-button value="2">La facturation est adressée à un mandant</mat-radio-button>
<mat-radio-button value="2" i18n>La facturation est adressée à un mandant</mat-radio-button>
</mat-radio-group>
</form>

<mat-label *ngIf="!IsOrderTypePrivate">Vous devez spécifier les informations de contact du tiers pour un mandat
<mat-label *ngIf="!IsOrderTypePrivate" i18n>Vous devez spécifier les informations de contact du tiers pour un mandat
de type {{ orderFormGroup.get('orderType')?.value?.name | lowercase }}.</mat-label>

<form class="form-height-mini" [formGroup]="contactFormGroup">
Expand Down Expand Up @@ -157,7 +157,7 @@

<!-- Email -->
<mat-form-field [style.color]="contactFormGroup?.get('email')?.touched ? '#26a59a' : 'black'">
<mat-label>Courriel mandant</mat-label>
<mat-label i18n>Courriel mandant</mat-label>
<input matInput required type="email" formControlName="email">
<mat-error *ngIf="contactFormGroup?.get('email')?.hasError('required')">{{ REQUIRED }}</mat-error>
<mat-error *ngIf="contactFormGroup?.get('email')?.hasError('pattern')">{{ WRONG_EMAIL }}
Expand All @@ -175,7 +175,7 @@

<!-- IDE number -->
<mat-form-field>
<mat-label>Numéro d’identification des entreprises (IDE)</mat-label>
<mat-label i18n>Numéro d’identification des entreprises (IDE)</mat-label>
<input matInput type="text" formControlName="ide_id">
<mat-error *ngIf="contactFormGroup?.get('ide_id')?.hasError('pattern')" i18n="@@new-order.bad_IDE_format">Mauvais format du numéro IDE, accepté : CHE-012.345.678</mat-error>
</mat-form-field>
Expand Down Expand Up @@ -241,7 +241,7 @@
</form>
</mat-step>

<mat-step [stepControl]="orderItemFormGroup" label="Aperçu de la commande">
<mat-step [stepControl]="orderItemFormGroup" i18n-label label="Aperçu de la commande">
<form *ngIf="currentOrder" [formGroup]="orderItemFormGroup" (submit)="confirm()">

<div class="table-container">
Expand Down
128 changes: 128 additions & 0 deletions src/locale/messages.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,126 @@
<context context-type="linenumber">31</context>
</context-group>
</trans-unit>
<trans-unit id="d4e713f85584a926b579a1d4b8f3e03ef8293d73" datatype="html">
<source>Détails du mandat</source>
<target>Einzelheiten des Auftrags</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">2</context>
</context-group>
</trans-unit>
<trans-unit id="f2c09b79a691f34bb113626c2c39ff2e65e9b288" datatype="html">
<source>Type de mandat</source>
<target>Auftragsart</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">7</context>
</context-group>
</trans-unit>
<trans-unit id="abbcad693756205a5d922b7d8ca8426cacee19db" datatype="html">
<source>Titre du mandat</source>
<target>Auftragsbezeichnung</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">19</context>
</context-group>
</trans-unit>
<trans-unit id="3a91fa310bf2d8914049a423b9aef423254bf5d1" datatype="html">
<source> Le titre contient des caractères non supportés (parenthèses, guillemets, etc.)</source>
<target> Die Bezeichnung enthält ungültige Zeichen (Klammern, Anführungszeichen, o.ä.)</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">22,23</context>
</context-group>
</trans-unit>
<trans-unit id="8a42a54e7409ff982bad097852b234ea8dd894e4" datatype="html">
<source>Description du mandat</source>
<target>Beschreibung des Auftrags</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">28</context>
</context-group>
</trans-unit>
<trans-unit id="a6979d1d2366eff97c4ed5ac1b4b7966ba2620b9" datatype="html">
<source>Votre référence reportée sur la facture</source>
<target>Ihre Rechnungsreferenz</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">37</context>
</context-group>
</trans-unit>
<trans-unit id="82336380104b44b9f6ffd944b18581e0df8ee4d8" datatype="html">
<source>Les données seront envoyées à l&apos;adresse email de l&apos;utilisateur courant: <x id="INTERPOLATION" equiv-text="{{(currentUser$|async)?.email}}"/></source>
<target>Die Daten werden an die e-Mail Adresse des aktuellen Benutzers gesendet: <x id="INTERPOLATION" equiv-text="{{(currentUser$|async)?.email}}"/></target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">45,46</context>
</context-group>
</trans-unit>
<trans-unit id="45276644993a243f5ee2db9bbecab8b394b3b704" datatype="html">
<source>Adresse de livraison des données différente</source>
<target>Abweichende Lieferadresse</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">47</context>
</context-group>
</trans-unit>
<trans-unit id="9aba3a673d5879a7673129949ba76e6edc64ae8f" datatype="html">
<source>Saisir l&apos;adresse email de livraison</source>
<target>Erfassung der e-Mail-Lieferadresse</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">51</context>
</context-group>
</trans-unit>
<trans-unit id="b31a40b4c92eaa780488985d8394d3722f8d5518" datatype="html">
<source>Adresse email non valide</source>
<target>Ungültige e-Mail Adresse</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">53</context>
</context-group>
</trans-unit>
<trans-unit id="ec909904e183423b3459cde71d47adebdcf34d18" datatype="html">
<source>Facturation / Tiers</source>
<target>Verrechnung</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">63</context>
</context-group>
</trans-unit>
<trans-unit id="1a980ed1c52b04484b874f8c92ebfc7ff202d169" datatype="html">
<source>La facturation est adressée à l&apos;utilisateur courant: <x id="INTERPOLATION" equiv-text="{{(currentUser$|async)?.username}}"/> (<x id="INTERPOLATION_1" equiv-text="{{(currentUser$|async)?.email}}"/>)</source>
<target>Die Rechnung wird an die Adresse des aktuellen Benutzers gesendet: <x id="INTERPOLATION" equiv-text="{{(currentUser$|async)?.username}}"/> (<x id="INTERPOLATION_1" equiv-text="{{(currentUser$|async)?.email}}"/>)</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">69,70</context>
</context-group>
</trans-unit>
<trans-unit id="fe02a25e2d95aaf7e73c099289e2f99d4d379660" datatype="html">
<source>La facturation est adressée à un mandant</source>
<target>Die Rechnung wird einem Mandanten zugestellt</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">71</context>
</context-group>
</trans-unit>
<trans-unit id="b36745cef500d283ac3cda4a1abfabf848bc3e92" datatype="html">
<source>Courriel mandant</source>
<target>e-Mail Adresse des Mandanten</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">160</context>
</context-group>
</trans-unit>
<trans-unit id="b39eaa79a930a8a7e02414a66aa20e2f4ce211c7" datatype="html">
<source>Numéro d’identification des entreprises (IDE)</source>
<target>Unternehmens-Identifikationsnummer</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">178</context>
</context-group>
</trans-unit>
<trans-unit id="new-order.bad_IDE_format" datatype="html">
<source>Mauvais format du numéro IDE, accepté : CHE-012.345.678</source>
<target>Ungültiges Format, Eingabemuster: CHE-012.345.678</target>
Expand Down Expand Up @@ -253,6 +373,14 @@
<context context-type="linenumber">220</context>
</context-group>
</trans-unit>
<trans-unit id="0a307552c4bcc25561c74e97e69070ae539a335b" datatype="html">
<source>Aperçu de la commande</source>
<target>Übersicht der Bestellung</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/account/new-order/new-order.component.html</context>
<context context-type="linenumber">244</context>
</context-group>
</trans-unit>
<trans-unit id="c636dac74a6334afdb5a46b0f00d3eab112ac86a" datatype="html">
<source> Description / Disponibilité </source>
<target> Beschreibung / Verfügbarkeit </target>
Expand Down
Loading

0 comments on commit a7ecfa5

Please sign in to comment.