Merge branch 'MDL-82360-403' of https://github.com/paulholden/moodle into MOODLE_403_STABLE

This commit is contained in:
Sara Arjona
2024-07-09 15:30:21 +02:00
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -492,7 +492,7 @@ async function loadErrorStrings(courseId) {
{key: 'dndupload', component: 'core_error'},
{key: 'dndunkownfile', component: 'core_error'},
];
window.console.log(allStrings);
const loadedStrings = await getStrings(allStrings);
allStrings.forEach(({key}, index) => {
errors[key] = loadedStrings[index];