Merge pull request #37697 from nextcloud/fix/button-text

Fix button text
This commit is contained in:
Joas Schilling 2023-04-13 09:54:32 +02:00 committed by GitHub
commit a1823be3ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,8 +65,8 @@
var $buttons = $dialog.find('button');
// hack the buttons
$dialog.find('.ui-icon').remove();
$buttons.eq(0).text(t('core', 'Cancel'));
$buttons.eq(1).text(t('files_sharing', 'Add remote share'));
$buttons.eq(1).text(t('core', 'Cancel'));
$buttons.eq(2).text(t('files_sharing', 'Add remote share'));
};
OCA.Sharing.ExternalShareDialogPlugin = {