MOBILE-4362 notes: Update error string to reflect delete action

main
Dani Palou 2023-09-29 10:41:34 +02:00
parent 54a2e6e14b
commit 28235b0553
2 changed files with 2 additions and 2 deletions

View File

@ -10,5 +10,5 @@
"personalnotes": "Personal notes",
"publishstate": "Context",
"sitenotes": "Site notes",
"warningnotenotsent": "Couldn't add note(s) to course {{course}}. {{error}}"
"warningnotenotsent": "Couldn't add or delete note(s). {{error}}"
}

View File

@ -231,7 +231,7 @@ export class AddonNotesSyncProvider extends CoreSyncBaseProvider<AddonNotesSyncR
result.warnings = errors.map((error) =>
Translate.instant('addon.notes.warningnotenotsent', {
course: 'fullname' in course ? course.fullname : courseId,
course: 'fullname' in course ? course.fullname : courseId, // @deprecated since 4.3.
error: error,
}));
}