RED-7554 update translations

This commit is contained in:
Dan Percic 2023-09-18 14:36:36 +03:00
parent ee323df38d
commit 85f564a06a
4 changed files with 15 additions and 10 deletions

View File

@ -8,7 +8,11 @@
<div class="dialog-content redaction"> <div class="dialog-content redaction">
<div *ngIf="!allRectangles && redactedText" class="iqser-input-group w-450"> <div *ngIf="!allRectangles && redactedText" class="iqser-input-group w-450">
<label [translate]="'edit-redaction.dialog.content.redacted-text'" class="selected-text"></label> <label
[translateParams]="{ type: isImage ? 'image' : isHint ? 'hint' : 'redaction' }"
[translate]="'edit-redaction.dialog.content.redacted-text'"
class="selected-text"
></label>
{{ redactedText }} {{ redactedText }}
</div> </div>

View File

@ -159,6 +159,7 @@ export const getRemoveRedactionOptions = (
description: isBulk ? translations.ONLY_HERE.descriptionBulk : translations.ONLY_HERE.description, description: isBulk ? translations.ONLY_HERE.descriptionBulk : translations.ONLY_HERE.description,
descriptionParams: { descriptionParams: {
value: redactions[0].value, value: redactions[0].value,
type: redactions[0].hint ? 'hint' : redactions[0].type,
}, },
icon: PIN_ICON, icon: PIN_ICON,
value: RemoveRedactionOptions.ONLY_HERE, value: RemoveRedactionOptions.ONLY_HERE,
@ -168,7 +169,7 @@ export const getRemoveRedactionOptions = (
options.push({ options.push({
label: isBulk ? translations.IN_DOSSIER.labelBulk : translations.IN_DOSSIER.label, label: isBulk ? translations.IN_DOSSIER.labelBulk : translations.IN_DOSSIER.label,
description: isBulk ? translations.IN_DOSSIER.descriptionBulk : translations.IN_DOSSIER.description, description: isBulk ? translations.IN_DOSSIER.descriptionBulk : translations.IN_DOSSIER.description,
descriptionParams: { value: redactions[0].value, type: redactions[0].type }, descriptionParams: { value: redactions[0].value, type: redactions[0].hint ? 'hint' : redactions[0].type },
icon: FOLDER_ICON, icon: FOLDER_ICON,
value: RemoveRedactionOptions.IN_DOSSIER, value: RemoveRedactionOptions.IN_DOSSIER,
extraOption: !isDocumine extraOption: !isDocumine

View File

@ -1249,7 +1249,7 @@
} }
}, },
"reason": "Reason", "reason": "Reason",
"redacted-text": "Redacted text", "redacted-text": "{type, select, hint{Hint} other{Redacted}} text",
"section": "Paragraph / Location", "section": "Paragraph / Location",
"type": "Type", "type": "Type",
"unchanged": "Unchanged" "unchanged": "Unchanged"
@ -2099,14 +2099,14 @@
"label": "False positive" "label": "False positive"
}, },
"in-dossier": { "in-dossier": {
"description": "Do not {type} \"{value}\" in any document of the current dossier.", "description": "Do not {type, select, hint{annotate} other{redact}} \"{value}\" in any document of the current dossier.",
"description-bulk": "Do not redact the selected terms as their respective types in any dossier.", "description-bulk": "Do not redact the selected terms as their respective types in any dossier.",
"extraOptionLabel": "Apply to all dossiers", "extraOptionLabel": "Apply to all dossiers",
"label": "Remove from dossier", "label": "Remove from dossier",
"label-bulk": "No longer redact in any dossier" "label-bulk": "No longer redact in any dossier"
}, },
"only-here": { "only-here": {
"description": "Do not {type, select, undefined{redact} other{type}} \"{value}\" at this position in the current document.", "description": "Do not {type, select, hint{annotate} other{redact}} \"{value}\" at this position in the current document.",
"description-bulk": "Do not redact the selected terms at this position in the current document.", "description-bulk": "Do not redact the selected terms at this position in the current document.",
"label": "Remove here" "label": "Remove here"
} }
@ -2541,4 +2541,4 @@
} }
}, },
"yesterday": "Gestern" "yesterday": "Gestern"
} }

View File

@ -1249,7 +1249,7 @@
} }
}, },
"reason": "Reason", "reason": "Reason",
"redacted-text": "Redacted text", "redacted-text": "{type, select, hint{Hint} other{Redacted}} text",
"section": "Paragraph / Location", "section": "Paragraph / Location",
"type": "Type", "type": "Type",
"unchanged": "Unchanged" "unchanged": "Unchanged"
@ -2099,14 +2099,14 @@
"label": "False positive" "label": "False positive"
}, },
"in-dossier": { "in-dossier": {
"description": "Do not {type} \"{value}\" in any document of the current dossier.", "description": "Do not {type, select, hint{annotate} other{redact}} \"{value}\" in any document of the current dossier.",
"description-bulk": "Do not redact the selected terms as their respective types in any dossier.", "description-bulk": "Do not redact the selected terms as their respective types in any dossier.",
"extraOptionLabel": "Apply to all dossiers", "extraOptionLabel": "Apply to all dossiers",
"label": "Remove from dossier", "label": "Remove from dossier",
"label-bulk": "No longer redact in any dossier" "label-bulk": "No longer redact in any dossier"
}, },
"only-here": { "only-here": {
"description": "Do not {type, select, undefined{redact} other{type}} \"{value}\" at this position in the current document.", "description": "Do not {type, select, hint{annotate} other{redact}} \"{value}\" at this position in the current document.",
"description-bulk": "Do not redact the selected terms at this position in the current document.", "description-bulk": "Do not redact the selected terms at this position in the current document.",
"label": "Remove here" "label": "Remove here"
} }
@ -2541,4 +2541,4 @@
} }
}, },
"yesterday": "Yesterday" "yesterday": "Yesterday"
} }