diff --git a/classes/framework.php b/classes/framework.php index 140fbe1700b3bc2f6a9ee2ee807ca1168c751023..7945e1d02af008b3034cbdfb430b3830cd2858ba 100644 --- a/classes/framework.php +++ b/classes/framework.php @@ -474,6 +474,11 @@ class framework implements \H5PFrameworkInterface { 'Retrying in :num....' => 'offlineDialogRetryMessage', 'Retry now' => 'offlineDialogRetryButtonLabel', 'Successfully submitted results.' => 'offlineSuccessfulSubmit', + 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)' => 'fileExceedsMaxSize', + 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)' => 'unpackedFilesExceedsMaxSize', + 'Unable to read file from the package: %fileName' => 'couldNotReadFileFromZip', + 'Unable to parse JSON from the package: %fileName' => 'couldNotParseJSONFromZip', + 'Could not parse post data.' => 'couldNotParsePostData' ]; // @codingStandardsIgnoreEnd } diff --git a/lang/ca/hvp.php b/lang/ca/hvp.php index 9bbd60c426fd89f8fe9073024aa9fc81e231bdd7..d6dba9da30ad04bf5eb393c74ea8eb9aa88a993f 100644 --- a/lang/ca/hvp.php +++ b/lang/ca/hvp.php @@ -363,4 +363,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/de/hvp.php b/lang/de/hvp.php index e3943ba576ab4df07a5c11d585a0bd67abf51840..4d79a1f00fc2f33be654e8384d90ec15d79c295b 100644 --- a/lang/de/hvp.php +++ b/lang/de/hvp.php @@ -320,4 +320,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/en/hvp.php b/lang/en/hvp.php index f783d66bd4bb7724fb6224339ac0e28fa5c5924d..7de4a94efb109ed8f2b055e470cbc6a0756388d4 100644 --- a/lang/en/hvp.php +++ b/lang/en/hvp.php @@ -441,3 +441,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; diff --git a/lang/es/hvp.php b/lang/es/hvp.php index 1052b759df81bf8838c07cb6382f95f583198a89..e0d648213da2642d010f2270874486c57863f3b0 100644 --- a/lang/es/hvp.php +++ b/lang/es/hvp.php @@ -345,4 +345,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/fi/hvp.php b/lang/fi/hvp.php index 1d08adf9e2aac14000fd5dad622bc0fee6080ac9..fdc39d2ca3ff0a6a4b6808cf6b469b49ee15bf82 100644 --- a/lang/fi/hvp.php +++ b/lang/fi/hvp.php @@ -431,3 +431,10 @@ $string['reuse'] = 'Käytä uudelleen'; $string['reuseContent'] = 'Käytä sisältö uudelleen'; $string['reuseDescription'] = 'Uudelleenkäytä tätä sisältöä'; $string['contentCopied'] = 'Sisältö kopioitiin leikepöydälle'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; diff --git a/lang/fr/hvp.php b/lang/fr/hvp.php index 4747d321a25c24e93500eda664e86ecc16114387..f2467378891339412c674231bbe73814c63ec0c4 100644 --- a/lang/fr/hvp.php +++ b/lang/fr/hvp.php @@ -325,4 +325,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/he/hvp.php b/lang/he/hvp.php index 06f131f93e6a588593007963d0b449c8a5fd6968..9ddfda8c49ac3613d21579d46f587e2bd5ecf3f3 100644 --- a/lang/he/hvp.php +++ b/lang/he/hvp.php @@ -322,4 +322,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/no/hvp.php b/lang/no/hvp.php index 2acaa18b4b770414de65ed57ac0426edaca51d64..9cb18249447e4fd4d36b19e7994738283b19678c 100644 --- a/lang/no/hvp.php +++ b/lang/no/hvp.php @@ -335,4 +335,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/pt/hvp.php b/lang/pt/hvp.php index 7f6c1591055ca7e18941e1a802a09a3803291487..a6c5c78ff36b882d36811643283b14ca5ba7f0a5 100644 --- a/lang/pt/hvp.php +++ b/lang/pt/hvp.php @@ -436,4 +436,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/pt_br/hvp.php b/lang/pt_br/hvp.php index 65f3d4fac55d1c08a1c588e81a6d91dcb11efa8d..3ef87b4e67f695e9d79b08c46ecad309038c8d5f 100644 --- a/lang/pt_br/hvp.php +++ b/lang/pt_br/hvp.php @@ -437,4 +437,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file diff --git a/lang/tr/hvp.php b/lang/tr/hvp.php index 1f3450878f53ba539e4f8e51d58be2b21029d563..00d7e44b914e60999c4a84182343762171dee208 100644 --- a/lang/tr/hvp.php +++ b/lang/tr/hvp.php @@ -324,4 +324,11 @@ $string['offlineDialogHeader'] = 'Your connection to the server was lost'; $string['offlineDialogBody'] = 'We were unable to send information about your completion of this task. Please check your internet connection.'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryButtonLabel'] = 'Retry now'; -$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; \ No newline at end of file +$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; + +// Error messages. +$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. (%file %used > %max)'; +$string['unpackedFilesExceedsMaxSize'] = 'The total size of the unpacked files exceeds the maximum size allowed. (%used > %max)'; +$string['couldNotReadFileFromZip'] = 'Unable to read file from the package: %fileName'; +$string['couldNotParseJSONFromZip'] = 'Unable to parse JSON from the package: %fileName'; +$string['couldNotParsePostData'] = 'Could not parse post data.'; \ No newline at end of file