Merge pull request #6534 from aignatov-bio/ai-sci-9588-add-paste-image

Fix i18n for clipboard modal [SCI-9588]
This commit is contained in:
Martin Artnik 2023-10-26 13:34:19 +02:00 committed by GitHub
commit c79669ba3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'