From 55f920fbb43ba418af4962ec952efd96d064792a Mon Sep 17 00:00:00 2001 From: Silviu Popa Date: Wed, 15 May 2019 17:59:51 +0300 Subject: [PATCH] [ADF-4521] Form - Multilingual support (#4715) Maurizio says : YES --- lib/core/form/components/widgets/amount/amount.widget.html | 2 +- lib/core/form/components/widgets/checkbox/checkbox.widget.html | 2 +- .../form/components/widgets/container/container.widget.html | 2 +- lib/core/form/components/widgets/content/content.widget.html | 2 +- .../form/components/widgets/date-time/date-time.widget.html | 2 +- lib/core/form/components/widgets/date/date.widget.html | 2 +- .../components/widgets/display-text/display-text.widget.html | 2 +- lib/core/form/components/widgets/dropdown/dropdown.widget.html | 2 +- .../components/widgets/dynamic-table/dynamic-table.widget.html | 2 +- .../widgets/functional-group/functional-group.widget.html | 2 +- .../form/components/widgets/hyperlink/hyperlink.widget.html | 2 +- .../widgets/multiline-text/multiline-text.widget.html | 2 +- lib/core/form/components/widgets/number/number.widget.html | 2 +- lib/core/form/components/widgets/people/people.widget.html | 2 +- .../components/widgets/radio-buttons/radio-buttons.widget.html | 2 +- lib/core/form/components/widgets/tabs/tabs.widget.html | 2 +- lib/core/form/components/widgets/text/text.widget.html | 2 +- .../form/components/widgets/typeahead/typeahead.widget.html | 2 +- .../components/widgets/upload-folder/upload-folder.widget.html | 2 +- lib/core/form/components/widgets/upload/upload.widget.html | 2 +- .../src/lib/form/components/upload-cloud.widget.html | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/core/form/components/widgets/amount/amount.widget.html b/lib/core/form/components/widgets/amount/amount.widget.html index 1f51c6d0a9..ba32674aea 100644 --- a/lib/core/form/components/widgets/amount/amount.widget.html +++ b/lib/core/form/components/widgets/amount/amount.widget.html @@ -1,6 +1,6 @@
- + {{currency }} - {{field.name}} + {{field.name | translate }} *
diff --git a/lib/core/form/components/widgets/container/container.widget.html b/lib/core/form/components/widgets/container/container.widget.html index 240d168624..a7ed104e3f 100644 --- a/lib/core/form/components/widgets/container/container.widget.html +++ b/lib/core/form/components/widgets/container/container.widget.html @@ -7,7 +7,7 @@ (click)="onExpanderClicked()"> {{ content?.isExpanded ? 'expand_more' : 'expand_less' }} - {{content.name}} + {{content.name | translate }} diff --git a/lib/core/form/components/widgets/content/content.widget.html b/lib/core/form/components/widgets/content/content.widget.html index 30cd6c306b..d814484e6a 100644 --- a/lib/core/form/components/widgets/content/content.widget.html +++ b/lib/core/form/components/widgets/content/content.widget.html @@ -8,7 +8,7 @@
{{ 'FORM.PREVIEW.IMAGE_NOT_AVAILABLE' | translate }}
-
{{content.name}}
+
{{content.name | translate }}
diff --git a/lib/core/form/components/widgets/date-time/date-time.widget.html b/lib/core/form/components/widgets/date-time/date-time.widget.html index 001c56ac74..acc346b35e 100644 --- a/lib/core/form/components/widgets/date-time/date-time.widget.html +++ b/lib/core/form/components/widgets/date-time/date-time.widget.html @@ -1,7 +1,7 @@
- + - + {{field.value}}
+
{{field.value | translate}}
diff --git a/lib/core/form/components/widgets/dropdown/dropdown.widget.html b/lib/core/form/components/widgets/dropdown/dropdown.widget.html index 365995c8d7..fa2d9eb593 100644 --- a/lib/core/form/components/widgets/dropdown/dropdown.widget.html +++ b/lib/core/form/components/widgets/dropdown/dropdown.widget.html @@ -1,6 +1,6 @@
- + -
{{content.name}}*
+
{{content.name | translate }}*
diff --git a/lib/core/form/components/widgets/functional-group/functional-group.widget.html b/lib/core/form/components/widgets/functional-group/functional-group.widget.html index cf94ccc7a2..4518018694 100644 --- a/lib/core/form/components/widgets/functional-group/functional-group.widget.html +++ b/lib/core/form/components/widgets/functional-group/functional-group.widget.html @@ -2,7 +2,7 @@ [class.is-dirty]="value" [class.adf-invalid]="!field.isValid" [class.adf-readonly]="field.readOnly" id="functional-group-div"> - + - + diff --git a/lib/core/form/components/widgets/multiline-text/multiline-text.widget.html b/lib/core/form/components/widgets/multiline-text/multiline-text.widget.html index c7ff457106..0cf014c37f 100644 --- a/lib/core/form/components/widgets/multiline-text/multiline-text.widget.html +++ b/lib/core/form/components/widgets/multiline-text/multiline-text.widget.html @@ -1,7 +1,7 @@
- +