Merge branch 'VM/RED-7345' into 'master'

RED-7345 - added translation for value

Closes RED-7345

See merge request redactmanager/red-ui!587
This commit is contained in:
Nicoleta Panaghiu 2024-09-25 15:17:40 +02:00
commit 8ab324f69e
6 changed files with 19 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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