Skip to content
Snippets Groups Projects
Unverified Commit 4e3e474c authored by Thomas Marstrander's avatar Thomas Marstrander
Browse files

Add untranslated error messages from core

parent 5ad8ab38
No related branches found
No related tags found
No related merge requests found
...@@ -474,6 +474,11 @@ class framework implements \H5PFrameworkInterface { ...@@ -474,6 +474,11 @@ class framework implements \H5PFrameworkInterface {
'Retrying in :num....' => 'offlineDialogRetryMessage', 'Retrying in :num....' => 'offlineDialogRetryMessage',
'Retry now' => 'offlineDialogRetryButtonLabel', 'Retry now' => 'offlineDialogRetryButtonLabel',
'Successfully submitted results.' => 'offlineSuccessfulSubmit', '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 // @codingStandardsIgnoreEnd
} }
......
...@@ -364,3 +364,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -364,3 +364,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -321,3 +321,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -321,3 +321,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -441,3 +441,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -441,3 +441,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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.';
...@@ -346,3 +346,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -346,3 +346,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -431,3 +431,10 @@ $string['reuse'] = 'Käytä uudelleen'; ...@@ -431,3 +431,10 @@ $string['reuse'] = 'Käytä uudelleen';
$string['reuseContent'] = 'Käytä sisältö uudelleen'; $string['reuseContent'] = 'Käytä sisältö uudelleen';
$string['reuseDescription'] = 'Uudelleenkäytä tätä sisältöä'; $string['reuseDescription'] = 'Uudelleenkäytä tätä sisältöä';
$string['contentCopied'] = 'Sisältö kopioitiin leikepöydälle'; $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.';
...@@ -326,3 +326,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -326,3 +326,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -323,3 +323,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -323,3 +323,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -336,3 +336,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -336,3 +336,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -437,3 +437,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -437,3 +437,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -438,3 +438,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -438,3 +438,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
...@@ -325,3 +325,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co ...@@ -325,3 +325,10 @@ $string['offlineDialogBody'] = 'We were unable to send information about your co
$string['offlineDialogRetryMessage'] = 'Retrying in :num....'; $string['offlineDialogRetryMessage'] = 'Retrying in :num....';
$string['offlineDialogRetryButtonLabel'] = 'Retry now'; $string['offlineDialogRetryButtonLabel'] = 'Retry now';
$string['offlineSuccessfulSubmit'] = 'Successfully submitted results.'; $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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment