Skip to content
Snippets Groups Projects
Commit 3099b567 authored by Vinciane's avatar Vinciane
Browse files

FEAT #9685 Variable lang

parent 5b0dc4bb
No related branches found
No related tags found
No related merge requests found
Showing
with 38 additions and 14 deletions
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content>
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content>
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content>
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content *ngIf="!loadingInit">
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
......@@ -9,18 +9,18 @@
?<br />
<div class="chooseMode" *ngIf="redirectMode == '' && !loading">
<div>
<button mat-stroked-button color="primary" (click)="loadEntities()"><i class="fa fa-sitemap"></i>Vers un service</button>
<button mat-stroked-button color="primary" (click)="loadEntities()"><i class="fa fa-sitemap"></i>{{lang.toAService}}</button>
</div>
<div>
<button mat-stroked-button color="primary" (click)="loadDestUser()"><i class="fa fa-user"></i> Vers un utilisateur</button>
<button mat-stroked-button color="primary" (click)="loadDestUser()"><i class="fa fa-user"></i>{{lang.toAnUser}}</button>
</div>
</div>
<div *ngIf="redirectMode == 'none' && !loading">
<div class="alert-message alert-message-danger" role="alert" style="margin-top: 30px;">Aucun paramétrage disponible</div>
<div class="alert-message alert-message-danger" role="alert" style="margin-top: 30px;">{{lang.NoSettingsAvailable}}</div>
</div>
<div *ngIf="redirectMode == 'entity'" class="row" style="display: flex;">
<div class="redirectContent" style="flex:2">
<h2>Rediriger vers :</h2>
<h2>{{lang.RedirectTo}} :</h2>
<div class="contentEntities">
<mat-form-field appearance="outline" floatLabel="never" [style.fontSize.px]="10">
<input matInput id="jstree_search" name="jstree_search" type="text" placeholder="{{lang.searchEntities}}">
......@@ -29,7 +29,7 @@
</div>
</div>
<div class="redirectContent" style="flex:1">
<h2 title="{{currentEntity.entity_label}}">Liste de diffusion "{{currentEntity.entity_label}}" :</h2>
<h2 title="{{currentEntity.entity_label}}">{{lang.diffusionList}} "{{currentEntity.entity_label}}" :</h2>
<div class="contentEntities">
<app-diffusions-list #appDiffusionsList [injectDatas]="injectDatasParam"></app-diffusions-list>
</div>
......@@ -50,7 +50,7 @@
</mat-autocomplete>
</mat-form-field>
<div class="redirectContent" style="flex:2">
<h2 style="top:-5px;">Nouvel atributaire :</h2>
<h2 style="top:-5px;">{{lang.NewAssignee}} :</h2>
<div class="contentUser">
<mat-list *ngIf="destUser != null">
<mat-list-item>
......@@ -61,11 +61,11 @@
</mat-list-item>
</mat-list>
<div *ngIf="destUser == null" class="noSelection">
Aucune personne
{{lang.NoPerson}}
</div>
</div>
</div>
<div *ngIf="keepDestForRedirection && oldUser != null" class="alert-message alert-message-info" role="alert" style="margin-top: 30px;"><b>{{oldUser.labelToDisplay}}</b> sera automatiquement mise <b>en copie</b></div>
<div *ngIf="keepDestForRedirection && oldUser != null" class="alert-message alert-message-info" role="alert" style="margin-top: 30px;"><b>{{oldUser.labelToDisplay}}</b> <span [innerHTML]="lang.willBeAutomaticallyInCopy"></span></div>
</div>
<div class="row" *ngIf="redirectMode != '' && redirectMode != 'none'">
......
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content>
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
<h1 mat-dialog-title>Confirmer "{{data.action.label_action}}"</h1>
<h1 mat-dialog-title>{{lang.confirm}} "{{data.action.label_action}}"</h1>
<div mat-dialog-content>
<div *ngIf="loading" class="loading" style="display:flex;height:100%;">
<mat-spinner style="margin:auto;"></mat-spinner>
......
......@@ -875,4 +875,12 @@ export const LANG_EN = {
"readyToSendElectronicAr" : "electronic acknowledgement receipt ready to be send",
"readyToGeneratePaperAr" : "paper acknowledgement receipt ready to be generated",
"noteTemplates" : "Note Templates",
"toAService" : "To a service",
"toAnUser" : "To an user",
"NoSettingsAvailable" : "No setting available",
"RedirectTo" : "Redirect to",
"NewAssignee" : "New assignee",
"NoPerson" : "No person",
"willBeAutomaticallyInCopy" : "will be automatically <b>in copy</b>",
"confirm" : "Confirm",
};
......@@ -901,4 +901,12 @@ export const LANG_FR = {
"readyToSendElectronicAr" : "accusé(s) de réception électronique prêt(s) à être envoyé(s)",
"readyToGeneratePaperAr" : "accusé(s) de réception papier prêt(s) à être généré(s)",
"noteTemplates" : "Modèles d'annotations",
"toAService" : "Vers un service",
"toAnUser" : "Vers un utilisateur",
"NoSettingsAvailable" : "Aucun paramétrage disponible",
"RedirectTo" : "Rediriger vers",
"NewAssignee" : "Nouvel attributaire",
"NoPerson" : "Aucune personne",
"willBeAutomaticallyInCopy" : "sera automatiquement mise <b>en copie</b>",
"confirm" : "Confirmer",
};
......@@ -903,4 +903,12 @@ export const LANG_NL = {
"readyToSendElectronicAr" : "electronic acknowledgement receipt ready to be send", //_TO_TRANSLATE
"readyToGeneratePaperAr" : "paper acknowledgement receipt ready to be generated", //_TO_TRANSLATE
"noteTemplates" : "Note Templates", //_TO_TRANSLATE
"toAService" : "Naar een dienst", //_TO_TRANSLATE
"toAnUser" : "Naar een gebruiker", //_TO_TRANSLATE
"NoSettingsAvailable" : "Geen instellingen beschikbaar", //_TO_TRANSLATE
"RedirectTo" : "Doorverwijzen naar", //_TO_TRANSLATE
"NewAssignee" : "Nieuwe ontvanger", //_TO_TRANSLATE
"NoPerson" : "Geen persoon", //_TO_TRANSLATE
"willBeAutomaticallyInCopy" : "wordt automatisch <b>gekopieerd</b>", //_TO_TRANSLATE
"confirm" : "Bevestigen", //_TO_TRANSLATE
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment