Fix i18n for clipboard modal [SCI-9588]

This commit is contained in:
Anton 2023-10-26 13:32:17 +02:00
parent 261f853b03
commit fded38a5a6
2 changed files with 3 additions and 2 deletions

View file

@ -17,7 +17,7 @@
<canvas class="max-h-80 max-w-lg rounded border border-solid border-sn-light-grey" ref="preview" />
</div>
<div class="w-full py-6">
<label class="sci-label">{{i18n.t('assets.from_clipboard.select_target')}}</label>
<label class="sci-label">{{i18n.t(`assets.from_clipboard.select_${objectType}`)}}</label>
<SelectSearch
:value="target"
@change="setTarget"

View file

@ -3456,7 +3456,8 @@ en:
from_clipboard:
modal_title: 'Insert image from clipboard'
image_preview: 'Pasted image preview'
select_target: 'Select to which step youd like to attach image'
select_step: 'Select to which step youd like to attach image'
select_result: 'Select to which result youd like to attach image'
add_image: 'Insert'
file_name: 'File name'
file_name_placeholder: 'Image'