Merge pull request #373 from nextcloud/rakekniven-patch-1

Update tasks.js - l10n fix.
This commit is contained in:
Raimund Schlüßler 2019-04-23 15:38:01 +02:00 committed by GitHub
commit d2de862a54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -634,7 +634,7 @@ const actions = {
// Saving the new etag so that the user can manually
// trigger a fetchCompleteData without any further errors
task.conflict = error.xhr.getResponseHeader('etag')
task.syncstatus = new TaskStatus('refresh', t('tasks', 'Could not update the task because it was changed on the server. Please click to refresh it, local changes will be discared.'), 'fetchFullTask')
task.syncstatus = new TaskStatus('refresh', t('tasks', 'Could not update the task because it was changed on the server. Please click to refresh it, local changes will be discarded.'), 'fetchFullTask')
} else {
task.syncstatus = new TaskStatus('error', t('tasks', 'Could not update the task.'))
}