From e281bc15b3b12ee88431ebfba9aeb54305c8d769 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 27 Apr 2023 09:39:25 +0200 Subject: [PATCH] MOBILE-3748 a11y: Indicate non-downloadable items --- scripts/langindex.json | 1 + .../storagemanager/pages/course-storage/course-storage.html | 3 +++ src/core/lang.json | 1 + 3 files changed, 5 insertions(+) diff --git a/scripts/langindex.json b/scripts/langindex.json index eff2a8188..051f03dde 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -2206,6 +2206,7 @@ "core.noselection": "form", "core.notapplicable": "local_moodlemobileapp", "core.notavailable": "moodle", + "core.notdownloadable": "local_moodlemobileapp", "core.notenrolledprofile": "moodle", "core.notice": "moodle", "core.notingroup": "moodle", diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.html b/src/addons/storagemanager/pages/course-storage/course-storage.html index 51d3ebf7f..c780b641b 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.html +++ b/src/addons/storagemanager/pages/course-storage/course-storage.html @@ -136,6 +136,9 @@ [attr.aria-label]="'addon.storagemanager.deletedatafrom' | translate: { name: module.name }"> +

+ {{ 'core.notdownloadable' | translate }} +

diff --git a/src/core/lang.json b/src/core/lang.json index 4ff82bc52..913cf4c2f 100644 --- a/src/core/lang.json +++ b/src/core/lang.json @@ -220,6 +220,7 @@ "noselection": "No selection", "notapplicable": "n/a", "notavailable": "Not available", + "notdownloadable": "Not downloadable", "notenrolledprofile": "This profile is not available because this user is not enrolled in this course.", "notice": "Notice", "notingroup": "Sorry, but you need to be part of a group to see this page.",