1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-23 02:42:37 +01:00

add cancel button to i18n

This commit is contained in:
Mikael Finstad 2021-09-04 22:20:25 +07:00
parent 4eef5649b3
commit f77066d4bd
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

View File

@ -360,6 +360,7 @@ export async function showMergeDialog(paths, onMergeClick) {
width: '90%', width: '90%',
showCancelButton: true, showCancelButton: true,
confirmButtonText: i18n.t('Merge!'), confirmButtonText: i18n.t('Merge!'),
cancelButtonText: i18n.t('Cancel'),
willOpen: (el) => { swalElem = el; }, willOpen: (el) => { swalElem = el; },
title: i18n.t('Merge/concatenate files'), title: i18n.t('Merge/concatenate files'),
html: (<SortableFiles html: (<SortableFiles