diff --git a/ui/src/app/schema-form/schema-form.module.ts b/ui/src/app/schema-form/schema-form.module.ts index d4a157e47..a549e7df6 100644 --- a/ui/src/app/schema-form/schema-form.module.ts +++ b/ui/src/app/schema-form/schema-form.module.ts @@ -18,6 +18,7 @@ import { CustomIntegerComponent } from './widget/number/number.component'; import { FilterTargetComponent } from './widget/filter-target/filter-target.component'; import { ChecklistComponent } from './widget/check/checklist.component'; import { IconButtonComponent } from './widget/button/icon-button.component'; +import { I18nModule } from '../i18n/i18n.module'; export const COMPONENTS = [ BooleanRadioComponent, @@ -41,6 +42,7 @@ export const COMPONENTS = [ NgbPopoverModule, NgbDropdownModule, SharedModule, + I18nModule, SchemaFormModule.forRoot() ], declarations: COMPONENTS, diff --git a/ui/src/app/schema-form/widget/array/array.component.html b/ui/src/app/schema-form/widget/array/array.component.html index f822041d0..0f5c453d2 100644 --- a/ui/src/app/schema-form/widget/array/array.component.html +++ b/ui/src/app/schema-form/widget/array/array.component.html @@ -5,12 +5,14 @@     - {{ schema.description }} + + + @@ -21,10 +23,12 @@
- {{schema.description}} + + + \ No newline at end of file diff --git a/ui/src/app/schema-form/widget/boolean-radio/boolean-radio.component.html b/ui/src/app/schema-form/widget/boolean-radio/boolean-radio.component.html index 44e4a65a6..b6c261cd8 100644 --- a/ui/src/app/schema-form/widget/boolean-radio/boolean-radio.component.html +++ b/ui/src/app/schema-form/widget/boolean-radio/boolean-radio.component.html @@ -1,15 +1,17 @@
- {{ schema.description }} + {{ schema.description }}
diff --git a/ui/src/app/schema-form/widget/check/checkbox.component.html b/ui/src/app/schema-form/widget/check/checkbox.component.html index 7d5b191df..793f794a5 100644 --- a/ui/src/app/schema-form/widget/check/checkbox.component.html +++ b/ui/src/app/schema-form/widget/check/checkbox.component.html @@ -10,12 +10,14 @@ [attr.disabled]="schema.readOnly?true:null" id="{{ name }}" [disableValidation]="true"> -
- {{ schema.description }} + + {{ schema.description }} +
@@ -30,7 +32,7 @@ [attr.disabled]="schema.readOnly?true:null" (change)="onCheck($event.target)" [attr.checked]="checked[option.enum[0]] ? true : null"> - {{option.description}} + {{ option.description }} diff --git a/ui/src/app/schema-form/widget/check/checklist.component.html b/ui/src/app/schema-form/widget/check/checklist.component.html index 1eae97a68..004ff2d95 100644 --- a/ui/src/app/schema-form/widget/check/checklist.component.html +++ b/ui/src/app/schema-form/widget/check/checklist.component.html @@ -24,7 +24,9 @@ aria-checked="false" /> diff --git a/ui/src/app/schema-form/widget/datalist/datalist.component.html b/ui/src/app/schema-form/widget/datalist/datalist.component.html index ce70beafe..3cd151b6b 100644 --- a/ui/src/app/schema-form/widget/datalist/datalist.component.html +++ b/ui/src/app/schema-form/widget/datalist/datalist.component.html @@ -5,14 +5,16 @@ - {{ schema.description }} + + {{ schema.description }} + - {{ schema.description }} + {{ schema.description }} - {{ fieldset.title }} -

{{ fieldset.description }}

+ {{ fieldset.title }} +

{{ fieldset.description }}

diff --git a/ui/src/app/schema-form/widget/filter-target/filter-target.component.html b/ui/src/app/schema-form/widget/filter-target/filter-target.component.html index 556f0c1fc..26e3481b5 100644 --- a/ui/src/app/schema-form/widget/filter-target/filter-target.component.html +++ b/ui/src/app/schema-form/widget/filter-target/filter-target.component.html @@ -3,9 +3,12 @@