Merge pull request #39667 from nextcloud/backport/39649/stable25

This commit is contained in:
Pytal 2023-08-02 11:11:02 -07:00 committed by GitHub
commit 6b0b731668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -69,7 +69,7 @@ export default {
accept: this.accepting,
})
} catch (error) {
showError(t('sharing', 'Error while toggling options'))
showError(t('files_sharing', 'Error while toggling options'))
console.error(error)
}
},

View file

@ -716,12 +716,12 @@ export default {
// otherwise the user needs to copy/paste the password before finishing the share.
component.copyLink()
}
showSuccess(t('sharing', 'Link share created'))
showSuccess(t('files_sharing', 'Link share created'))
} catch (data) {
const message = data?.response?.data?.ocs?.meta?.message
if (!message) {
showError(t('sharing', 'Error while creating the share'))
showError(t('files_sharing', 'Error while creating the share'))
console.error(data)
return
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long