From 4e4aa2355256c93ac491cf4e8e81af5fbea29e58 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Wed, 22 May 2024 21:38:08 +0300 Subject: [PATCH 1/7] RED-8882 - Help Mode design improvements --- libs/common-ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common-ui b/libs/common-ui index e8f5bc8f2..e7fca876b 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit e8f5bc8f2c0716cd20beb9315b67807157c6c9cc +Subproject commit e7fca876bb0064ebceb6d18d721260c078a9a556 From a94d8bfbc38e09efd3560aa7c008a54c88475058 Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Thu, 23 May 2024 01:03:37 +0000 Subject: [PATCH 2/7] push back localazy update --- apps/red-ui/src/assets/i18n/redact/de.json | 189 ++++++++++----------- apps/red-ui/src/assets/i18n/redact/en.json | 50 +++--- apps/red-ui/src/assets/i18n/scm/de.json | 163 +++++++++--------- apps/red-ui/src/assets/i18n/scm/en.json | 2 +- 4 files changed, 195 insertions(+), 209 deletions(-) diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 50e72fa0e..19d6aaf55 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -26,11 +26,6 @@ "title": "Add annotation" } }, - "add-clone-dossier-template": { - "save": "", - "save-and-edit": "", - "title": "" - }, "add-dossier-dialog": { "actions": { "save": "Speichern", @@ -92,7 +87,8 @@ "valid-from": "Gültig ab", "valid-to": "Gültig bis" }, - "save": "Dossier-Vorlage speichern" + "save": "Dossier-Vorlage speichern", + "title": "{type, select, edit{Dossier-Vorlage {name} bearbeiten} create{Dossier-Vorlage erstellen} clone{} other{}}" }, "add-edit-dossier-attribute": { "error": { @@ -116,7 +112,7 @@ "rank": "Rank" }, "save": "Save state", - "success": "Successfully {type, select, edit{updated} create{created} other{}} the dossier state!", + "success": "Dossier state {type, select, edit{has been updated} creation successful{created} other{}}.", "title": "{type, select, edit{Edit {name}} create{Create} other{}} dossier state" }, "add-edit-entity": { @@ -142,8 +138,8 @@ "template-and-dossier-dictionaries": "Template & dossier dictionaries" }, "success": { - "create": "Entity added!", - "edit": "Entity updated. Please note that other users need to refresh the browser to see your changes." + "create": "Success: Entity created.", + "edit": "Entity updated.

Please note that other users need to refresh their browsers to see your changes." } }, "add-edit-file-attribute": { @@ -254,6 +250,9 @@ "watermarks": "Watermarks" }, "analysis-disabled": "", + "annotation": { + "pending": "(Pending analysis)" + }, "annotation-actions": { "accept-recommendation": { "label": "Empfehlung annehmen" @@ -308,14 +307,14 @@ "error": "Rekategorisierung des Bildes gescheitert: {error}", "success": "Bild wurde einer neuen Kategorie zugeordnet." }, - "remove-hint": { - "error": "Failed to remove hint: {error}", - "success": "Hint removed!" - }, "remove": { "error": "Fehler beim Entfernen der Schwärzung: {error}", "success": "Schwärzung entfernt!" }, + "remove-hint": { + "error": "Failed to remove hint: {error}", + "success": "Hint removed!" + }, "undo": { "error": "Die Aktion konnte nicht rückgängig gemacht werden. Fehler: {error}", "success": "erfolgreich Rückgängig gemacht" @@ -328,15 +327,15 @@ "remove-highlights": { "label": "Remove selected earmarks" }, + "resize": { + "label": "Größe ändern" + }, "resize-accept": { "label": "Größe speichern" }, "resize-cancel": { "label": "Größenänderung abbrechen" }, - "resize": { - "label": "Größe ändern" - }, "see-references": { "label": "See references" }, @@ -368,9 +367,6 @@ "skipped": "Übersprungen", "text-highlight": "Earmark" }, - "annotation": { - "pending": "(Pending analysis)" - }, "archived-dossiers-listing": { "no-data": { "title": "No archived dossiers." @@ -534,20 +530,20 @@ "archive": "Archive dossier", "cancel": "Cancel", "checkbox": { - "documents": "All documents will be archived and cannot be put back to active" + "documents": "All documents will be archived and cannot be returned to active status." }, - "details": "Restoring an archived dossier is not possible anymore, once it got archived.", + "details": "Be aware that archiving is an irreversible action. Documents archived will no longer be available for active use.", "title": "Archive {dossierName}", - "toast-error": "Please confirm that you understand the ramifications of your action!", + "toast-error": "Please confirm that you understand the consequences of this action.", "warning": "Are you sure you want to archive the dossier?" }, "confirm-delete-attribute": { "cancel": "{count, plural, one{Attribut} other{Attribute}} behalten", "delete": "{count, plural, one{Attribut} other{Attribute}} löschen", - "dossier-impacted-documents": "All dossiers based on this template will be affected", - "dossier-lost-details": "All values for this attribute will be lost", - "file-impacted-documents": "All documents {count, plural, one{it is} other{they are}} used on will be impacted", - "file-lost-details": "All inputted details on the documents will be lost", + "dossier-impacted-documents": "This action will affect all dossiers that use this template.", + "dossier-lost-details": "All attribute values entered by users on document level will be lost.", + "file-impacted-documents": "All documents that use {count, plural, one{his attribute} other{these attributes}} will be impacted.", + "file-lost-details": "All information entered by users on document level will be lost.", "impacted-report": "{reportsCount}", "title": "{count, plural, one{{name}} other{Datei-Attribute}} löschen", "toast-error": "Bitte bestätigen Sie, dass Ihnen die Konsequenzen dieser Aktion bewusst sind!", @@ -559,9 +555,9 @@ "delete-replace": "Delete and replace", "form": { "state": "Replace state", - "state-placeholder": "Choose another state" + "state-placeholder": "Select another state" }, - "question": "Replace the {count, plural, one{dossier's} other{dossiers'}} state with another state", + "question": "Select another state to replace the current {count, plural, one{dossier} other{dossier}} state", "success": "Successfully deleted state!", "title": "Delete dossier state", "warning": "The {name} state is assigned to {count} {count, plural, one{dossier} other{dossiers}}." @@ -576,14 +572,18 @@ "warning": "Achtung: Diese Aktion kann nicht rückgängig gemacht werden!" }, "confirmation-dialog": { + "approve-file": { + "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", + "title": "Warnung!" + }, "approve-file-without-analysis": { "confirmationText": "Approve without analysis", "denyText": "Cancel", "question": "Analysis required to detect new redactions.", "title": "Warning!" }, - "approve-file": { - "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", + "approve-multiple-files": { + "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", "title": "Warnung!" }, "approve-multiple-files-without-analysis": { @@ -592,10 +592,6 @@ "question": "Analysis required to detect new redactions for at least one file.", "title": "Warning" }, - "approve-multiple-files": { - "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", - "title": "Warnung!" - }, "assign-file-to-me": { "question": { "multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?", @@ -959,13 +955,13 @@ "recent": "Neu ({hours} h)", "unassigned": "Niemandem zugewiesen" }, + "reanalyse": { + "action": "Datei analysieren" + }, "reanalyse-dossier": { "error": "Die Dateien konnten nicht für eine Reanalyse eingeplant werden. Bitte versuchen Sie es erneut.", "success": "Dateien für Reanalyse vorgesehen." }, - "reanalyse": { - "action": "Datei analysieren" - }, "start-auto-analysis": "Enable auto-analysis", "stop-auto-analysis": "Stop auto-analysis", "table-col-names": { @@ -1023,7 +1019,6 @@ "entities": "{count} {count, plural, one{entity} other{entities}}", "entries": "{count} {count, plural, one{entry} other{entries}}", "modified-on": "Modified on: {date}", - "title": "", "valid-from": "Valid from: {date}", "valid-to": "Valid to: {date}" }, @@ -1035,6 +1030,14 @@ "total-documents": "Anzahl der Dokumente", "total-people": "{count} {count, plural, one{user} other {users}}" }, + "dossier-templates": { + "label": "Dossier-Vorlagen", + "status": { + "active": "Active", + "inactive": "Inactive", + "incomplete": "Incomplete" + } + }, "dossier-templates-listing": { "action": { "clone": "Clone template", @@ -1070,14 +1073,6 @@ "title": "{length} {length, plural, one{Dossier-Vorlage} other{Dossier-Vorlagen}}" } }, - "dossier-templates": { - "label": "Dossier-Vorlagen", - "status": { - "active": "Active", - "inactive": "Inactive", - "incomplete": "Incomplete" - } - }, "dossier-watermark-selector": { "heading": "Watermarks on documents", "no-watermark": "There is no watermark defined for the dossier template.
Contact your app admin to define one.", @@ -1273,6 +1268,15 @@ "title": "{length} {length, plural, one{Wörterbuch} other{Wörterbücher}}" } }, + "entity": { + "info": { + "actions": { + "revert": "Revert", + "save": "Save changes" + }, + "heading": "Edit entity" + } + }, "entity-rules-screen": { "error": { "generic": "Something went wrong... Entity rules update failed!" @@ -1287,28 +1291,19 @@ "warning-text": "Warning: experimental feature!", "warnings-found": "{warnings, plural, one{A warning} other{{warnings} warnings}} found in rules" }, - "entity": { - "info": { - "actions": { - "revert": "Revert", - "save": "Save changes" - }, - "heading": "Edit entity" - } - }, "error": { "deleted-entity": { "dossier": { "action": "Zurück zur Übersicht", "label": "Dieses Dossier wurde gelöscht!" }, - "file-dossier": { - "action": "Zurück zur Übersicht", - "label": "Das Dossier dieser Datei wurde gelöscht!" - }, "file": { "action": "Zurück zum Dossier", "label": "Diese Datei wurde gelöscht!" + }, + "file-dossier": { + "action": "Zurück zur Übersicht", + "label": "Das Dossier dieser Datei wurde gelöscht!" } }, "file-preview": { @@ -1326,6 +1321,12 @@ }, "exact-date": "{day} {month} {year} um {hour}:{minute} Uhr", "file": "Datei", + "file-attribute": { + "update": { + "error": "Failed to update file attribute value!", + "success": "File attribute value has been updated successfully!" + } + }, "file-attribute-encoding-types": { "ascii": "ASCII", "iso": "ISO-8859-1", @@ -1336,12 +1337,6 @@ "number": "Nummer", "text": "Freier Text" }, - "file-attribute": { - "update": { - "error": "Failed to update file attribute value!", - "success": "File attribute value has been updated successfully!" - } - }, "file-attributes-configurations": { "cancel": "Cancel", "form": { @@ -1560,15 +1555,6 @@ "csv": "File attributes were imported successfully from uploaded CSV file." } }, - "filter-menu": { - "filter-options": "Filteroptionen", - "filter-types": "Filter", - "label": "Filter", - "pages-without-annotations": "Only pages without annotations", - "redaction-changes": "Nur Anmerkungen mit Schwärzungsänderungen", - "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", - "with-comments": "Nur Anmerkungen mit Kommentaren" - }, "filter": { "analysis": "Analyse erforderlich", "comment": "Kommentare", @@ -1578,6 +1564,15 @@ "redaction": "Geschwärzt", "updated": "Aktualisiert" }, + "filter-menu": { + "filter-options": "Filteroptionen", + "filter-types": "Filter", + "label": "Filter", + "pages-without-annotations": "Only pages without annotations", + "redaction-changes": "Nur Anmerkungen mit Schwärzungsänderungen", + "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", + "with-comments": "Nur Anmerkungen mit Kommentaren" + }, "filters": { "assigned-people": "Beauftragt", "documents-status": "Documents state", @@ -1660,7 +1655,7 @@ }, "convert": { "confirmation": "The {count} selected {count, plural, one{earmark} other{earmarks}} will be converted", - "details": "All earmarks from the document will be converted to imported redactions, using the color set up in the 'Default colors' section of the app.", + "details": "All earmarks from the document will be converted to imported redactions, using the color defined by the application admin.", "options": { "all-pages": { "description": "The earmarks in the selected HEX color will be converted on all pages of the document.", @@ -1850,6 +1845,13 @@ "user-promoted-to-approver": "{user} wurde im Dossier {dossierHref, select, null{{dossierName}} other{{dossierName}}} zum Genehmiger ernannt!", "user-removed-as-dossier-member": "{user} wurde als Mitglied von: {dossierHref, select, null{{dossierName}} other{{dossierName}}} entfernt!" }, + "notifications": { + "button-text": "Notifications", + "deleted-dossier": "Deleted dossier", + "label": "Benachrichtigungen", + "mark-all-as-read": "Alle als gelesen markieren", + "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" + }, "notifications-screen": { "category": { "email-notifications": "E-Mail Benachrichtigungen", @@ -1863,7 +1865,6 @@ "dossier": "Dossierbezogene Benachrichtigungen", "other": "Andere Benachrichtigungen" }, - "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "options": { "ASSIGN_APPROVER": "Wenn ich einem Dokument als Genehmiger zugewiesen bin", "ASSIGN_REVIEWER": "Wenn ich einem Dokument als Überprüfer zugewiesen bin", @@ -1881,6 +1882,7 @@ "USER_PROMOTED_TO_APPROVER": "Wenn ich Genehmiger in einem Dossier werde", "USER_REMOVED_AS_DOSSIER_MEMBER": "Wenn ich die Dossier-Mitgliedschaft verliere" }, + "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "schedule": { "daily": "Tägliche Zusammenfassung", "instant": "Sofortig", @@ -1888,13 +1890,6 @@ }, "title": "Benachrichtigungseinstellungen" }, - "notifications": { - "button-text": "Notifications", - "deleted-dossier": "Deleted dossier", - "label": "Benachrichtigungen", - "mark-all-as-read": "Alle als gelesen markieren", - "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" - }, "ocr": { "confirmation-dialog": { "cancel": "Cancel", @@ -1984,7 +1979,12 @@ "title": "Edit preferences", "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", - "warnings-subtitle": "Do not show again options" + "warnings-subtitle": "Do not show again options", + "warnings-title": "Prompts and dialogs settings" + }, + "processing": { + "basic": "Processing", + "ocr": "OCR" }, "processing-status": { "ocr": "OCR", @@ -1992,10 +1992,6 @@ "processed": "processed", "processing": "Processing" }, - "processing": { - "basic": "Processing", - "ocr": "OCR" - }, "readonly": "Lesemodus", "readonly-archived": "Read only (archived)", "redact-text": { @@ -2219,6 +2215,12 @@ "red-user-admin": "Benutzer-Admin", "regular": "Regulär" }, + "search": { + "active-dossiers": "ganze Plattform", + "all-dossiers": "all documents", + "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", + "this-dossier": "in diesem Dossier" + }, "search-screen": { "cols": { "assignee": "Bevollmächtigter", @@ -2242,12 +2244,6 @@ "no-match": "Keine Dokumente entsprechen Ihren aktuellen Filtern.", "table-header": "{length} {length, plural, one{Suchergebnis} other{Suchergebnisse}}" }, - "search": { - "active-dossiers": "ganze Plattform", - "all-dossiers": "all documents", - "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", - "this-dossier": "in diesem Dossier" - }, "seconds": "seconds", "size": "Size", "smtp-auth-config": { @@ -2262,9 +2258,6 @@ }, "title": "Authentifizierung aktivieren" }, - "table-header": { - "selected-count": "" - }, "tenant-resolve": { "contact-administrator": "Cannot remember the workspace? Please contact your administrator.", "header": { @@ -2502,4 +2495,4 @@ } }, "yesterday": "Gestern" -} +} \ No newline at end of file diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index 9ece25962..19863287c 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -37,7 +37,7 @@ "save-and-add-members": "Save and edit team" }, "errors": { - "dossier-already-exists": "Dossier with this name already exists! If it is in the trash, you need to permanently delete it first to re-use the name. If it is an active or archived dossier, please choose a different name.", + "dossier-already-exists": "Dossier name already exists.\n", "generic": "Failed to save dossier." }, "form": { @@ -60,7 +60,7 @@ }, "add-edit-clone-dossier-template": { "error": { - "conflict": "Failed to create dossier template: a dossier template with the same name already exists." + "conflict": "Template name already exists.

Please choose a different name." }, "form": { "apply-updates-default": { @@ -116,7 +116,7 @@ "rank": "Rank" }, "save": "Save state", - "success": "Successfully {type, select, edit{updated} create{created} other{}} the dossier state!", + "success": "Dossier state {type, select, edit{has been updated} creation successful{created} other{}}.", "title": "{type, select, edit{Edit {name}} create{Create} other{}} dossier state" }, "add-edit-entity": { @@ -142,8 +142,8 @@ "template-and-dossier-dictionaries": "Template & dossier dictionaries" }, "success": { - "create": "Entity added!", - "edit": "Entity updated. Please note that other users need to refresh the browser to see your changes." + "create": "Success: Entity created.", + "edit": "Entity updated.

Please note that other users need to refresh their browsers to see your changes." } }, "add-edit-file-attribute": { @@ -156,8 +156,8 @@ "filterable-disabled": "The maximum number of filterable attributes ({maxNumber}) has been reached.", "name": "Attribute name", "name-placeholder": "Enter name", - "primary": "Set as primary", - "read-only": "Make read-only", + "primary": "Primary attribute", + "read-only": "Read-only", "type": "Type" }, "save": "Save attribute", @@ -274,7 +274,7 @@ "message": { "dictionary": { "add": { - "conflict-error": "Cannot add ''{content}'' to the {dictionaryName} dictionary because it was recognized as a general term that appears too often in texts.", + "conflict-error": "Stop word term: ''{content}''

''{content}'' is a frequently occurring term that cannot be stored for annotation across the entire dossier or all dossiers.", "error": "Failed to add entry to dictionary: {error}", "success": "Entry added to dictionary. Changes will be visible after reanalysis." }, @@ -534,24 +534,24 @@ "archive": "Archive dossier", "cancel": "Cancel", "checkbox": { - "documents": "All documents will be archived and cannot be put back to active" + "documents": "All documents will be archived and cannot be returned to active status." }, - "details": "Restoring an archived dossier is not possible anymore, once it got archived.", + "details": "Be aware that archiving is an irreversible action. Documents archived will no longer be available for active use.", "title": "Archive {dossierName}", - "toast-error": "Please confirm that you understand the ramifications of your action!", + "toast-error": "Please confirm that you understand the consequences of this action.", "warning": "Are you sure you want to archive the dossier?" }, "confirm-delete-attribute": { "cancel": "Keep {count, plural, one{attribute} other{attributes}}", "delete": "Delete {count, plural, one{attribute} other{attributes}}", - "dossier-impacted-documents": "All dossiers based on this template will be affected", - "dossier-lost-details": "All values for this attribute will be lost", - "file-impacted-documents": "All documents {count, plural, one{it is} other{they are}} used on will be impacted", - "file-lost-details": "All inputted details on the documents will be lost", - "impacted-report": "{reportsCount} reports use the placeholder for this attribute and need to be adjusted", + "dossier-impacted-documents": "This action will affect all dossiers that use this template.", + "dossier-lost-details": "All attribute values entered by users on document level will be lost.", + "file-impacted-documents": "All documents that use {count, plural, one{his attribute} other{these attributes}} will be impacted.", + "file-lost-details": "All information entered by users on document level will be lost.", + "impacted-report": "{reportsCount} reports currently use the placeholder for this attribute.

Please update them accordingly.", "title": "Delete {count, plural, one{{name}} other{file attributes}}", - "toast-error": "Please confirm that you understand the ramifications of your action!", - "warning": "Warning: this cannot be undone!" + "toast-error": "Please confirm that you understand the consequences of this action.", + "warning": "Warning: This action cannot be undone!" }, "confirm-delete-dossier-state": { "cancel": "Cancel", @@ -559,9 +559,9 @@ "delete-replace": "Delete and replace", "form": { "state": "Replace state", - "state-placeholder": "Choose another state" + "state-placeholder": "Select another state" }, - "question": "Replace the {count, plural, one{dossier's} other{dossiers'}} state with another state", + "question": "Select another state to replace the current {count, plural, one{dossier} other{dossier}} state", "success": "Successfully deleted state!", "title": "Delete dossier state", "warning": "The {name} state is assigned to {count} {count, plural, one{dossier} other{dossiers}}." @@ -572,8 +572,8 @@ "impacted-documents": "All documents pending review from the {usersCount, plural, one{user} other{users}} will be impacted", "impacted-dossiers": "{dossiersCount} {dossiersCount, plural, one{dossier} other{dossiers}} will be impacted", "title": "Delete {usersCount, plural, one{user} other{users}} from workspace", - "toast-error": "Please confirm that you understand the ramifications of your action!", - "warning": "Warning: this cannot be undone!" + "toast-error": "Please confirm that you understand the consequences of this action.", + "warning": "Warning: This action cannot be undone!" }, "confirmation-dialog": { "approve-file-without-analysis": { @@ -1142,7 +1142,7 @@ "color-placeholder": "Color" }, "save": "Save", - "success": "Color saved successfully. Please note that the users need to refresh the browser to see the updated color." + "success": "Success: Color saved.

Please note that other users need to refresh their browsers to see your changes." }, "edit-dossier-dialog": { "actions": { @@ -1660,7 +1660,7 @@ }, "convert": { "confirmation": "The {count} selected {count, plural, one{earmark} other{earmarks}} will be converted", - "details": "All earmarks from the document will be converted to imported redactions, using the color set up in the 'Default colors' section of the app.", + "details": "All earmarks from the document will be converted to imported redactions, using the color defined by the application admin.", "options": { "all-pages": { "description": "The earmarks in the selected HEX color will be converted on all pages of the document.", @@ -2502,4 +2502,4 @@ } }, "yesterday": "Yesterday" -} +} \ No newline at end of file diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index b609290af..eb4acdb2c 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -26,11 +26,6 @@ "title": "Add annotation" } }, - "add-clone-dossier-template": { - "save": "", - "save-and-edit": "", - "title": "" - }, "add-dossier-dialog": { "actions": { "save": "Speichern", @@ -92,7 +87,8 @@ "valid-from": "Gültig ab", "valid-to": "Gültig bis" }, - "save": "Dossier-Vorlage speichern" + "save": "Dossier-Vorlage speichern", + "title": "{type, select, edit{Dossier-Vorlage {name} bearbeiten} create{Dossier-Vorlage erstellen} clone{} other{}}" }, "add-edit-dossier-attribute": { "error": { @@ -254,6 +250,9 @@ "watermarks": "Watermarks" }, "analysis-disabled": "Analysis disabled", + "annotation": { + "pending": "(Pending analysis)" + }, "annotation-actions": { "accept-recommendation": { "label": "Empfehlung annehmen" @@ -308,14 +307,14 @@ "error": "Rekategorisierung des Bildes gescheitert: {error}", "success": "Bild wurde einer neuen Kategorie zugeordnet." }, - "remove-hint": { - "error": "Failed to remove hint: {error}", - "success": "Hint removed!" - }, "remove": { "error": "Fehler beim Entfernen der Schwärzung: {error}", "success": "Schwärzung entfernt!" }, + "remove-hint": { + "error": "Failed to remove hint: {error}", + "success": "Hint removed!" + }, "undo": { "error": "Die Aktion konnte nicht rückgängig gemacht werden. Fehler: {error}", "success": "erfolgreich Rückgängig gemacht" @@ -328,15 +327,15 @@ "remove-highlights": { "label": "Remove selected earmarks" }, + "resize": { + "label": "Größe ändern" + }, "resize-accept": { "label": "Größe speichern" }, "resize-cancel": { "label": "Größenänderung abbrechen" }, - "resize": { - "label": "Größe ändern" - }, "see-references": { "label": "See references" }, @@ -368,9 +367,6 @@ "skipped": "Übersprungen", "text-highlight": "Earmark" }, - "annotation": { - "pending": "(Pending analysis)" - }, "archived-dossiers-listing": { "no-data": { "title": "No archived dossiers." @@ -576,14 +572,18 @@ "warning": "Achtung: Diese Aktion kann nicht rückgängig gemacht werden!" }, "confirmation-dialog": { + "approve-file": { + "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", + "title": "Warnung!" + }, "approve-file-without-analysis": { "confirmationText": "Approve without analysis", "denyText": "Cancel", "question": "Analysis required to detect new components.", "title": "Warning!" }, - "approve-file": { - "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", + "approve-multiple-files": { + "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", "title": "Warnung!" }, "approve-multiple-files-without-analysis": { @@ -592,10 +592,6 @@ "question": "Analysis required to detect new components for at least one file.", "title": "Warning" }, - "approve-multiple-files": { - "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", - "title": "Warnung!" - }, "assign-file-to-me": { "question": { "multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?", @@ -959,13 +955,13 @@ "recent": "Neu ({hours} h)", "unassigned": "Niemandem zugewiesen" }, + "reanalyse": { + "action": "Datei analysieren" + }, "reanalyse-dossier": { "error": "Die Dateien konnten nicht für eine Reanalyse eingeplant werden. Bitte versuchen Sie es erneut.", "success": "Dateien für Reanalyse vorgesehen." }, - "reanalyse": { - "action": "Datei analysieren" - }, "start-auto-analysis": "Enable auto-analysis", "stop-auto-analysis": "Stop auto-analysis", "table-col-names": { @@ -1023,7 +1019,6 @@ "entities": "{count} {count, plural, one{entity} other{entities}}", "entries": "{count} {count, plural, one{entry} other{entries}}", "modified-on": "Modified on: {date}", - "title": "", "valid-from": "Valid from: {date}", "valid-to": "Valid to: {date}" }, @@ -1035,6 +1030,14 @@ "total-documents": "Anzahl der Dokumente", "total-people": "{count} {count, plural, one{user} other {users}}" }, + "dossier-templates": { + "label": "Dossier-Vorlagen", + "status": { + "active": "Active", + "inactive": "Inactive", + "incomplete": "Incomplete" + } + }, "dossier-templates-listing": { "action": { "clone": "Clone template", @@ -1070,14 +1073,6 @@ "title": "{length} dossier {length, plural, one{template} other{templates}}" } }, - "dossier-templates": { - "label": "Dossier-Vorlagen", - "status": { - "active": "Active", - "inactive": "Inactive", - "incomplete": "Incomplete" - } - }, "dossier-watermark-selector": { "heading": "Watermarks on documents", "no-watermark": "There is no watermark defined for the dossier template.
Contact your app admin to define one.", @@ -1273,6 +1268,15 @@ "title": "{length} {length, plural, one{entity} other{entities}}" } }, + "entity": { + "info": { + "actions": { + "revert": "Revert", + "save": "Save changes" + }, + "heading": "Edit entity" + } + }, "entity-rules-screen": { "error": { "generic": "Something went wrong... Entity rules update failed!" @@ -1287,28 +1291,19 @@ "warning-text": "Warning: experimental feature!", "warnings-found": "{warnings, plural, one{A warning} other{{warnings} warnings}} found in rules" }, - "entity": { - "info": { - "actions": { - "revert": "Revert", - "save": "Save changes" - }, - "heading": "Edit entity" - } - }, "error": { "deleted-entity": { "dossier": { "action": "Zurück zur Übersicht", "label": "Dieses Dossier wurde gelöscht!" }, - "file-dossier": { - "action": "Zurück zur Übersicht", - "label": "Das Dossier dieser Datei wurde gelöscht!" - }, "file": { "action": "Zurück zum Dossier", "label": "Diese Datei wurde gelöscht!" + }, + "file-dossier": { + "action": "Zurück zur Übersicht", + "label": "Das Dossier dieser Datei wurde gelöscht!" } }, "file-preview": { @@ -1326,6 +1321,12 @@ }, "exact-date": "{day} {month} {year} um {hour}:{minute} Uhr", "file": "Datei", + "file-attribute": { + "update": { + "error": "Failed to update file attribute value!", + "success": "File attribute value has been updated successfully!" + } + }, "file-attribute-encoding-types": { "ascii": "ASCII", "iso": "ISO-8859-1", @@ -1336,12 +1337,6 @@ "number": "Nummer", "text": "Freier Text" }, - "file-attribute": { - "update": { - "error": "Failed to update file attribute value!", - "success": "File attribute value has been updated successfully!" - } - }, "file-attributes-configurations": { "cancel": "Cancel", "form": { @@ -1560,15 +1555,6 @@ "csv": "File attributes were imported successfully from uploaded CSV file." } }, - "filter-menu": { - "filter-options": "Filteroptionen", - "filter-types": "Filter", - "label": "Filter", - "pages-without-annotations": "Only pages without annotations", - "redaction-changes": "Nur Anmerkungen mit Schwärzungsänderungen", - "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", - "with-comments": "Nur Anmerkungen mit Kommentaren" - }, "filter": { "analysis": "Analyse erforderlich", "comment": "Kommentare", @@ -1578,6 +1564,15 @@ "redaction": "Geschwärzt", "updated": "Aktualisiert" }, + "filter-menu": { + "filter-options": "Filteroptionen", + "filter-types": "Filter", + "label": "Filter", + "pages-without-annotations": "Only pages without annotations", + "redaction-changes": "Nur Anmerkungen mit Schwärzungsänderungen", + "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", + "with-comments": "Nur Anmerkungen mit Kommentaren" + }, "filters": { "assigned-people": "Beauftragt", "documents-status": "Documents state", @@ -1850,6 +1845,13 @@ "user-promoted-to-approver": "{user} wurde im Dossier {dossierHref, select, null{{dossierName}} other{{dossierName}}} zum Genehmiger ernannt!", "user-removed-as-dossier-member": "{user} wurde als Mitglied von: {dossierHref, select, null{{dossierName}} other{{dossierName}}} entfernt!" }, + "notifications": { + "button-text": "Notifications", + "deleted-dossier": "Deleted dossier", + "label": "Benachrichtigungen", + "mark-all-as-read": "Alle als gelesen markieren", + "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" + }, "notifications-screen": { "category": { "email-notifications": "E-Mail Benachrichtigungen", @@ -1863,7 +1865,6 @@ "dossier": "Dossierbezogene Benachrichtigungen", "other": "Andere Benachrichtigungen" }, - "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "options": { "ASSIGN_APPROVER": "Wenn ich einem Dokument als Genehmiger zugewiesen bin", "ASSIGN_REVIEWER": "Wenn ich einem Dokument als Überprüfer zugewiesen bin", @@ -1881,6 +1882,7 @@ "USER_PROMOTED_TO_APPROVER": "Wenn ich Genehmiger in einem Dossier werde", "USER_REMOVED_AS_DOSSIER_MEMBER": "Wenn ich die Dossier-Mitgliedschaft verliere" }, + "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "schedule": { "daily": "Tägliche Zusammenfassung", "instant": "Sofortig", @@ -1888,13 +1890,6 @@ }, "title": "Benachrichtigungseinstellungen" }, - "notifications": { - "button-text": "Notifications", - "deleted-dossier": "Deleted dossier", - "label": "Benachrichtigungen", - "mark-all-as-read": "Alle als gelesen markieren", - "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" - }, "ocr": { "confirmation-dialog": { "cancel": "Cancel", @@ -1984,7 +1979,12 @@ "title": "Edit preferences", "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", - "warnings-subtitle": "Do not show again options" + "warnings-subtitle": "Do not show again options", + "warnings-title": "Prompts and dialogs settings" + }, + "processing": { + "basic": "Processing", + "ocr": "OCR" }, "processing-status": { "ocr": "OCR", @@ -1992,10 +1992,6 @@ "processed": "Processed", "processing": "Processing" }, - "processing": { - "basic": "Processing", - "ocr": "OCR" - }, "readonly": "Lesemodus", "readonly-archived": "Read only (archived)", "redact-text": { @@ -2219,6 +2215,12 @@ "red-user-admin": "Benutzer-Admin", "regular": "Regulär" }, + "search": { + "active-dossiers": "ganze Plattform", + "all-dossiers": "all documents", + "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", + "this-dossier": "in diesem Dossier" + }, "search-screen": { "cols": { "assignee": "Bevollmächtigter", @@ -2242,12 +2244,6 @@ "no-match": "Keine Dokumente entsprechen Ihren aktuellen Filtern.", "table-header": "{length} search {length, plural, one{result} other{results}}" }, - "search": { - "active-dossiers": "ganze Plattform", - "all-dossiers": "all documents", - "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", - "this-dossier": "in diesem Dossier" - }, "seconds": "seconds", "size": "Size", "smtp-auth-config": { @@ -2262,9 +2258,6 @@ }, "title": "Authentifizierung aktivieren" }, - "table-header": { - "selected-count": "" - }, "tenant-resolve": { "contact-administrator": "Cannot remember the workspace? Please contact your administrator.", "header": { @@ -2502,4 +2495,4 @@ } }, "yesterday": "Gestern" -} +} \ No newline at end of file diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index c0df22d62..b005ac747 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -2502,4 +2502,4 @@ } }, "yesterday": "Yesterday" -} +} \ No newline at end of file From 3dd0740222ca5667f0cc8a6351e4ddcb442a17cf Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Thu, 23 May 2024 16:01:11 +0300 Subject: [PATCH 3/7] RED-9204: fixed edit dossier dialog buttons functionalities. --- .../edit-dossier-dialog.component.ts | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/apps/red-ui/src/app/modules/shared-dossiers/dialogs/edit-dossier-dialog/edit-dossier-dialog.component.ts b/apps/red-ui/src/app/modules/shared-dossiers/dialogs/edit-dossier-dialog/edit-dossier-dialog.component.ts index e94cb4425..2fe15fd2b 100644 --- a/apps/red-ui/src/app/modules/shared-dossiers/dialogs/edit-dossier-dialog/edit-dossier-dialog.component.ts +++ b/apps/red-ui/src/app/modules/shared-dossiers/dialogs/edit-dossier-dialog/edit-dossier-dialog.component.ts @@ -1,4 +1,4 @@ -import { AfterViewInit, Component, computed, Inject, Signal, signal, untracked, ViewChild, WritableSignal } from '@angular/core'; +import { AfterViewInit, Component, computed, Inject, Signal, signal, untracked, viewChild, WritableSignal } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { Dossier } from '@red/domain'; import { EditDossierGeneralInfoComponent } from './general-info/edit-dossier-general-info.component'; @@ -45,11 +45,11 @@ export class EditDossierDialogComponent extends BaseDialogComponent implements A readonly showHeading: Signal; readonly showActionButtons: Signal; - @ViewChild(EditDossierGeneralInfoComponent) generalInfoComponent: EditDossierGeneralInfoComponent; - @ViewChild(EditDossierDownloadPackageComponent) downloadPackageComponent: EditDossierDownloadPackageComponent; - @ViewChild(EditDossierDictionaryComponent) dictionaryComponent: EditDossierDictionaryComponent; - @ViewChild(EditDossierTeamComponent) membersComponent: EditDossierTeamComponent; - @ViewChild(EditDossierAttributesComponent) attributesComponent: EditDossierAttributesComponent; + generalInfoComponent = viewChild(EditDossierGeneralInfoComponent); + downloadPackageComponent = viewChild(EditDossierDownloadPackageComponent); + dictionaryComponent = viewChild(EditDossierDictionaryComponent); + membersComponent = viewChild(EditDossierTeamComponent); + attributesComponent = viewChild(EditDossierAttributesComponent); constructor( private readonly _dossiersService: DossiersService, @@ -128,11 +128,11 @@ export class EditDossierDialogComponent extends BaseDialogComponent implements A private _getActiveComponent(section: Section): EditDossierSectionInterface { return { - dossierInfo: this.generalInfoComponent, - downloadPackage: this.downloadPackageComponent, - dossierDictionary: this.dictionaryComponent, - members: this.membersComponent, - dossierAttributes: this.attributesComponent, + dossierInfo: this.generalInfoComponent(), + downloadPackage: this.downloadPackageComponent(), + dossierDictionary: this.dictionaryComponent(), + members: this.membersComponent(), + dossierAttributes: this.attributesComponent(), }[section]; } From ad64637a0d06b2133278a1d1633065c9df71d438 Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Fri, 24 May 2024 01:04:03 +0000 Subject: [PATCH 4/7] push back localazy update --- apps/red-ui/src/assets/i18n/redact/de.json | 25 ++++++++++++++-------- apps/red-ui/src/assets/i18n/redact/en.json | 22 +++++++++---------- apps/red-ui/src/assets/i18n/scm/de.json | 15 +++++++++---- 3 files changed, 38 insertions(+), 24 deletions(-) diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 19d6aaf55..9a75a0a1b 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -26,6 +26,11 @@ "title": "Add annotation" } }, + "add-clone-dossier-template": { + "save": "{type, select, clone{Clone} other{Save}}", + "save-and-edit": "{type, select, clone{Clone} other{Save}} and edit", + "title": "{type, select, clone{Clone {dossierTemplateName}} other{Create dossier template}}" + }, "add-dossier-dialog": { "actions": { "save": "Speichern", @@ -87,8 +92,7 @@ "valid-from": "Gültig ab", "valid-to": "Gültig bis" }, - "save": "Dossier-Vorlage speichern", - "title": "{type, select, edit{Dossier-Vorlage {name} bearbeiten} create{Dossier-Vorlage erstellen} clone{} other{}}" + "save": "Dossier-Vorlage speichern" }, "add-edit-dossier-attribute": { "error": { @@ -595,7 +599,7 @@ "assign-file-to-me": { "question": { "multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?", - "single": "This document is currently assigned to someone else. Are you sure you want to replace the other user and assign it to yourself?" + "single": "This document is currently assigned to another user. Do you still want to assign the files to yourself?" }, "title": "Neuen Reviewer zuweisen" }, @@ -630,9 +634,9 @@ }, "unsaved-changes": { "confirmation-text": "Save and leave", - "details": "If you leave the tab without saving, all the unsaved changes will be lost.", + "details": "Warning: unsaved changes

Please save your changes. If you leave now, any unsaved progress will be lost.", "discard-changes-text": "DISCARD CHANGES", - "question": "Are you sure you want to leave the tab? You have unsaved changes.", + "question": "Warning: unsaved changes.

Do you still want to leave the tab?", "title": "You have unsaved changes" }, "upload-report-template": { @@ -646,7 +650,7 @@ "content": "Begründung", "dashboard": { "empty-template": { - "description": "This template does not contain any dossiers. Start by creating a dossier to use it on.", + "description": "This template does not contain any dossiers. Create a dossier that applies this ruleset.", "new-dossier": "New dossier" }, "greeting": { @@ -1019,6 +1023,7 @@ "entities": "{count} {count, plural, one{entity} other{entities}}", "entries": "{count} {count, plural, one{entry} other{entries}}", "modified-on": "Modified on: {date}", + "title": "Edit dossier template", "valid-from": "Valid from: {date}", "valid-to": "Valid to: {date}" }, @@ -1894,7 +1899,7 @@ "confirmation-dialog": { "cancel": "Cancel", "question": "Manual changes could get lost if OCR makes changes at those positions. Are you sure you want to proceed?", - "title": "Warning: the file has manual adjustments!" + "title": "Warning: The file contains manual changes!" } }, "overwrite-files-dialog": { @@ -1979,8 +1984,7 @@ "title": "Edit preferences", "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", - "warnings-subtitle": "Do not show again options", - "warnings-title": "Prompts and dialogs settings" + "warnings-subtitle": "Do not show again options" }, "processing": { "basic": "Processing", @@ -2258,6 +2262,9 @@ }, "title": "Authentifizierung aktivieren" }, + "table-header": { + "selected-count": "{count} selected" + }, "tenant-resolve": { "contact-administrator": "Cannot remember the workspace? Please contact your administrator.", "header": { diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index 19863287c..d07e0ff8e 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -583,7 +583,7 @@ "title": "Warning!" }, "approve-file": { - "question": "This document has unseen changes, do you wish to approve it anyway?", + "question": "This document contains unseen changes that have been added during the reanalysis.

Do you still want to approve it?", "title": "Warning!" }, "approve-multiple-files-without-analysis": { @@ -593,18 +593,18 @@ "title": "Warning" }, "approve-multiple-files": { - "question": "At least one of the files you selected has unseen changes, do you wish to approve them anyway?", + "question": "At least one of the selected files contains unseen changes that have been added during the reanalysis.

Do you still want to approve them?", "title": "Warning!" }, "assign-file-to-me": { "question": { - "multiple": "At least one document is currently assigned to someone else. Are you sure you want to replace them and assign yourself to these documents?", - "single": "This document is currently assigned to someone else. Are you sure you want to replace the other user and assign it to yourself?" + "multiple": "At least one of the selected documents is currently assigned to another user.

Do you still want to reassign the files to yourself?", + "single": "This document is currently assigned to another user. Do you still want to assign the files to yourself?" }, "title": "Re-assign user" }, "compare-file": { - "question": "Warning!

Number of pages does not match, current document has {currentDocumentPageCount} page(s). Uploaded document has {compareDocumentPageCount} page(s).

Do you wish to proceed?", + "question": "Warning: page count mismatch

Current document: {currentDocumentPageCount} page(s). Upload document: {compareDocumentPageCount} page(s).

This appears to be a different document. Do you wish to proceed?", "title": "Compare with file: {fileName}" }, "delete-dossier": { @@ -634,23 +634,23 @@ }, "unsaved-changes": { "confirmation-text": "Save and leave", - "details": "If you leave the tab without saving, all the unsaved changes will be lost.", + "details": "Warning: unsaved changes

Please save your changes. If you leave now, any unsaved progress will be lost.", "discard-changes-text": "DISCARD CHANGES", - "question": "Are you sure you want to leave the tab? You have unsaved changes.", + "question": "Warning: unsaved changes.

Do you still want to leave the tab?", "title": "You have unsaved changes" }, "upload-report-template": { "alternate-confirmation-text": "Upload as multi-file report", "confirmation-text": "Upload as single-file report", "deny-text": "Cancel upload", - "question": "Please choose if {fileName} is a single or multi-file report template", + "question": "Please indicate if {fileName} is a single or multi-file report template", "title": "Report template upload" } }, "content": "Reason", "dashboard": { "empty-template": { - "description": "This template does not contain any dossiers. Start by creating a dossier to use it on.", + "description": "This template does not contain any dossiers. Create a dossier that applies this ruleset.", "new-dossier": "New dossier" }, "greeting": { @@ -1047,7 +1047,7 @@ }, "entities": "{length} {length, plural, one{entity} other{entities}}", "error": { - "conflict": "Cannot delete this dossier template! At least one dossier uses this template!", + "conflict": "Cannot delete this dossier template. At least one dossier uses this template.", "generic": "Cannot delete this dossier template!" }, "no-data": { @@ -1899,7 +1899,7 @@ "confirmation-dialog": { "cancel": "Cancel", "question": "Manual changes could get lost if OCR makes changes at those positions. Are you sure you want to proceed?", - "title": "Warning: the file has manual adjustments!" + "title": "Warning: The file contains manual changes!" } }, "overwrite-files-dialog": { diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index eb4acdb2c..f04ac163a 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -26,6 +26,11 @@ "title": "Add annotation" } }, + "add-clone-dossier-template": { + "save": "{type, select, clone{Clone} other{Save}}", + "save-and-edit": "{type, select, clone{Clone} other{Save}} and edit", + "title": "{type, select, clone{Clone {dossierTemplateName}} other{Create dossier template}}" + }, "add-dossier-dialog": { "actions": { "save": "Speichern", @@ -87,8 +92,7 @@ "valid-from": "Gültig ab", "valid-to": "Gültig bis" }, - "save": "Dossier-Vorlage speichern", - "title": "{type, select, edit{Dossier-Vorlage {name} bearbeiten} create{Dossier-Vorlage erstellen} clone{} other{}}" + "save": "Dossier-Vorlage speichern" }, "add-edit-dossier-attribute": { "error": { @@ -1019,6 +1023,7 @@ "entities": "{count} {count, plural, one{entity} other{entities}}", "entries": "{count} {count, plural, one{entry} other{entries}}", "modified-on": "Modified on: {date}", + "title": "Edit dossier template", "valid-from": "Valid from: {date}", "valid-to": "Valid to: {date}" }, @@ -1979,8 +1984,7 @@ "title": "Edit preferences", "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", - "warnings-subtitle": "Do not show again options", - "warnings-title": "Prompts and dialogs settings" + "warnings-subtitle": "Do not show again options" }, "processing": { "basic": "Processing", @@ -2258,6 +2262,9 @@ }, "title": "Authentifizierung aktivieren" }, + "table-header": { + "selected-count": "{count} selected" + }, "tenant-resolve": { "contact-administrator": "Cannot remember the workspace? Please contact your administrator.", "header": { From ee2d53f10bf96977e2c4a5a80625b730e659ef9c Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Sat, 25 May 2024 01:03:49 +0000 Subject: [PATCH 5/7] push back localazy update --- apps/red-ui/src/assets/i18n/redact/de.json | 12 ++++++------ apps/red-ui/src/assets/i18n/redact/en.json | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 9a75a0a1b..846019b81 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -18,7 +18,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "selected-text": "Ausgewählter Text:", "type": "Type", "type-placeholder": "Select type..." @@ -210,7 +210,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "options": { "in-dossier": { "description": "Add hint in every document in {dossierName}.", @@ -1222,7 +1222,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "custom-rectangle": "Custom Rectangle", "imported": "Imported Redaction", "legal-basis": "Legal basis", @@ -2006,7 +2006,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "edit-text": "Edit text", "legal-basis": "Legal basis", "options": { @@ -2040,7 +2040,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "list-item": "", "list-item-false-positive": "", "options": { @@ -2074,7 +2074,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "options": { "do-not-recommend": { "description": "Do not recommend the selected term in any document of this dossier.", diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index d07e0ff8e..d701d31c0 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -18,7 +18,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "selected-text": "Selected text:", "type": "Type", "type-placeholder": "Select type..." @@ -96,7 +96,7 @@ }, "add-edit-dossier-attribute": { "error": { - "generic": "Failed to save attribute!" + "generic": "Failed to save attribute" }, "form": { "label": "Attribute name", @@ -186,8 +186,8 @@ "save-changes": "Save changes" }, "error": { - "email-already-used": "This e-mail address is already in use by a different user!", - "generic": "Failed to save user!" + "email-already-used": "This e-mail address is already associated with another user.", + "generic": "Failed to save user" }, "form": { "email": "E-mail", @@ -210,7 +210,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "options": { "in-dossier": { "description": "Add hint in every document in {dossierName}.", @@ -1222,7 +1222,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "custom-rectangle": "Custom Rectangle", "imported": "Imported Redaction", "legal-basis": "Legal basis", @@ -2006,7 +2006,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "edit-text": "Edit text", "legal-basis": "Legal basis", "options": { @@ -2040,7 +2040,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "list-item": "", "list-item-false-positive": "", "options": { @@ -2074,7 +2074,7 @@ }, "content": { "comment": "Comment", - "comment-placeholder": "Add remarks or mentions...", + "comment-placeholder": "Add remarks or notes...", "options": { "do-not-recommend": { "description": "Do not recommend the selected term in any document of this dossier.", From d74f501f4c62f1fc32e755ae4465ae751ce51a7c Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Mon, 27 May 2024 21:28:23 +0300 Subject: [PATCH 6/7] RED-8742 - Display red border around hidden annotations when they are selected in workload --- .../annotation-actions.component.html | 4 +- .../annotation-actions.component.ts | 6 + .../services/pdf-proxy.service.ts | 5 +- .../file-preview/services/skipped.service.ts | 15 +- .../services/annotation-manager.service.ts | 25 ++- apps/red-ui/src/app/utils/functions.ts | 6 + apps/red-ui/src/assets/i18n/redact/de.json | 148 +++++++++--------- apps/red-ui/src/assets/i18n/redact/en.json | 2 +- apps/red-ui/src/assets/i18n/scm/de.json | 148 +++++++++--------- apps/red-ui/src/assets/i18n/scm/en.json | 2 +- 10 files changed, 204 insertions(+), 157 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html index f9944495c..61017a470 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html +++ b/apps/red-ui/src/app/modules/file-preview/components/annotation-actions/annotation-actions.component.html @@ -124,7 +124,7 @@ a.isSkipped); + } + get #sameType() { const type = this.annotations[0].superType; return this.annotations.every(a => a.superType === type); diff --git a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts index 68797a6e7..9803a86d3 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/pdf-proxy.service.ts @@ -40,6 +40,7 @@ import { PdfAnnotationActionsService } from './pdf-annotation-actions.service'; import { ViewModeService } from './view-mode.service'; import Annotation = Core.Annotations.Annotation; import Quad = Core.Math.Quad; +import { SkippedService } from './skipped.service'; @Injectable() export class PdfProxyService { @@ -92,6 +93,7 @@ export class PdfProxyService { private readonly _listingService: AnnotationsListingService, private readonly _dictionariesMapService: DictionariesMapService, private readonly _iqserPermissionsService: IqserPermissionsService, + private readonly _skippedService: SkippedService, ) { effect( () => { @@ -371,7 +373,8 @@ export class PdfProxyService { let actions = []; // Add hide action as last item const allAreImage = annotationWrappers.reduce((acc, next) => acc && next.isImage, true); - if (allAreImage && !this._annotationManager.resizingAnnotationId) { + const hideSkipped = this._skippedService.hideSkipped() && annotationWrappers.some(a => a.isSkipped); + if (allAreImage && !this._annotationManager.resizingAnnotationId && !hideSkipped) { const allAreVisible = viewerAnnotations.reduce((acc, next) => next.isVisible() && acc, true); const visibilityButton = { diff --git a/apps/red-ui/src/app/modules/file-preview/services/skipped.service.ts b/apps/red-ui/src/app/modules/file-preview/services/skipped.service.ts index eae50c4b3..7f76753b6 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/skipped.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/skipped.service.ts @@ -1,13 +1,20 @@ import { effect, Injectable, Signal, signal } from '@angular/core'; import { bool } from '@iqser/common-ui/lib/utils'; import { REDAnnotationManager } from '../../pdf-viewer/services/annotation-manager.service'; +import { FilePreviewStateService } from './file-preview-state.service'; +import { getLocalStorageDataByFileId, setLocalStorageDataByFileId } from '@utils/local-storage'; + +export const HIDE_SKIPPED = 'hide-skipped'; @Injectable() export class SkippedService { readonly #hideSkipped = signal(false); readonly hideSkipped: Signal; - constructor(private readonly _annotationManager: REDAnnotationManager) { + constructor( + private readonly _annotationManager: REDAnnotationManager, + private readonly _state: FilePreviewStateService, + ) { this.hideSkipped = this.#hideSkipped.asReadonly(); effect(() => { @@ -17,7 +24,13 @@ export class SkippedService { } else { this._annotationManager.show(ignored); } + + setLocalStorageDataByFileId(this._state.fileId, HIDE_SKIPPED, this.#hideSkipped()); }); + + if (getLocalStorageDataByFileId(this._state.fileId, HIDE_SKIPPED)) { + this.toggleSkipped(); + } } toggleSkipped(): void { diff --git a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-manager.service.ts b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-manager.service.ts index e86b97e7c..897fccf87 100644 --- a/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-manager.service.ts +++ b/apps/red-ui/src/app/modules/pdf-viewer/services/annotation-manager.service.ts @@ -1,8 +1,8 @@ import { inject, Injectable, signal } from '@angular/core'; -import type { List } from '@iqser/common-ui/lib/utils'; +import { bool, List } from '@iqser/common-ui/lib/utils'; import { AnnotationWrapper } from '@models/file/annotation.wrapper'; import { Core } from '@pdftron/webviewer'; -import { getLast } from '@utils/functions'; +import { getLast, urlFileId } from '@utils/functions'; import { NGXLogger } from 'ngx-logger'; import { Subject } from 'rxjs'; import { AnnotationToolNames } from '../utils/constants'; @@ -10,6 +10,8 @@ import { asList, getId, isStringOrWrapper } from '../utils/functions'; import { AnnotationPredicate, DeleteAnnotationsOptions } from '../utils/types'; import AnnotationManager = Core.AnnotationManager; import Annotation = Core.Annotations.Annotation; +import { getLocalStorageDataByFileId } from '@utils/local-storage'; +import { HIDE_SKIPPED } from '../../file-preview/services/skipped.service'; const MODIFY_ACTION = 'modify'; const RESIZE_OPTION = 'resize'; @@ -142,7 +144,7 @@ export class REDAnnotationManager { } #listenForAnnotationSelected() { - this.#manager.addEventListener('annotationSelected', (annotations: Annotation[], action: string) => { + this.#manager.addEventListener('annotationSelected', async (annotations: Annotation[], action: string) => { this.#logger.info('[PDF] Annotation selected: ', annotations, action); const annotation = annotations.length === 1 ? annotations[0] : undefined; if ( @@ -153,6 +155,8 @@ export class REDAnnotationManager { ) { this.delete(annotation.Id); } + + await this.#toggleHiddenAnnotation(annotation, action === 'deselected'); this.#annotationSelected$.next([annotations, action]); }); } @@ -181,6 +185,21 @@ export class REDAnnotationManager { }); } + async #toggleHiddenAnnotation(annotation: Annotation, hide = false) { + if (bool(annotation.getCustomData('skipped'))) { + const fileId = urlFileId(); + const hideSkipped = getLocalStorageDataByFileId(fileId, HIDE_SKIPPED); + if (hideSkipped || this.isHidden(annotation.Id)) { + if (hide) { + this.hide([annotation]); + return; + } + annotation['Opacity'] = 0; + this.show([annotation]); + } + } + } + #getByIds(annotations: List | List) { return annotations.map((item: string | AnnotationWrapper) => this.#getById(item)).filter(a => !!a); } diff --git a/apps/red-ui/src/app/utils/functions.ts b/apps/red-ui/src/app/utils/functions.ts index a50db47d8..0aca86784 100644 --- a/apps/red-ui/src/app/utils/functions.ts +++ b/apps/red-ui/src/app/utils/functions.ts @@ -137,3 +137,9 @@ export function calcTextWidthInPixels(text: string): number { export function stringToBoolean(str: string): boolean { return str === 'true'; } + +export function urlFileId() { + const splitUrl = window.location.href.split('/'); + const fileId = splitUrl[splitUrl.length - 1]; + return fileId.split('?')[0]; +} diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 846019b81..be66525bf 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -254,9 +254,6 @@ "watermarks": "Watermarks" }, "analysis-disabled": "", - "annotation": { - "pending": "(Pending analysis)" - }, "annotation-actions": { "accept-recommendation": { "label": "Empfehlung annehmen" @@ -311,14 +308,14 @@ "error": "Rekategorisierung des Bildes gescheitert: {error}", "success": "Bild wurde einer neuen Kategorie zugeordnet." }, - "remove": { - "error": "Fehler beim Entfernen der Schwärzung: {error}", - "success": "Schwärzung entfernt!" - }, "remove-hint": { "error": "Failed to remove hint: {error}", "success": "Hint removed!" }, + "remove": { + "error": "Fehler beim Entfernen der Schwärzung: {error}", + "success": "Schwärzung entfernt!" + }, "undo": { "error": "Die Aktion konnte nicht rückgängig gemacht werden. Fehler: {error}", "success": "erfolgreich Rückgängig gemacht" @@ -331,15 +328,15 @@ "remove-highlights": { "label": "Remove selected earmarks" }, - "resize": { - "label": "Größe ändern" - }, "resize-accept": { "label": "Größe speichern" }, "resize-cancel": { "label": "Größenänderung abbrechen" }, + "resize": { + "label": "Größe ändern" + }, "see-references": { "label": "See references" }, @@ -371,6 +368,9 @@ "skipped": "Übersprungen", "text-highlight": "Earmark" }, + "annotation": { + "pending": "(Pending analysis)" + }, "archived-dossiers-listing": { "no-data": { "title": "No archived dossiers." @@ -576,18 +576,14 @@ "warning": "Achtung: Diese Aktion kann nicht rückgängig gemacht werden!" }, "confirmation-dialog": { - "approve-file": { - "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", - "title": "Warnung!" - }, "approve-file-without-analysis": { "confirmationText": "Approve without analysis", "denyText": "Cancel", "question": "Analysis required to detect new redactions.", "title": "Warning!" }, - "approve-multiple-files": { - "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", + "approve-file": { + "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", "title": "Warnung!" }, "approve-multiple-files-without-analysis": { @@ -596,6 +592,10 @@ "question": "Analysis required to detect new redactions for at least one file.", "title": "Warning" }, + "approve-multiple-files": { + "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", + "title": "Warnung!" + }, "assign-file-to-me": { "question": { "multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?", @@ -959,13 +959,13 @@ "recent": "Neu ({hours} h)", "unassigned": "Niemandem zugewiesen" }, - "reanalyse": { - "action": "Datei analysieren" - }, "reanalyse-dossier": { "error": "Die Dateien konnten nicht für eine Reanalyse eingeplant werden. Bitte versuchen Sie es erneut.", "success": "Dateien für Reanalyse vorgesehen." }, + "reanalyse": { + "action": "Datei analysieren" + }, "start-auto-analysis": "Enable auto-analysis", "stop-auto-analysis": "Stop auto-analysis", "table-col-names": { @@ -1035,14 +1035,6 @@ "total-documents": "Anzahl der Dokumente", "total-people": "{count} {count, plural, one{user} other {users}}" }, - "dossier-templates": { - "label": "Dossier-Vorlagen", - "status": { - "active": "Active", - "inactive": "Inactive", - "incomplete": "Incomplete" - } - }, "dossier-templates-listing": { "action": { "clone": "Clone template", @@ -1078,6 +1070,14 @@ "title": "{length} {length, plural, one{Dossier-Vorlage} other{Dossier-Vorlagen}}" } }, + "dossier-templates": { + "label": "Dossier-Vorlagen", + "status": { + "active": "Active", + "inactive": "Inactive", + "incomplete": "Incomplete" + } + }, "dossier-watermark-selector": { "heading": "Watermarks on documents", "no-watermark": "There is no watermark defined for the dossier template.
Contact your app admin to define one.", @@ -1273,15 +1273,6 @@ "title": "{length} {length, plural, one{Wörterbuch} other{Wörterbücher}}" } }, - "entity": { - "info": { - "actions": { - "revert": "Revert", - "save": "Save changes" - }, - "heading": "Edit entity" - } - }, "entity-rules-screen": { "error": { "generic": "Something went wrong... Entity rules update failed!" @@ -1296,19 +1287,28 @@ "warning-text": "Warning: experimental feature!", "warnings-found": "{warnings, plural, one{A warning} other{{warnings} warnings}} found in rules" }, + "entity": { + "info": { + "actions": { + "revert": "Revert", + "save": "Save changes" + }, + "heading": "Edit entity" + } + }, "error": { "deleted-entity": { "dossier": { "action": "Zurück zur Übersicht", "label": "Dieses Dossier wurde gelöscht!" }, - "file": { - "action": "Zurück zum Dossier", - "label": "Diese Datei wurde gelöscht!" - }, "file-dossier": { "action": "Zurück zur Übersicht", "label": "Das Dossier dieser Datei wurde gelöscht!" + }, + "file": { + "action": "Zurück zum Dossier", + "label": "Diese Datei wurde gelöscht!" } }, "file-preview": { @@ -1326,12 +1326,6 @@ }, "exact-date": "{day} {month} {year} um {hour}:{minute} Uhr", "file": "Datei", - "file-attribute": { - "update": { - "error": "Failed to update file attribute value!", - "success": "File attribute value has been updated successfully!" - } - }, "file-attribute-encoding-types": { "ascii": "ASCII", "iso": "ISO-8859-1", @@ -1342,6 +1336,12 @@ "number": "Nummer", "text": "Freier Text" }, + "file-attribute": { + "update": { + "error": "Failed to update file attribute value!", + "success": "File attribute value has been updated successfully!" + } + }, "file-attributes-configurations": { "cancel": "Cancel", "form": { @@ -1560,15 +1560,6 @@ "csv": "File attributes were imported successfully from uploaded CSV file." } }, - "filter": { - "analysis": "Analyse erforderlich", - "comment": "Kommentare", - "hint": "Nut Hinweise", - "image": "Bilder", - "none": "Keine Anmerkungen", - "redaction": "Geschwärzt", - "updated": "Aktualisiert" - }, "filter-menu": { "filter-options": "Filteroptionen", "filter-types": "Filter", @@ -1578,6 +1569,15 @@ "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", "with-comments": "Nur Anmerkungen mit Kommentaren" }, + "filter": { + "analysis": "Analyse erforderlich", + "comment": "Kommentare", + "hint": "Nut Hinweise", + "image": "Bilder", + "none": "Keine Anmerkungen", + "redaction": "Geschwärzt", + "updated": "Aktualisiert" + }, "filters": { "assigned-people": "Beauftragt", "documents-status": "Documents state", @@ -1850,13 +1850,6 @@ "user-promoted-to-approver": "{user} wurde im Dossier {dossierHref, select, null{{dossierName}} other{{dossierName}}} zum Genehmiger ernannt!", "user-removed-as-dossier-member": "{user} wurde als Mitglied von: {dossierHref, select, null{{dossierName}} other{{dossierName}}} entfernt!" }, - "notifications": { - "button-text": "Notifications", - "deleted-dossier": "Deleted dossier", - "label": "Benachrichtigungen", - "mark-all-as-read": "Alle als gelesen markieren", - "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" - }, "notifications-screen": { "category": { "email-notifications": "E-Mail Benachrichtigungen", @@ -1870,6 +1863,7 @@ "dossier": "Dossierbezogene Benachrichtigungen", "other": "Andere Benachrichtigungen" }, + "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "options": { "ASSIGN_APPROVER": "Wenn ich einem Dokument als Genehmiger zugewiesen bin", "ASSIGN_REVIEWER": "Wenn ich einem Dokument als Überprüfer zugewiesen bin", @@ -1887,7 +1881,6 @@ "USER_PROMOTED_TO_APPROVER": "Wenn ich Genehmiger in einem Dossier werde", "USER_REMOVED_AS_DOSSIER_MEMBER": "Wenn ich die Dossier-Mitgliedschaft verliere" }, - "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "schedule": { "daily": "Tägliche Zusammenfassung", "instant": "Sofortig", @@ -1895,6 +1888,13 @@ }, "title": "Benachrichtigungseinstellungen" }, + "notifications": { + "button-text": "Notifications", + "deleted-dossier": "Deleted dossier", + "label": "Benachrichtigungen", + "mark-all-as-read": "Alle als gelesen markieren", + "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" + }, "ocr": { "confirmation-dialog": { "cancel": "Cancel", @@ -1986,16 +1986,16 @@ "warnings-label": "Prompts and dialogs", "warnings-subtitle": "Do not show again options" }, - "processing": { - "basic": "Processing", - "ocr": "OCR" - }, "processing-status": { "ocr": "OCR", "pending": "Pending", "processed": "processed", "processing": "Processing" }, + "processing": { + "basic": "Processing", + "ocr": "OCR" + }, "readonly": "Lesemodus", "readonly-archived": "Read only (archived)", "redact-text": { @@ -2219,12 +2219,6 @@ "red-user-admin": "Benutzer-Admin", "regular": "Regulär" }, - "search": { - "active-dossiers": "ganze Plattform", - "all-dossiers": "all documents", - "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", - "this-dossier": "in diesem Dossier" - }, "search-screen": { "cols": { "assignee": "Bevollmächtigter", @@ -2248,6 +2242,12 @@ "no-match": "Keine Dokumente entsprechen Ihren aktuellen Filtern.", "table-header": "{length} {length, plural, one{Suchergebnis} other{Suchergebnisse}}" }, + "search": { + "active-dossiers": "ganze Plattform", + "all-dossiers": "all documents", + "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", + "this-dossier": "in diesem Dossier" + }, "seconds": "seconds", "size": "Size", "smtp-auth-config": { @@ -2502,4 +2502,4 @@ } }, "yesterday": "Gestern" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index d701d31c0..bb41497b6 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -2502,4 +2502,4 @@ } }, "yesterday": "Yesterday" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index f04ac163a..167bac680 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -254,9 +254,6 @@ "watermarks": "Watermarks" }, "analysis-disabled": "Analysis disabled", - "annotation": { - "pending": "(Pending analysis)" - }, "annotation-actions": { "accept-recommendation": { "label": "Empfehlung annehmen" @@ -311,14 +308,14 @@ "error": "Rekategorisierung des Bildes gescheitert: {error}", "success": "Bild wurde einer neuen Kategorie zugeordnet." }, - "remove": { - "error": "Fehler beim Entfernen der Schwärzung: {error}", - "success": "Schwärzung entfernt!" - }, "remove-hint": { "error": "Failed to remove hint: {error}", "success": "Hint removed!" }, + "remove": { + "error": "Fehler beim Entfernen der Schwärzung: {error}", + "success": "Schwärzung entfernt!" + }, "undo": { "error": "Die Aktion konnte nicht rückgängig gemacht werden. Fehler: {error}", "success": "erfolgreich Rückgängig gemacht" @@ -331,15 +328,15 @@ "remove-highlights": { "label": "Remove selected earmarks" }, - "resize": { - "label": "Größe ändern" - }, "resize-accept": { "label": "Größe speichern" }, "resize-cancel": { "label": "Größenänderung abbrechen" }, + "resize": { + "label": "Größe ändern" + }, "see-references": { "label": "See references" }, @@ -371,6 +368,9 @@ "skipped": "Übersprungen", "text-highlight": "Earmark" }, + "annotation": { + "pending": "(Pending analysis)" + }, "archived-dossiers-listing": { "no-data": { "title": "No archived dossiers." @@ -576,18 +576,14 @@ "warning": "Achtung: Diese Aktion kann nicht rückgängig gemacht werden!" }, "confirmation-dialog": { - "approve-file": { - "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", - "title": "Warnung!" - }, "approve-file-without-analysis": { "confirmationText": "Approve without analysis", "denyText": "Cancel", "question": "Analysis required to detect new components.", "title": "Warning!" }, - "approve-multiple-files": { - "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", + "approve-file": { + "question": "Dieses Dokument enthält ungesehene Änderungen. Möchten Sie es trotzdem genehmigen?", "title": "Warnung!" }, "approve-multiple-files-without-analysis": { @@ -596,6 +592,10 @@ "question": "Analysis required to detect new components for at least one file.", "title": "Warning" }, + "approve-multiple-files": { + "question": "Mindestens eine der ausgewählten Dateien enthält ungesehene Änderungen. Möchten Sie sie trotzdem genehmigen?", + "title": "Warnung!" + }, "assign-file-to-me": { "question": { "multiple": "Dieses Dokument wird gerade von einer anderen Person geprüft. Möchten Sie Reviewer werden und sich selbst dem Dokument zuweisen?", @@ -959,13 +959,13 @@ "recent": "Neu ({hours} h)", "unassigned": "Niemandem zugewiesen" }, - "reanalyse": { - "action": "Datei analysieren" - }, "reanalyse-dossier": { "error": "Die Dateien konnten nicht für eine Reanalyse eingeplant werden. Bitte versuchen Sie es erneut.", "success": "Dateien für Reanalyse vorgesehen." }, + "reanalyse": { + "action": "Datei analysieren" + }, "start-auto-analysis": "Enable auto-analysis", "stop-auto-analysis": "Stop auto-analysis", "table-col-names": { @@ -1035,14 +1035,6 @@ "total-documents": "Anzahl der Dokumente", "total-people": "{count} {count, plural, one{user} other {users}}" }, - "dossier-templates": { - "label": "Dossier-Vorlagen", - "status": { - "active": "Active", - "inactive": "Inactive", - "incomplete": "Incomplete" - } - }, "dossier-templates-listing": { "action": { "clone": "Clone template", @@ -1078,6 +1070,14 @@ "title": "{length} dossier {length, plural, one{template} other{templates}}" } }, + "dossier-templates": { + "label": "Dossier-Vorlagen", + "status": { + "active": "Active", + "inactive": "Inactive", + "incomplete": "Incomplete" + } + }, "dossier-watermark-selector": { "heading": "Watermarks on documents", "no-watermark": "There is no watermark defined for the dossier template.
Contact your app admin to define one.", @@ -1273,15 +1273,6 @@ "title": "{length} {length, plural, one{entity} other{entities}}" } }, - "entity": { - "info": { - "actions": { - "revert": "Revert", - "save": "Save changes" - }, - "heading": "Edit entity" - } - }, "entity-rules-screen": { "error": { "generic": "Something went wrong... Entity rules update failed!" @@ -1296,19 +1287,28 @@ "warning-text": "Warning: experimental feature!", "warnings-found": "{warnings, plural, one{A warning} other{{warnings} warnings}} found in rules" }, + "entity": { + "info": { + "actions": { + "revert": "Revert", + "save": "Save changes" + }, + "heading": "Edit entity" + } + }, "error": { "deleted-entity": { "dossier": { "action": "Zurück zur Übersicht", "label": "Dieses Dossier wurde gelöscht!" }, - "file": { - "action": "Zurück zum Dossier", - "label": "Diese Datei wurde gelöscht!" - }, "file-dossier": { "action": "Zurück zur Übersicht", "label": "Das Dossier dieser Datei wurde gelöscht!" + }, + "file": { + "action": "Zurück zum Dossier", + "label": "Diese Datei wurde gelöscht!" } }, "file-preview": { @@ -1326,12 +1326,6 @@ }, "exact-date": "{day} {month} {year} um {hour}:{minute} Uhr", "file": "Datei", - "file-attribute": { - "update": { - "error": "Failed to update file attribute value!", - "success": "File attribute value has been updated successfully!" - } - }, "file-attribute-encoding-types": { "ascii": "ASCII", "iso": "ISO-8859-1", @@ -1342,6 +1336,12 @@ "number": "Nummer", "text": "Freier Text" }, + "file-attribute": { + "update": { + "error": "Failed to update file attribute value!", + "success": "File attribute value has been updated successfully!" + } + }, "file-attributes-configurations": { "cancel": "Cancel", "form": { @@ -1560,15 +1560,6 @@ "csv": "File attributes were imported successfully from uploaded CSV file." } }, - "filter": { - "analysis": "Analyse erforderlich", - "comment": "Kommentare", - "hint": "Nut Hinweise", - "image": "Bilder", - "none": "Keine Anmerkungen", - "redaction": "Geschwärzt", - "updated": "Aktualisiert" - }, "filter-menu": { "filter-options": "Filteroptionen", "filter-types": "Filter", @@ -1578,6 +1569,15 @@ "unseen-pages": "Nur Anmerkungen auf unsichtbaren Seiten", "with-comments": "Nur Anmerkungen mit Kommentaren" }, + "filter": { + "analysis": "Analyse erforderlich", + "comment": "Kommentare", + "hint": "Nut Hinweise", + "image": "Bilder", + "none": "Keine Anmerkungen", + "redaction": "Geschwärzt", + "updated": "Aktualisiert" + }, "filters": { "assigned-people": "Beauftragt", "documents-status": "Documents state", @@ -1850,13 +1850,6 @@ "user-promoted-to-approver": "{user} wurde im Dossier {dossierHref, select, null{{dossierName}} other{{dossierName}}} zum Genehmiger ernannt!", "user-removed-as-dossier-member": "{user} wurde als Mitglied von: {dossierHref, select, null{{dossierName}} other{{dossierName}}} entfernt!" }, - "notifications": { - "button-text": "Notifications", - "deleted-dossier": "Deleted dossier", - "label": "Benachrichtigungen", - "mark-all-as-read": "Alle als gelesen markieren", - "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" - }, "notifications-screen": { "category": { "email-notifications": "E-Mail Benachrichtigungen", @@ -1870,6 +1863,7 @@ "dossier": "Dossierbezogene Benachrichtigungen", "other": "Andere Benachrichtigungen" }, + "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "options": { "ASSIGN_APPROVER": "Wenn ich einem Dokument als Genehmiger zugewiesen bin", "ASSIGN_REVIEWER": "Wenn ich einem Dokument als Überprüfer zugewiesen bin", @@ -1887,7 +1881,6 @@ "USER_PROMOTED_TO_APPROVER": "Wenn ich Genehmiger in einem Dossier werde", "USER_REMOVED_AS_DOSSIER_MEMBER": "Wenn ich die Dossier-Mitgliedschaft verliere" }, - "options-title": "Wählen Sie aus, in welcher Kategorie Sie benachrichtigt werden möchten", "schedule": { "daily": "Tägliche Zusammenfassung", "instant": "Sofortig", @@ -1895,6 +1888,13 @@ }, "title": "Benachrichtigungseinstellungen" }, + "notifications": { + "button-text": "Notifications", + "deleted-dossier": "Deleted dossier", + "label": "Benachrichtigungen", + "mark-all-as-read": "Alle als gelesen markieren", + "mark-as": "Mark as {type, select, read{read} unread{unread} other{}}" + }, "ocr": { "confirmation-dialog": { "cancel": "Cancel", @@ -1986,16 +1986,16 @@ "warnings-label": "Prompts and dialogs", "warnings-subtitle": "Do not show again options" }, - "processing": { - "basic": "Processing", - "ocr": "OCR" - }, "processing-status": { "ocr": "OCR", "pending": "Pending", "processed": "Processed", "processing": "Processing" }, + "processing": { + "basic": "Processing", + "ocr": "OCR" + }, "readonly": "Lesemodus", "readonly-archived": "Read only (archived)", "redact-text": { @@ -2219,12 +2219,6 @@ "red-user-admin": "Benutzer-Admin", "regular": "Regulär" }, - "search": { - "active-dossiers": "ganze Plattform", - "all-dossiers": "all documents", - "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", - "this-dossier": "in diesem Dossier" - }, "search-screen": { "cols": { "assignee": "Bevollmächtigter", @@ -2248,6 +2242,12 @@ "no-match": "Keine Dokumente entsprechen Ihren aktuellen Filtern.", "table-header": "{length} search {length, plural, one{result} other{results}}" }, + "search": { + "active-dossiers": "ganze Plattform", + "all-dossiers": "all documents", + "placeholder": "Nach Dokumenten oder Dokumenteninhalt suchen", + "this-dossier": "in diesem Dossier" + }, "seconds": "seconds", "size": "Size", "smtp-auth-config": { @@ -2502,4 +2502,4 @@ } }, "yesterday": "Gestern" -} \ No newline at end of file +} diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index b005ac747..c0df22d62 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -2502,4 +2502,4 @@ } }, "yesterday": "Yesterday" -} \ No newline at end of file +} From a0ebd52c0a82889ace8ede91f2b5b94936a27973 Mon Sep 17 00:00:00 2001 From: project_703_bot_497bb7eb186ca592c63b3e50cd5c69e1 Date: Tue, 28 May 2024 01:03:27 +0000 Subject: [PATCH 7/7] push back localazy update --- apps/red-ui/src/assets/i18n/redact/de.json | 4 ++-- apps/red-ui/src/assets/i18n/redact/en.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index 846019b81..7abb1a474 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -1975,14 +1975,14 @@ }, "form": { "auto-expand-filters-on-action": "Auto-expand filters on my actions", - "help-mode-dialog": "Help Mode Dialog", + "help-mode-dialog": "Help mode activation dialog", "load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview", "open-structured-view-by-default": "Display structured component management modal by default", "table-extraction-type": "Table extraction type" }, "label": "Preferences", "title": "Edit preferences", - "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", + "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", "warnings-subtitle": "Do not show again options" }, diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index d701d31c0..5d43b3530 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -1975,14 +1975,14 @@ }, "form": { "auto-expand-filters-on-action": "Auto-expand filters on my actions", - "help-mode-dialog": "Help Mode Dialog", + "help-mode-dialog": "Help mode activation dialog", "load-all-annotations-warning": "Warning regarding loading all annotations at once in file preview", "open-structured-view-by-default": "Display structured component management modal by default", "table-extraction-type": "Table extraction type" }, "label": "Preferences", "title": "Edit preferences", - "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the warning dialog the next time you trigger it.", + "warnings-description": "Selecting the 'Do not show this message again' checkbox will skip the dialog the next time you trigger it.", "warnings-label": "Prompts and dialogs", "warnings-subtitle": "Do not show again options" },