From eba5e0457ed8e71035ff6d7b75aaf3531e51ecb6 Mon Sep 17 00:00:00 2001 From: moloko Date: Fri, 16 Oct 2020 13:44:29 +0100 Subject: [PATCH] Learner is unlikely to know what an 'LMS' is... --- example.json | 12 ++++++------ js/scorm/error.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/example.json b/example.json index 371f25f4..9019265b 100644 --- a/example.json +++ b/example.json @@ -34,13 +34,13 @@ "_messages": { "title": "An error has occurred", "pressOk": "Press 'OK' to view detailed debug information to send to technical support.", - "CLIENT_COULD_NOT_CONNECT": "The course could not connect to the LMS", - "SERVER_STATUS_UNSUPPORTED": "An invalid lesson status of '{{{status}}}' was received from LMS", + "CLIENT_COULD_NOT_CONNECT": "The course could not connect to the Learning Management System", + "SERVER_STATUS_UNSUPPORTED": "An invalid lesson status of '{{{status}}}' was received from Learning Management System", "CLIENT_STATUS_UNSUPPORTED": "The status '{{{status}}}' is not supported.", - "CLIENT_COULD_NOT_COMMIT": "There was a problem saving data to the LMS\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}", - "CLIENT_NOT_CONNECTED": "The course is not connected to the LMS", - "CLIENT_COULD_NOT_FINISH": "The course was unable to finish the LMS session", - "CLIENT_COULD_NOT_GET_PROPERTY": "Unable to get the value of {{property}} from the LMS\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}", + "CLIENT_COULD_NOT_COMMIT": "There was a problem saving data to the Learning Management System\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}", + "CLIENT_NOT_CONNECTED": "The course is not connected to the Learning Management System", + "CLIENT_COULD_NOT_FINISH": "The course was unable to terminate the learning session", + "CLIENT_COULD_NOT_GET_PROPERTY": "Unable to get the value of {{property}} from the Learning Management System\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}", "CLIENT_COULD_NOT_SET_PROPERTY": "Unable to set {{property}} to: {{{value}}}\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}", "CLIENT_INVALID_CHOICE_VALUE": "Numeric choice/matching response elements must use a value from 0 to 35 in SCORM 1.2" } diff --git a/js/scorm/error.js b/js/scorm/error.js index 3bc903a3..fe951c6c 100644 --- a/js/scorm/error.js +++ b/js/scorm/error.js @@ -22,13 +22,13 @@ define(function() { ScormError.defaultMessages = { title: 'An error has occurred', pressOk: `Press 'OK' to view detailed debug information to send to technical support.`, - CLIENT_COULD_NOT_CONNECT: 'The course could not connect to the LMS', - SERVER_STATUS_UNSUPPORTED: `An invalid lesson status of '{{{status}}}' was received from LMS`, + CLIENT_COULD_NOT_CONNECT: 'The course could not connect to the Learning Management System', + SERVER_STATUS_UNSUPPORTED: `An invalid lesson status of '{{{status}}}' was received from Learning Management System`, CLIENT_STATUS_UNSUPPORTED: `The status '{{{status}}}' is not supported.`, - CLIENT_COULD_NOT_COMMIT: 'There was a problem saving data to the LMS\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}', - CLIENT_NOT_CONNECTED: 'The course is not connected to the LMS', - CLIENT_COULD_NOT_FINISH: 'The course was unable to finish the LMS session', - CLIENT_COULD_NOT_GET_PROPERTY: 'Unable to get the value of {{property}} from the LMS\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}', + CLIENT_COULD_NOT_COMMIT: 'There was a problem saving data to the Learning Management System\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}', + CLIENT_NOT_CONNECTED: 'The course is not connected to the Learning Management System', + CLIENT_COULD_NOT_FINISH: 'The course was unable to terminate the learning session', + CLIENT_COULD_NOT_GET_PROPERTY: 'Unable to get the value of {{property}} from the Learning Management System\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}', CLIENT_COULD_NOT_SET_PROPERTY: `Unable to set {{property}} to: '{{{value}}}'\n\nError: {{errorCode}} - {{{errorInfo}}}\nLMS Error Info: {{{diagnosticInfo}}}`, CLIENT_INVALID_CHOICE_VALUE: 'Numeric choice/matching response elements must use a value from 0 to 35 in SCORM 1.2' };