fix(files_sharing): String translations

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
(cherry picked from commit 8a51d64b09)
This commit is contained in:
Christopher Ng 2023-07-31 16:02:29 -07:00
parent 46da23f018
commit 6f30d86a96
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

@ -726,12 +726,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