optimized-react-component-library-xyz123 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -829,8 +829,8 @@ var AddFiles = ({
|
|
|
829
829
|
acceptedFiles.forEach((file) => {
|
|
830
830
|
validationErrors.push({
|
|
831
831
|
FileName: file.name,
|
|
832
|
-
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med
|
|
833
|
-
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
832
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med total filstorlek p\xE5 ${maxSizeMB} MB`,
|
|
833
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB} MB`
|
|
834
834
|
});
|
|
835
835
|
});
|
|
836
836
|
setErrorMessageAddingFile((prev) => [...prev, ...validationErrors]);
|
|
@@ -850,8 +850,8 @@ var AddFiles = ({
|
|
|
850
850
|
if ((((_c = questionObject.files) == null ? void 0 : _c.length) || 0) + validFiles.length >= allowedNumberOfFiles) {
|
|
851
851
|
validationErrors.push({
|
|
852
852
|
FileName: file.name,
|
|
853
|
-
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med
|
|
854
|
-
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
853
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med total filstorlek p\xE5 ${maxSizeMB} MB`,
|
|
854
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB} MB`
|
|
855
855
|
});
|
|
856
856
|
continue;
|
|
857
857
|
}
|
|
@@ -859,8 +859,8 @@ var AddFiles = ({
|
|
|
859
859
|
if (projectedTotalSize > allowedTotalFileSize) {
|
|
860
860
|
validationErrors.push({
|
|
861
861
|
FileName: file.name,
|
|
862
|
-
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med
|
|
863
|
-
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB}MB`
|
|
862
|
+
svMessage: `Du kan ladda upp maximalt ${allowedNumberOfFiles} filer med total filstorlek p\xE5 ${maxSizeMB} MB`,
|
|
863
|
+
enMessage: `You can upload a maximum of ${allowedNumberOfFiles} files with a total file size of ${maxSizeMB} MB`
|
|
864
864
|
});
|
|
865
865
|
continue;
|
|
866
866
|
}
|