MOBILE-4362 notes: Update error string to reflect delete action
parent
54a2e6e14b
commit
28235b0553
|
@ -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}}"
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue