fixy
This commit is contained in:
parent
58e37620e7
commit
8bbe2b4167
@ -8,7 +8,7 @@ export default createAppTranslation('sl', {
|
||||
},
|
||||
task: '{count, plural, =0 {Ni nalog} one {# naloga} two {# nalogi} other {# nalog}}',
|
||||
comment:
|
||||
'{count, plural, =0 {Ni komentarjev} one {# komentar} two {# komentarja} other {# komentarji}}',
|
||||
'{count, plural, =0 {Ni komentarjev} one {# komentar} two {# komentarja} three {# komentarji} four {# komentarji} other {# komentarjev}}',
|
||||
searchUser: {
|
||||
title: 'Iskanje uporabnikov',
|
||||
placeholder: 'Vnesite ime ali e-pošto uporabnika',
|
||||
|
||||
@ -49,7 +49,11 @@ import { ToastService } from '@org/shared/toast';
|
||||
|
||||
<mat-form-field appearance="outline" class="full-width">
|
||||
<mat-label>{{ 'app.taskTitle' | translate }}</mat-label>
|
||||
<input matInput formControlName="title" placeholder="Task title" />
|
||||
<input
|
||||
matInput
|
||||
formControlName="title"
|
||||
placeholder="{{ 'app.taskTitle' | translate }}"
|
||||
/>
|
||||
@if (taskForm.get('title')?.hasError('required') &&
|
||||
taskForm.get('title')?.touched) {
|
||||
<mat-error>{{ 'app.titleIsRequired' | translate }}</mat-error>
|
||||
|
||||
@ -45,7 +45,11 @@ import { ToastService } from '@org/shared/toast';
|
||||
<form [formGroup]="taskForm" (ngSubmit)="onSubmit()">
|
||||
<mat-form-field appearance="outline" class="full-width">
|
||||
<mat-label>{{ 'app.title' | translate }}</mat-label>
|
||||
<input matInput formControlName="title" placeholder="Task title" />
|
||||
<input
|
||||
matInput
|
||||
formControlName="title"
|
||||
placeholder="{{ 'app.taskTitle' | translate }}"
|
||||
/>
|
||||
@if (taskForm.get('title')?.hasError('required') &&
|
||||
taskForm.get('title')?.touched) {
|
||||
<mat-error>Title is required</mat-error>
|
||||
@ -57,7 +61,7 @@ import { ToastService } from '@org/shared/toast';
|
||||
<textarea
|
||||
matInput
|
||||
formControlName="description"
|
||||
placeholder="Task description"
|
||||
placeholder="{{ 'app.taskDescription' | translate }}"
|
||||
rows="3"
|
||||
></textarea>
|
||||
</mat-form-field>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user