Changing the Delete button to Close in PDFViewer (#1146)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2022-03-16 12:03:22 +03:00 committed by GitHub
parent 4ac8a4d80e
commit 888113f335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"Ok": "Ok",
"Save": "Save",
"Download": "Download",
"Delete": "Delete",
"Close": "Close",
"NotSelected": "Not selected",
"Deselect": "Deselect",
"AddSocialLinks": "Add social links"

View File

@ -5,7 +5,7 @@
"Ok": "Ок",
"Save": "Сохранить",
"Download": "Загрузить",
"Delete": "Удалить",
"Close": "Закрыть",
"NotSelected": "Не выделено",
"Deselect": "Снять выделение",
"AddSocialLinks": "Добавить контактную информацию"

View File

@ -52,7 +52,7 @@
<div class="pdfviewer-footer">
<div class="flex-row-reverse">
<a class="no-line ml-4" href={getFileUrl(file)} download={name}><Button label={presentation.string.Download} size={'small'} primary /></a>
<Button label={presentation.string.Delete} size={'small'} />
<Button label={presentation.string.Close} size={'small'} on:click={() => { dispatch('close') }} />
</div>
{#if contentType && contentType.startsWith('image/') }
<div class="img-nav">

View File

@ -34,7 +34,7 @@ export default plugin(presentationId, {
Ok: '' as IntlString,
Save: '' as IntlString,
Download: '' as IntlString,
Delete: '' as IntlString,
Close: '' as IntlString,
NotSelected: '' as IntlString,
Deselect: '' as IntlString,
AddSocialLinks: '' as IntlString