fix(files_sharing): String translations

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
Christopher Ng 2023-07-31 16:02:29 -07:00 committed by nextcloud-command
parent 8e287a4d92
commit 8a51d64b09
9 changed files with 13 additions and 13 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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long