Merge pull request #360 from nextcloud/fix/transifex

Fix Error-Messages
This commit is contained in:
Jonas 2020-05-07 10:19:38 +02:00 committed by GitHub
commit 4fbeb5945b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,14 +161,14 @@ export default {
this.submissions.splice(index, 1)
} catch (error) {
console.error(error)
showError(t('forms', 'There was an error while removing the submission'))
showError(t('forms', 'There was an error while removing this response'))
} finally {
this.loadingResults = false
}
},
async deleteAllSubmissions() {
if (!confirm(t('forms', 'Are you sure you want to delete all submissions from this form?'))) {
if (!confirm(t('forms', 'Are you sure you want to delete all responses of this form?'))) {
return
}
@ -178,7 +178,7 @@ export default {
this.submissions = []
} catch (error) {
console.error(error)
showError(t('forms', 'There was an error while removing the submissions'))
showError(t('forms', 'There was an error while removing responses'))
} finally {
this.loadingResults = false
}