From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 29 May 2024 07:07:32 +0000 (-0700) Subject: Fix: remove unnecessary i18ns X-Git-Tag: v2.9.0~1^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7347bdb6996bbf375d4cce0d32251eda0e51fe8;p=thirdparty%2Fpaperless-ngx.git Fix: remove unnecessary i18ns --- diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index edec5cef08..f9d0c591a3 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -3018,29 +3018,6 @@ 62 - - - - src/app/components/common/custom-field-display/custom-field-display.component.html - 32 - - - src/app/components/common/input/drag-drop-select/drag-drop-select.component.html - 12 - - - src/app/components/common/input/tags/tags.component.html - 4 - - - src/app/components/common/permissions-select/permissions-select.component.html - 22 - - - src/app/components/document-history/document-history.component.html - 35 - - Search fields @@ -6455,13 +6432,6 @@ 74 - - Notes - - src/app/components/document-list/document-card-large/document-card-large.component.html - 75 - - Created: diff --git a/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html b/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html index 3af2ccd291..07347f8e0c 100644 --- a/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html +++ b/src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html @@ -29,6 +29,6 @@ } } } @else if (showNameIfEmpty) { - {{field.name}} + {{field.name}} } } diff --git a/src-ui/src/app/components/common/input/drag-drop-select/drag-drop-select.component.html b/src-ui/src/app/components/common/input/drag-drop-select/drag-drop-select.component.html index fe549382a7..bd7359e237 100644 --- a/src-ui/src/app/components/common/input/drag-drop-select/drag-drop-select.component.html +++ b/src-ui/src/app/components/common/input/drag-drop-select/drag-drop-select.component.html @@ -9,7 +9,7 @@ {{item.name}} } @if (selectedItems.length === 0) { - {{emptyText}} + {{emptyText}} } diff --git a/src-ui/src/app/components/common/input/tags/tags.component.html b/src-ui/src/app/components/common/input/tags/tags.component.html index 8384840a39..8184bbbfa8 100644 --- a/src-ui/src/app/components/common/input/tags/tags.component.html +++ b/src-ui/src/app/components/common/input/tags/tags.component.html @@ -1,7 +1,7 @@ 0"> - {{title}} + {{title}} diff --git a/src-ui/src/app/components/common/permissions-select/permissions-select.component.html b/src-ui/src/app/components/common/permissions-select/permissions-select.component.html index 049d0e7769..0a0bea5c0e 100644 --- a/src-ui/src/app/components/common/permissions-select/permissions-select.component.html +++ b/src-ui/src/app/components/common/permissions-select/permissions-select.component.html @@ -19,7 +19,7 @@ @for (action of PermissionAction | keyvalue; track action) { - {{action.key}} + {{action.key}} } diff --git a/src-ui/src/app/components/document-history/document-history.component.html b/src-ui/src/app/components/document-history/document-history.component.html index 8ada7880d8..ea4a3c9bb2 100644 --- a/src-ui/src/app/components/document-history/document-history.component.html +++ b/src-ui/src/app/components/document-history/document-history.component.html @@ -32,7 +32,7 @@ @for (change of entry.changes | keyvalue; track change.key) { @if (change.value["type"] === 'm2m') { - {{ change.value["operation"] | titlecase }} + {{ change.value["operation"] | titlecase }} {{ change.key | titlecase }}: {{ change.value["objects"].join(', ') }} diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index 51f51a517a..7e406a7c75 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -72,7 +72,7 @@ @if (displayFields.includes(DisplayField.NOTES) && notesEnabled && document.notes.length) { - {{document.notes.length}} Notes + {{document.notes.length}} Notes } @if (displayFields.includes(DisplayField.DOCUMENT_TYPE) && document.document_type) {
{{ change.value["objects"].join(', ') }}