Update tasks.js

Fixed typo. Reported at Transifex.

Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
This commit is contained in:
rakekniven 2019-04-23 13:26:01 +02:00 committed by GitHub
parent 6162a2296b
commit d3c81c7fa5
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.'))
}