From 3d9eebb604d4502d9badcf617d6c5be8adf4f77a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adina=20=C8=9Aeudan?= Date: Mon, 19 Jul 2021 16:23:41 +0300 Subject: [PATCH] Translation rework: Empty state, icon button --- .../downloads-list-screen.component.html | 6 +- .../user-details/user-details.component.html | 20 +---- .../active-fields-listing.component.html | 6 +- .../screens/audit/audit-screen.component.html | 6 +- .../dictionary-listing-screen.component.html | 8 +- .../digital-signature-screen.component.html | 56 ++++--------- ...r-attributes-listing-screen.component.html | 7 +- ...er-templates-listing-screen.component.html | 13 ++- ...e-attributes-listing-screen.component.html | 10 ++- .../screens/rules/rules-screen.component.html | 18 +--- .../smtp-config-screen.component.html | 83 ++++--------------- .../screens/trash/trash-screen.component.html | 4 +- .../user-listing-screen.component.html | 5 +- .../watermark/watermark-screen.component.html | 2 +- .../file-workload.component.html | 19 +++-- .../add-dossier-dialog.component.html | 33 ++------ .../edit-dossier-attributes.component.html | 2 +- .../edit-dossier-general-info.component.html | 23 ++--- .../dossier-listing-screen.component.html | 5 +- .../dossier-overview-screen.component.html | 5 +- .../icon-button/icon-button.component.html | 2 +- .../icon-button/icon-button.component.ts | 3 +- .../dictionary-manager.component.html | 36 ++------ .../empty-state/empty-state.component.html | 10 +-- .../empty-state/empty-state.component.ts | 3 +- .../popup-filter/popup-filter.component.html | 54 +++--------- .../page-header/page-header.component.html | 12 +-- .../overwrite-files-dialog.component.html | 15 +--- 28 files changed, 150 insertions(+), 316 deletions(-) diff --git a/apps/red-ui/src/app/components/downloads-list-screen/downloads-list-screen.component.html b/apps/red-ui/src/app/components/downloads-list-screen/downloads-list-screen.component.html index 604d6cc14..27d023fa7 100644 --- a/apps/red-ui/src/app/components/downloads-list-screen/downloads-list-screen.component.html +++ b/apps/red-ui/src/app/components/downloads-list-screen/downloads-list-screen.component.html @@ -27,7 +27,11 @@
- + diff --git a/apps/red-ui/src/app/modules/admin/dialogs/add-edit-user-dialog/user-details/user-details.component.html b/apps/red-ui/src/app/modules/admin/dialogs/add-edit-user-dialog/user-details/user-details.component.html index 3e8f0a829..cdae4789e 100644 --- a/apps/red-ui/src/app/modules/admin/dialogs/add-edit-user-dialog/user-details/user-details.component.html +++ b/apps/red-ui/src/app/modules/admin/dialogs/add-edit-user-dialog/user-details/user-details.component.html @@ -37,30 +37,18 @@
- -
+
diff --git a/apps/red-ui/src/app/modules/admin/dialogs/file-attributes-csv-import-dialog/active-fields-listing/active-fields-listing.component.html b/apps/red-ui/src/app/modules/admin/dialogs/file-attributes-csv-import-dialog/active-fields-listing/active-fields-listing.component.html index 507db984c..5d9fd6c4e 100644 --- a/apps/red-ui/src/app/modules/admin/dialogs/file-attributes-csv-import-dialog/active-fields-listing/active-fields-listing.component.html +++ b/apps/red-ui/src/app/modules/admin/dialogs/file-attributes-csv-import-dialog/active-fields-listing/active-fields-listing.component.html @@ -80,7 +80,11 @@
- + diff --git a/apps/red-ui/src/app/modules/admin/screens/audit/audit-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/audit/audit-screen.component.html index 677820c46..14cade35c 100644 --- a/apps/red-ui/src/app/modules/admin/screens/audit/audit-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/audit/audit-screen.component.html @@ -107,7 +107,11 @@
- +
diff --git a/apps/red-ui/src/app/modules/admin/screens/dictionary-listing/dictionary-listing-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/dictionary-listing/dictionary-listing-screen.component.html index 9d675e87c..c2a178587 100644 --- a/apps/red-ui/src/app/modules/admin/screens/dictionary-listing/dictionary-listing-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/dictionary-listing/dictionary-listing-screen.component.html @@ -51,8 +51,8 @@
@@ -90,15 +90,15 @@ diff --git a/apps/red-ui/src/app/modules/admin/screens/digital-signature/digital-signature-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/digital-signature/digital-signature-screen.component.html index 18b923648..1667b8727 100644 --- a/apps/red-ui/src/app/modules/admin/screens/digital-signature/digital-signature-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/digital-signature/digital-signature-screen.component.html @@ -22,39 +22,21 @@
-
- + + -
- +
+ @@ -67,9 +49,7 @@ > @@ -78,9 +58,7 @@
@@ -89,9 +67,7 @@
@@ -100,9 +76,7 @@
@@ -112,16 +86,16 @@ @@ -139,6 +113,4 @@
- + diff --git a/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html index ce510f9fe..38125a050 100644 --- a/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/dossier-attributes-listing/dossier-attributes-listing-screen.component.html @@ -51,8 +51,8 @@
@@ -83,12 +83,13 @@ - +
@@ -89,9 +89,16 @@
- + - +
@@ -113,9 +113,13 @@
- + - + diff --git a/apps/red-ui/src/app/modules/admin/screens/rules/rules-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/rules/rules-screen.component.html index cef6a100c..dc97529c9 100644 --- a/apps/red-ui/src/app/modules/admin/screens/rules/rules-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/rules/rules-screen.component.html @@ -20,28 +20,18 @@
- +
-
+
- + diff --git a/apps/red-ui/src/app/modules/admin/screens/smtp-config/smtp-config-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/smtp-config/smtp-config-screen.component.html index 7bb320818..a7a43ce4f 100644 --- a/apps/red-ui/src/app/modules/admin/screens/smtp-config/smtp-config-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/smtp-config/smtp-config-screen.component.html @@ -32,10 +32,7 @@ [(ngModel)]="generalSettings.forgotPasswordFunctionEnabled" color="primary" > - +
@@ -64,9 +61,7 @@
@@ -81,30 +76,20 @@
- + - +
@@ -112,69 +97,44 @@
- +
- + - +
- +
- +
- +
-
@@ -208,6 +163,4 @@
- + diff --git a/apps/red-ui/src/app/modules/admin/screens/trash/trash-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/trash/trash-screen.component.html index 5c84eaab6..61385b36b 100644 --- a/apps/red-ui/src/app/modules/admin/screens/trash/trash-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/trash/trash-screen.component.html @@ -66,9 +66,9 @@
- + - +
diff --git a/apps/red-ui/src/app/modules/admin/screens/watermark/watermark-screen.component.html b/apps/red-ui/src/app/modules/admin/screens/watermark/watermark-screen.component.html index d87d01af3..3450226a8 100644 --- a/apps/red-ui/src/app/modules/admin/screens/watermark/watermark-screen.component.html +++ b/apps/red-ui/src/app/modules/admin/screens/watermark/watermark-screen.component.html @@ -25,8 +25,8 @@
diff --git a/apps/red-ui/src/app/modules/dossier/components/file-workload/file-workload.component.html b/apps/red-ui/src/app/modules/dossier/components/file-workload/file-workload.component.html index 29cd7505d..396cd8b6d 100644 --- a/apps/red-ui/src/app/modules/dossier/components/file-workload/file-workload.component.html +++ b/apps/red-ui/src/app/modules/dossier/components/file-workload/file-workload.component.html @@ -46,12 +46,12 @@ > {{ selectedAnnotations?.length || 0 }} selected @@ -130,7 +130,12 @@ tabindex="1" > - + {{ 'file-preview.tabs.annotations.page-is' | translate }} @@ -142,16 +147,16 @@
diff --git a/apps/red-ui/src/app/modules/dossier/dialogs/add-dossier-dialog/add-dossier-dialog.component.html b/apps/red-ui/src/app/modules/dossier/dialogs/add-dossier-dialog/add-dossier-dialog.component.html index 3584648d4..405737a9a 100644 --- a/apps/red-ui/src/app/modules/dossier/dialogs/add-dossier-dialog/add-dossier-dialog.component.html +++ b/apps/red-ui/src/app/modules/dossier/dialogs/add-dossier-dialog/add-dossier-dialog.component.html @@ -16,18 +16,10 @@
{{ 'add-dossier-dialog.form.template' | translate }} - + @@ -54,21 +46,12 @@
- + {{ 'add-dossier-dialog.form.due-date' | translate }}
- + @@ -102,16 +85,12 @@
- + diff --git a/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/attributes/edit-dossier-attributes.component.html b/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/attributes/edit-dossier-attributes.component.html index f641b9463..4ae754bea 100644 --- a/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/attributes/edit-dossier-attributes.component.html +++ b/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/attributes/edit-dossier-attributes.component.html @@ -54,9 +54,9 @@ (action)="fileInputClick(attr)" *ngIf="!currentAttrValue(attr)" [disabled]="!canEdit" + [label]="'edit-dossier-dialog.attributes.upload-image' | translate" class="upload-button" icon="red:upload" - text="edit-dossier-dialog.attributes.upload-image" type="show-bg" > diff --git a/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/general-info/edit-dossier-general-info.component.html b/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/general-info/edit-dossier-general-info.component.html index 0fe55be18..b18f3ed26 100644 --- a/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/general-info/edit-dossier-general-info.component.html +++ b/apps/red-ui/src/app/modules/dossier/dialogs/edit-dossier-dialog/general-info/edit-dossier-general-info.component.html @@ -11,17 +11,11 @@
- {{ - 'edit-dossier-dialog.general-info.form.template' | translate - }} + {{ 'edit-dossier-dialog.general-info.form.template' | translate }} @@ -34,9 +28,7 @@