RED-7345 - added translation for value

This commit is contained in:
Valentin Mihai 2024-09-25 16:14:00 +03:00
parent c4fc832ef6
commit e30a54297a
6 changed files with 19 additions and 11 deletions

View File

@ -9,7 +9,7 @@
[ngClass]="isEditingSelectedText ? 'flex relative' : 'flex-align-items-center'" [ngClass]="isEditingSelectedText ? 'flex relative' : 'flex-align-items-center'"
> >
<div class="table"> <div class="table">
<label>Value</label> <label> {{ 'add-hint.dialog.content.value' | translate }} </label>
<div class="row"> <div class="row">
<span <span
*ngIf="!isEditingSelectedText" *ngIf="!isEditingSelectedText"

View File

@ -9,14 +9,14 @@
[ngClass]="isEditingSelectedText ? 'flex relative' : 'flex-align-items-center'" [ngClass]="isEditingSelectedText ? 'flex relative' : 'flex-align-items-center'"
> >
<div class="table"> <div class="table">
<label>Value</label> <label> {{ 'redact-text.dialog.content.value' | translate }} </label>
<div class="row"> <div class="row">
<span <span
*ngIf="!isEditingSelectedText" *ngIf="!isEditingSelectedText"
[innerHTML]="form.controls.selectedText.value" [innerHTML]="form.controls.selectedText.value"
[ngStyle]="{ [ngStyle]="{
'min-width': textWidth > maximumSelectedTextWidth ? '95%' : 'unset', 'min-width': textWidth > maximumSelectedTextWidth ? '95%' : 'unset',
'max-width': textWidth > maximumSelectedTextWidth ? 0 : 'unset' 'max-width': textWidth > maximumSelectedTextWidth ? 0 : 'unset',
}" }"
></span> ></span>
<textarea <textarea

View File

@ -243,7 +243,8 @@
} }
}, },
"type": "Typ", "type": "Typ",
"type-placeholder": "Typ auswählen..." "type-placeholder": "Typ auswählen...",
"value": ""
}, },
"title": "Hinweis hinzufügen" "title": "Hinweis hinzufügen"
} }
@ -2093,7 +2094,8 @@
"revert-text": "Zurück zu ursprünglicher Auswahl", "revert-text": "Zurück zu ursprünglicher Auswahl",
"type": "Typ", "type": "Typ",
"type-placeholder": "Typ auswählen...", "type-placeholder": "Typ auswählen...",
"unchanged": "Ungeändert" "unchanged": "Ungeändert",
"value": ""
}, },
"title": "Text schwärzen" "title": "Text schwärzen"
} }

View File

@ -243,7 +243,8 @@
} }
}, },
"type": "Type", "type": "Type",
"type-placeholder": "Select type..." "type-placeholder": "Select type...",
"value": "Value"
}, },
"title": "Add hint" "title": "Add hint"
} }
@ -2093,7 +2094,8 @@
"revert-text": "Revert to selected text", "revert-text": "Revert to selected text",
"type": "Type", "type": "Type",
"type-placeholder": "Select type...", "type-placeholder": "Select type...",
"unchanged": "Unchanged" "unchanged": "Unchanged",
"value": "Value"
}, },
"title": "Redact text" "title": "Redact text"
} }

View File

@ -243,7 +243,8 @@
} }
}, },
"type": "Type", "type": "Type",
"type-placeholder": "Select type..." "type-placeholder": "Select type...",
"value": ""
}, },
"title": "Add hint" "title": "Add hint"
} }
@ -2093,7 +2094,8 @@
"revert-text": "", "revert-text": "",
"type": "Type", "type": "Type",
"type-placeholder": "Select type...", "type-placeholder": "Select type...",
"unchanged": "" "unchanged": "",
"value": ""
}, },
"title": "Redact text" "title": "Redact text"
} }

View File

@ -243,7 +243,8 @@
} }
}, },
"type": "Type", "type": "Type",
"type-placeholder": "Select type..." "type-placeholder": "Select type...",
"value": "Value"
}, },
"title": "Add hint" "title": "Add hint"
} }
@ -2093,7 +2094,8 @@
"revert-text": "", "revert-text": "",
"type": "Type", "type": "Type",
"type-placeholder": "Select type...", "type-placeholder": "Select type...",
"unchanged": "" "unchanged": "",
"value": "Value"
}, },
"title": "Redact text" "title": "Redact text"
} }