diff --git a/src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.html b/src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.html index 3e6e05c7f74..c789609c361 100644 --- a/src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.html +++ b/src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.html @@ -19,7 +19,7 @@ [(ngModel)]="initialYear" [value]="year" [invalid]="showErrorMessages" - [placeholder]="'form.date-picker.placeholder.year' | translate" + [placeholder]="'form.date-picker.placeholder.year'" [widthClass]="'four-digits'" (blur)="onBlur($event)" (change)="onChange($event)" @@ -35,7 +35,7 @@ [size]="2" [(ngModel)]="initialMonth" [value]="month" - [placeholder]="'form.date-picker.placeholder.month' | translate" + [placeholder]="'form.date-picker.placeholder.month'" [disabled]="!year || model.disabled" [widthClass]="'two-digits'" (blur)="onBlur($event)" @@ -52,7 +52,7 @@ [size]="2" [(ngModel)]="initialDay" [value]="day" - [placeholder]="'form.date-picker.placeholder.day' | translate" + [placeholder]="'form.date-picker.placeholder.day'" [disabled]="!month || model.disabled" [widthClass]="'two-digits'" (blur)="onBlur($event)" diff --git a/src/app/shared/form/number-picker/number-picker.component.html b/src/app/shared/form/number-picker/number-picker.component.html index e704e278c6a..4fef1979f9b 100644 --- a/src/app/shared/form/number-picker/number-picker.component.html +++ b/src/app/shared/form/number-picker/number-picker.component.html @@ -1,5 +1,5 @@
- +
@@ -26,7 +26,7 @@ [readonly]="disabled" [disabled]="disabled" [ngClass]="{'is-invalid': invalid}" - title="{{'form.number-picker.label.' + placeholder | translate}}" + title="{{placeholder | translate}}" [attr.aria-labelledby]="id + ' increment-' + id + ' decrement-' + id" > @@ -36,8 +36,8 @@ tabindex="0" [dsBtnDisabled]="disabled" (click)="toggleDown()" - title="{{'form.number-picker.decrement' | translate: {field: placeholder} }}" - [attr.aria-label]="'form.number-picker.decrement' | translate: {field: placeholder}"> + title="{{'form.number-picker.decrement' | translate: {field: (placeholder | translate)} }}" + [attr.aria-label]="'form.number-picker.decrement' | translate: {field: (placeholder | translate)}"> {{'form.number-picker.decrement' | translate: {field: name} }} diff --git a/src/assets/i18n/hu.json5 b/src/assets/i18n/hu.json5 index b3a3b583294..3bcf04bba50 100644 --- a/src/assets/i18n/hu.json5 +++ b/src/assets/i18n/hu.json5 @@ -3428,18 +3428,6 @@ // "form.number-picker.increment": "Increment {{field}}", "form.number-picker.increment": "{{field}} növelése", - // "form.number-picker.label.Year": "Year", - // TODO New key - Add a translation - "form.number-picker.label.Year": "Year", - - // "form.number-picker.label.Month": "Month", - // TODO New key - Add a translation - "form.number-picker.label.Month": "Month", - - // "form.number-picker.label.Day": "Day", - // TODO New key - Add a translation - "form.number-picker.label.Day": "Day", - // "form.repeatable.sort.tip": "Drop the item in the new position", "form.repeatable.sort.tip": "Húzza az elemet az új pozícióba.",