diff --git a/src/addon/mod/assign/components/index/index.ts b/src/addon/mod/assign/components/index/index.ts index d832848b2..d5945f7cc 100644 --- a/src/addon/mod/assign/components/index/index.ts +++ b/src/addon/mod/assign/components/index/index.ts @@ -136,7 +136,7 @@ export class AddonModAssignIndexComponent extends CoreCourseModuleMainActivityCo * Get assignment data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/chat/components/index/index.ts b/src/addon/mod/chat/components/index/index.ts index 15f382a00..881411996 100644 --- a/src/addon/mod/chat/components/index/index.ts +++ b/src/addon/mod/chat/components/index/index.ts @@ -57,7 +57,7 @@ export class AddonModChatIndexComponent extends CoreCourseModuleMainActivityComp * Download chat. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/choice/components/index/index.ts b/src/addon/mod/choice/components/index/index.ts index ae899d407..e8880dcbc 100644 --- a/src/addon/mod/choice/components/index/index.ts +++ b/src/addon/mod/choice/components/index/index.ts @@ -112,7 +112,7 @@ export class AddonModChoiceIndexComponent extends CoreCourseModuleMainActivityCo * Download choice contents. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/data/components/index/index.ts b/src/addon/mod/data/components/index/index.ts index f5007ca5a..d259527a6 100644 --- a/src/addon/mod/data/components/index/index.ts +++ b/src/addon/mod/data/components/index/index.ts @@ -154,7 +154,7 @@ export class AddonModDataIndexComponent extends CoreCourseModuleMainActivityComp * Download data contents. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/feedback/components/index/index.ts b/src/addon/mod/feedback/components/index/index.ts index 74ac6e14d..16ad4b2f1 100644 --- a/src/addon/mod/feedback/components/index/index.ts +++ b/src/addon/mod/feedback/components/index/index.ts @@ -147,7 +147,7 @@ export class AddonModFeedbackIndexComponent extends CoreCourseModuleMainActivity * Download feedback contents. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/lesson/components/index/index.ts b/src/addon/mod/lesson/components/index/index.ts index f29f1a4ce..7bd329b8e 100644 --- a/src/addon/mod/lesson/components/index/index.ts +++ b/src/addon/mod/lesson/components/index/index.ts @@ -106,7 +106,7 @@ export class AddonModLessonIndexComponent extends CoreCourseModuleMainActivityCo * Get the lesson data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/lti/components/index/index.ts b/src/addon/mod/lti/components/index/index.ts index d2520d35b..0f4e3d4ca 100644 --- a/src/addon/mod/lti/components/index/index.ts +++ b/src/addon/mod/lti/components/index/index.ts @@ -58,7 +58,7 @@ export class AddonModLtiIndexComponent extends CoreCourseModuleMainActivityCompo * Get the LTI data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/quiz/components/index/index.ts b/src/addon/mod/quiz/components/index/index.ts index d0cb002a8..3ce3124c9 100644 --- a/src/addon/mod/quiz/components/index/index.ts +++ b/src/addon/mod/quiz/components/index/index.ts @@ -148,7 +148,7 @@ export class AddonModQuizIndexComponent extends CoreCourseModuleMainActivityComp * Get the quiz data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/scorm/components/index/index.ts b/src/addon/mod/scorm/components/index/index.ts index fcb892d5b..85d1e567c 100644 --- a/src/addon/mod/scorm/components/index/index.ts +++ b/src/addon/mod/scorm/components/index/index.ts @@ -137,7 +137,7 @@ export class AddonModScormIndexComponent extends CoreCourseModuleMainActivityCom * Get the SCORM data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/survey/components/index/index.ts b/src/addon/mod/survey/components/index/index.ts index ba18bbcff..bddf70a1b 100644 --- a/src/addon/mod/survey/components/index/index.ts +++ b/src/addon/mod/survey/components/index/index.ts @@ -93,7 +93,7 @@ export class AddonModSurveyIndexComponent extends CoreCourseModuleMainActivityCo * Download survey contents. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/wiki/components/index/index.ts b/src/addon/mod/wiki/components/index/index.ts index b030bbb16..bca61171c 100644 --- a/src/addon/mod/wiki/components/index/index.ts +++ b/src/addon/mod/wiki/components/index/index.ts @@ -213,7 +213,7 @@ export class AddonModWikiIndexComponent extends CoreCourseModuleMainActivityComp * Get the wiki data. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/addon/mod/workshop/components/index/index.ts b/src/addon/mod/workshop/components/index/index.ts index 97f3a0df3..0d586f426 100644 --- a/src/addon/mod/workshop/components/index/index.ts +++ b/src/addon/mod/workshop/components/index/index.ts @@ -177,7 +177,7 @@ export class AddonModWorkshopIndexComponent extends CoreCourseModuleMainActivity * Download feedback contents. * * @param {boolean} [refresh=false] If it's refreshing content. - * @param {boolean} [sync=false] If the refresh is needs syncing. + * @param {boolean} [sync=false] If it should try to sync. * @param {boolean} [showErrors=false] If show errors to the user of hide them. * @return {Promise} Promise resolved when done. */ diff --git a/src/core/course/pages/section/section.ts b/src/core/course/pages/section/section.ts index a1f902e16..991a67d93 100644 --- a/src/core/course/pages/section/section.ts +++ b/src/core/course/pages/section/section.ts @@ -160,7 +160,7 @@ export class CoreCourseSectionPage implements OnDestroy { * Fetch and load all the data required for the view. * * @param {boolean} [refresh] If it's refreshing content. - * @param {boolean} [sync] If the refresh is needs syncing. + * @param {boolean} [sync] If it should try to sync. * @return {Promise} Promise resolved when done. */ protected loadData(refresh?: boolean, sync?: boolean): Promise { @@ -342,7 +342,7 @@ export class CoreCourseSectionPage implements OnDestroy { /** * Refresh list after a completion change since there could be new activities. * - * @param {boolean} [sync] If the refresh is needs syncing. + * @param {boolean} [sync] If it should try to sync. */ protected refreshAfterCompletionChange(sync?: boolean): void { // Save scroll position to restore it once done.