RED-2532: dictionary hint engine tooltip

This commit is contained in:
Adina Țeudan 2021-10-21 21:39:51 +03:00
parent 8f2fc3bec5
commit a62cdf6eaa
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export class AnnotationSourceComponent {
this.engines = [
{
icon: 'red:dictionary',
description: this._translateService.instant('annotation-engines.dictionary'),
description: this._translateService.instant('annotation-engines.dictionary', { isHint: this.annotation.hint }),
show: this._isBasedOn(Engines.DICTIONARY),
},
{

View File

@ -249,7 +249,7 @@
"undo": "Undo"
},
"annotation-engines": {
"dictionary": "Redaction based on dictionary",
"dictionary": "{isHint, select, true{Hint} other{Redaction}} based on dictionary",
"ner": "Redaction based on AI",
"rule": "Redaction based on rule {rule}"
},