Merge pull request #37708 from nextcloud/backport/37697/stable26

[stable26] Fix button text
This commit is contained in:
Arthur Schiwon 2023-05-17 13:38:37 +02:00 committed by GitHub
commit 8cdbbbec94
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 = {