diff --git a/src/app/components/add-task/add-task.component.html b/src/app/components/add-task/add-task.component.html index 9417906..c3616c2 100644 --- a/src/app/components/add-task/add-task.component.html +++ b/src/app/components/add-task/add-task.component.html @@ -8,7 +8,7 @@ class="headline" [ngStyle]="{ display: overlayData !== '' ? 'none' : 'block' }" > -
Add Task
+
{{ "addTask.headline" | translate }}
-

Title*

+

{{ "addTask.title" | translate }}*

@if (!title.valid && title.touched) { -

You must enter a title.

+

{{ "addTask.titleError" | translate }}

}
-

Description*

+

+ {{ "addTask.description" | translate + }}* +

@if (!description.valid && description.touched) { -

You must enter a description. (min. 10 letters)

+

{{ "addTask.descriptionError" | translate }}

}
-

Assigned to

+

{{ "addTask.assigned" | translate }}

-

Due date*

+

{{ "addTask.date" | translate }}*

@if (!date.valid && date.touched) { -

You must enter a date.

+

{{ "addTask.dateError0" | translate }}

} @if (dateInPast && date.valid) { -

The date must be in the future

+

{{ "addTask.dateError1" | translate }}

}
-

Prio

+

{{ "addTask.priority" | translate }}

@@ -187,7 +192,7 @@ (click)="tooglePriority('medium')" >
- Medium + {{ "addTask.medium" | translate }}
@@ -204,14 +209,16 @@ (click)="tooglePriority('low')" >
- Low + {{ "addTask.low" | translate }}
-

Category*

+

+ {{ "addTask.category" | translate }}* +

@@ -290,7 +297,7 @@