added translation

This commit is contained in:
Chneemann 2024-05-22 22:30:50 +02:00
parent 5db44ead15
commit 9278ed78a5
9 changed files with 24 additions and 19 deletions

View file

@ -1 +1 @@
<div class="empty">No tasks</div>
<div class="empty">{{ "board.emptyTask" | translate }}</div>

View file

@ -9,10 +9,12 @@
border: 1px dashed var(--gray);
background-color: var(--very-light-gray2);
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
font-size: 16px;
font-weight: 400;
color: var(--gray);
margin: 15.5px 0;
p {
font-size: 18px;
font-weight: 400;
}
}
@media screen and (max-width: 667px) {

View file

@ -1,12 +1,11 @@
import { Component } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'app-task-empty',
standalone: true,
imports: [],
imports: [TranslateModule],
templateUrl: './task-empty.component.html',
styleUrl: './task-empty.component.scss'
styleUrl: './task-empty.component.scss',
})
export class TaskEmptyComponent {
}
export class TaskEmptyComponent {}

View file

@ -1 +1,3 @@
<div class="highlighted"><p>Drop here</p></div>
<div class="highlighted">
<p>{{ "board.dropHere" | translate }}</p>
</div>

View file

@ -9,13 +9,12 @@
border: 2px dashed var(--light-blue);
background-color: var(--very-light-gray2);
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
font-size: 16px;
font-weight: 400;
color: var(--gray);
margin: 15.5px 0;
p {
font-size: 21px;
font-weight: 500;
color: var(--light-blue);
}
}

View file

@ -1,12 +1,11 @@
import { Component } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'app-task-highlighted',
standalone: true,
imports: [],
imports: [TranslateModule],
templateUrl: './task-highlighted.component.html',
styleUrl: './task-highlighted.component.scss'
styleUrl: './task-highlighted.component.scss',
})
export class TaskHighlightedComponent {
}
export class TaskHighlightedComponent {}

View file

@ -70,7 +70,7 @@ export class TaskComponent {
}
}
// Dialog
// User Dialog
openDialog(userId: any, event: MouseEvent) {
this.AssignedDialogId = userId;

View file

@ -118,7 +118,9 @@
"done": "Erledigt",
"addTask": "Neue Aufgabe",
"findTask": "Aufgabe suchen",
"noTasks": "Keine Aufgaben"
"noTasks": "Keine Aufgaben",
"dropHere": "Hier ablegen",
"emptyTask": "Keine Aufgaben"
},
"addTask": {
"headline": "Aufgabe",

View file

@ -118,7 +118,9 @@
"done": "Done",
"addTask": "Add Task",
"findTask": "Find Task",
"noTasks": "No tasks"
"noTasks": "No tasks",
"dropHere": "Drop here",
"emptyTask": "No tasks"
},
"addTask": {
"headline": "Add Task",