diff --git a/scripts/langindex.json b/scripts/langindex.json index b0020c991..2c1b0fd02 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1910,6 +1910,7 @@ "core.noresults": "moodle", "core.noselection": "form", "core.notapplicable": "local_moodlemobileapp", + "core.notavailable": "moodle", "core.notenrolledprofile": "moodle", "core.notice": "moodle", "core.notingroup": "moodle", diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index d5fd154d5..dedb0a4f6 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -1911,6 +1911,7 @@ "core.noresults": "No results", "core.noselection": "No selection", "core.notapplicable": "n/a", + "core.notavailable": "Not available", "core.notenrolledprofile": "This profile is not available because this user is not enrolled in this course.", "core.notice": "Notice", "core.notingroup": "Sorry, but you need to be part of a group to see this page.", diff --git a/src/core/course/components/format/core-course-format.html b/src/core/course/components/format/core-course-format.html index abdccb785..43eae57e5 100644 --- a/src/core/course/components/format/core-course-format.html +++ b/src/core/course/components/format/core-course-format.html @@ -24,13 +24,20 @@ - +
- - - + + + + + + {{ 'core.course.hiddenfromstudents' | translate }} + {{ 'core.notavailable' | translate }} + + +
@@ -73,12 +80,13 @@
- + -

+

{{ 'core.course.hiddenfromstudents' | translate }} + {{ 'core.notavailable' | translate }}

diff --git a/src/core/course/pages/section-selector/section-selector.html b/src/core/course/pages/section-selector/section-selector.html index e8af2bc87..9fdbf9eb8 100644 --- a/src/core/course/pages/section-selector/section-selector.html +++ b/src/core/course/pages/section-selector/section-selector.html @@ -16,6 +16,7 @@

{{ 'core.course.hiddenfromstudents' | translate }} + {{ 'core.notavailable' | translate }} diff --git a/src/core/emulator/providers/local-notifications.ts b/src/core/emulator/providers/local-notifications.ts index affff2e19..3809cf63d 100644 --- a/src/core/emulator/providers/local-notifications.ts +++ b/src/core/emulator/providers/local-notifications.ts @@ -24,7 +24,7 @@ import * as moment from 'moment'; import { Subject, Observable } from 'rxjs'; /** - * Emulates the Cordova Globalization plugin in desktop apps and in browser. + * Emulates the Local Notifications plugin in desktop apps and in browser. */ @Injectable() export class LocalNotificationsMock extends LocalNotifications { diff --git a/src/core/emulator/providers/network.ts b/src/core/emulator/providers/network.ts index cc036247e..bb90a2c6c 100644 --- a/src/core/emulator/providers/network.ts +++ b/src/core/emulator/providers/network.ts @@ -17,7 +17,7 @@ import { Network } from '@ionic-native/network'; import { Observable, Subject } from 'rxjs'; /** - * Emulates the Cordova Globalization plugin in desktop apps and in browser. + * Emulates the Ionic Network plugin in desktop apps and in browser. */ @Injectable() export class NetworkMock extends Network { diff --git a/src/lang/en.json b/src/lang/en.json index 23d49ca72..c6c46dc48 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -193,6 +193,7 @@ "noresults": "No results", "noselection": "No selection", "notapplicable": "n/a", + "notavailable": "Not available", "notenrolledprofile": "This profile is not available because this user is not enrolled in this course.", "notice": "Notice", "nooptionavailable": "No option available",