MOBILE-4362 notes: Update error string to reflect delete action
parent
54a2e6e14b
commit
28235b0553
|
@ -10,5 +10,5 @@
|
||||||
"personalnotes": "Personal notes",
|
"personalnotes": "Personal notes",
|
||||||
"publishstate": "Context",
|
"publishstate": "Context",
|
||||||
"sitenotes": "Site notes",
|
"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) =>
|
result.warnings = errors.map((error) =>
|
||||||
Translate.instant('addon.notes.warningnotenotsent', {
|
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,
|
error: error,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue