Commit 32250567 authored by Guillaume Heurtier's avatar Guillaume Heurtier

FEAT #13628 TIME 8:00 start check english version

parent 83e7d9e8
...@@ -2827,7 +2827,7 @@ if (!defined('_HOW_CAN_I_LOGIN')) { ...@@ -2827,7 +2827,7 @@ if (!defined('_HOW_CAN_I_LOGIN')) {
define('_HOW_CAN_I_LOGIN', 'I can not log on...'); define('_HOW_CAN_I_LOGIN', 'I can not log on...');
} }
if (!defined('_CONNECT')) { if (!defined('_CONNECT')) {
define('_CONNECT', 'To log on'); define('_CONNECT', 'Log in');
} }
if (!defined('_LOGIN_MODE')) { if (!defined('_LOGIN_MODE')) {
define('_LOGIN_MODE', 'Type of authentication'); define('_LOGIN_MODE', 'Type of authentication');
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<mat-tab-group #pjList style="width: 100%;" [(selectedIndex)]="indexTab" (selectedIndexChange)="updateFile($event)" *ngIf="!loading"> <mat-tab-group #pjList style="width: 100%;" [(selectedIndex)]="indexTab" (selectedIndexChange)="updateFile($event)" *ngIf="!loading">
<mat-tab *ngFor="let attachment of attachments; let i=index" [disabled]="isDocLoading()"> <mat-tab *ngFor="let attachment of attachments; let i=index" [disabled]="isDocLoading()">
<ng-template mat-tab-label> <ng-template mat-tab-label>
<span [class.complete]="isPjValid(i)">PJ n°{{i+1}}&nbsp;<i *ngIf="isPjValid(i)" <span [class.complete]="isPjValid(i)">{{lang.attachmentShort}} n°{{i+1}}&nbsp;<i *ngIf="isPjValid(i)"
class="fa fa-check"></i><button mat-icon-button *ngIf="attachments.length > 1" color="warn" class="fa fa-check"></i><button mat-icon-button *ngIf="attachments.length > 1" color="warn"
[title]="lang.delAttachment" (click)="$event.stopPropagation();removePj(i)"> [title]="lang.delAttachment" (click)="$event.stopPropagation();removePj(i)">
<mat-icon class="fa fa-minus"></mat-icon> <mat-icon class="fa fa-minus"></mat-icon>
...@@ -81,9 +81,9 @@ ...@@ -81,9 +81,9 @@
<div class="attachment-form-item"> <div class="attachment-form-item">
<mat-form-field class="input-form input-date" (click)="picker.open()" <mat-form-field class="input-form input-date" (click)="picker.open()"
style="cursor:pointer;"> style="cursor:pointer;">
<mat-label>Date de retour attendu</mat-label> <mat-label>{{lang.expectedReturnDate}}</mat-label>
<input [formControl]="attachment['validationDate']" matInput [matDatepicker]="picker" <input [formControl]="attachment['validationDate']" matInput [matDatepicker]="picker"
[placeholder]="'Date de retour attendu'" [min]="now" readonly [placeholder]="lang.expectedReturnDate" [min]="now" readonly
style="cursor:pointer;"> style="cursor:pointer;">
<mat-datepicker-toggle matSuffix [for]="picker" <mat-datepicker-toggle matSuffix [for]="picker"
*ngIf="!attachment['validationDate'].value"> *ngIf="!attachment['validationDate'].value">
...@@ -134,4 +134,4 @@ ...@@ -134,4 +134,4 @@
<button mat-raised-button mat-button *ngIf="creationMode && !loading" [disabled]="canValidatePj()" <button mat-raised-button mat-button *ngIf="creationMode && !loading" [disabled]="canValidatePj()"
[mat-dialog-close]="">{{lang.cancel}}</button> [mat-dialog-close]="">{{lang.cancel}}</button>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -423,7 +423,7 @@ export class AttachmentCreateComponent implements OnInit { ...@@ -423,7 +423,7 @@ export class AttachmentCreateComponent implements OnInit {
} }
removePj(i: number) { removePj(i: number) {
const dialogRef = this.dialog.open(ConfirmComponent, { panelClass: 'maarch-modal', autoFocus: false, disableClose: true, data: { title: this.lang.delete + ' : PJ n°' + (i + 1), msg: this.lang.confirmAction } }); const dialogRef = this.dialog.open(ConfirmComponent, { panelClass: 'maarch-modal', autoFocus: false, disableClose: true, data: { title: this.lang.delete + ' : ' + this.lang.attachmentShort + ' n°' + (i + 1), msg: this.lang.confirmAction } });
dialogRef.afterClosed().pipe( dialogRef.afterClosed().pipe(
filter((data: string) => data === 'ok'), filter((data: string) => data === 'ok'),
......
...@@ -113,7 +113,7 @@ export class IndexationComponent implements OnInit { ...@@ -113,7 +113,7 @@ export class IndexationComponent implements OnInit {
fetchData() { fetchData() {
this.loading = false; this.loading = false;
this.headerService.setHeader("Enregistrement d'un courrier"); this.headerService.setHeader(this.lang.recordingMail);
this.route.params.subscribe(params => { this.route.params.subscribe(params => {
this.currentGroupId = params['groupId']; this.currentGroupId = params['groupId'];
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div class="row exportList"> <div class="row exportList">
<div class="col-md-6 available-data"> <div class="col-md-6 available-data">
<h2><span class="title">{{lang.availableDatas}}</span> <i <h2><span class="title">{{lang.availableDatas}}</span> <i
class="fa fa-plus-circle removeAllDatas" color="primary" title="{{lang.addAllDatas}}" class="fa fa-plus-circle removeAllDatas" color="primary" title="{{lang.addAllData}}"
(click)="addAllData()"></i></h2> (click)="addAllData()"></i></h2>
<div id="availableElements" cdkDropList #dataAvailableList="cdkDropList" <div id="availableElements" cdkDropList #dataAvailableList="cdkDropList"
[cdkDropListData]="dataAvailable" [cdkDropListConnectedTo]="[dataExportList]" [cdkDropListData]="dataAvailable" [cdkDropListConnectedTo]="[dataExportList]"
...@@ -84,4 +84,4 @@ ...@@ -84,4 +84,4 @@
(click)="exportData();">{{lang.toExport}}</button> (click)="exportData();">{{lang.toExport}}</button>
<button mat-raised-button mat-button [mat-dialog-close]="">{{lang.cancel}}</button> <button mat-raised-button mat-button [mat-dialog-close]="">{{lang.cancel}}</button>
</div> </div>
</div> </div>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -41,7 +41,7 @@ export const LANG_NL = { ...@@ -41,7 +41,7 @@ export const LANG_NL = {
"activeCron" : "Actieve ta(a)k(en)", "activeCron" : "Actieve ta(a)k(en)",
"actives" : "Actief", "actives" : "Actief",
"add" : "Toevoegen", "add" : "Toevoegen",
"addAllDatas" : "_TO_TRANSLATE", "addAllData" : "_TO_TRANSLATE",
"addContacts" : "Contacten toevoegen", "addContacts" : "Contacten toevoegen",
"addCustomUnit" : "_TO_TRANSLATE", "addCustomUnit" : "_TO_TRANSLATE",
"addDoctype" : "Een documenttype toevoegen", "addDoctype" : "Een documenttype toevoegen",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment