From 4a31ab28045ca886f6ab8ca16611cd369d6eaa01 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Thu, 29 Jun 2023 11:42:25 +0300 Subject: [PATCH] RED-6774 - added back 'redaction' and 'false-positive' keys --- .../services/manual-redaction.service.ts | 4 ++++ apps/red-ui/src/assets/i18n/redact/de.json | 4 +++- apps/red-ui/src/assets/i18n/redact/en.json | 4 +++- apps/red-ui/src/assets/i18n/scm/de.json | 4 +++- apps/red-ui/src/assets/i18n/scm/en.json | 4 +++- yarn.lock | 12 +----------- 6 files changed, 17 insertions(+), 15 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts b/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts index 3bc7d2dc9..00b4e0fdc 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/manual-redaction.service.ts @@ -162,6 +162,10 @@ export class ManualRedactionService extends GenericService { return _('manual-annotation.dialog.header.redact'); case 'HINT': return _('manual-annotation.dialog.header.hint'); + case 'FALSE_POSITIVE': + return _('manual-annotation.dialog.header.false-positive'); + case 'REDACTION': + return _('manual-annotation.dialog.header.redaction'); } } diff --git a/apps/red-ui/src/assets/i18n/redact/de.json b/apps/red-ui/src/assets/i18n/redact/de.json index d4be71ef3..dfea3dcef 100644 --- a/apps/red-ui/src/assets/i18n/redact/de.json +++ b/apps/red-ui/src/assets/i18n/redact/de.json @@ -1716,10 +1716,12 @@ }, "error": "", "header": { + "false-positive": "", "force-hint": "Hinweis erzwingen", "force-redaction": "Schwärzung erzwingen", "hint": "", - "redact": "" + "redact": "", + "redaction": "" } } }, diff --git a/apps/red-ui/src/assets/i18n/redact/en.json b/apps/red-ui/src/assets/i18n/redact/en.json index 9d112bf8e..6f0d29933 100644 --- a/apps/red-ui/src/assets/i18n/redact/en.json +++ b/apps/red-ui/src/assets/i18n/redact/en.json @@ -1716,10 +1716,12 @@ }, "error": "Error! Invalid page selection", "header": { + "false-positive": "Set false positive", "force-hint": "Force Hint", "force-redaction": "Force Redaction", "hint": "Add hint", - "redact": "Redact" + "redact": "Redact", + "redaction": "Redaction" } } }, diff --git a/apps/red-ui/src/assets/i18n/scm/de.json b/apps/red-ui/src/assets/i18n/scm/de.json index 6aea01327..ba2394f36 100644 --- a/apps/red-ui/src/assets/i18n/scm/de.json +++ b/apps/red-ui/src/assets/i18n/scm/de.json @@ -1716,10 +1716,12 @@ }, "error": "", "header": { + "false-positive": "", "force-hint": "Hinweis erzwingen", "force-redaction": "Schwärzung erzwingen", "hint": "", - "redact": "" + "redact": "", + "redaction": "" } } }, diff --git a/apps/red-ui/src/assets/i18n/scm/en.json b/apps/red-ui/src/assets/i18n/scm/en.json index da1726ee8..5d5dd741c 100644 --- a/apps/red-ui/src/assets/i18n/scm/en.json +++ b/apps/red-ui/src/assets/i18n/scm/en.json @@ -1716,10 +1716,12 @@ }, "error": "Error! Invalid page selection", "header": { + "false-positive": "Set false positive", "force-hint": "Force Hint", "force-redaction": "Force Component", "hint": "Add hint", - "redact": "Redact" + "redact": "Redact", + "redaction": "Redaction" } } }, diff --git a/yarn.lock b/yarn.lock index adbc36530..32b342a21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3847,7 +3847,7 @@ resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== -"@types/semver@^7.3.12", "@types/semver@^7.3.8": +"@types/semver@^7.3.12": version "7.5.0" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a" integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw== @@ -6990,16 +6990,6 @@ gettext-parser@^4.2.0: readable-stream "^3.6.0" safe-buffer "^5.2.1" -git-describe@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/git-describe/-/git-describe-4.1.1.tgz#a2a2882e442aa68abd0b3cb467459c83ed2f96ef" - integrity sha512-JC8ganO5kO80G8+XE98TDDjnMXQN3Estk3qdJuG2EGRF/l6zuMTMcN+8OSfQZ5FWpqIRLB015anWX4aSRgnxAQ== - dependencies: - "@types/semver" "^7.3.8" - lodash "^4.17.21" - optionalDependencies: - semver "^5.6.0" - glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"