@designcrowd/fe-shared-lib 1.2.5-byo-1 → 1.2.5-byo-2
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/package.json
CHANGED
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"backgroundColorDescription": "Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.-",
|
|
27
27
|
"colorsWarning": "Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs.-",
|
|
28
28
|
"exitConfirmationTitle": "Are you sure you want to exit?-",
|
|
29
|
-
"exitConfirmationDescription": "Your logo upload progress in this session will be lost-"
|
|
29
|
+
"exitConfirmationDescription": "Your logo upload progress in this session will be lost-",
|
|
30
|
+
"maxByoFileErrorMessage": "Your file exceeds the maximum size of 25MB. Please choose a smaller file.-",
|
|
31
|
+
"genericByoErrorMessage": "An unexpected error occured. Please try again.-"
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -181,7 +181,7 @@ export default {
|
|
|
181
181
|
handler() {
|
|
182
182
|
if (this.logoFile) {
|
|
183
183
|
this.errorMessage =
|
|
184
|
-
this.logoFile.file.size > Errors.MAX_BYO_FILE_SIZE ?
|
|
184
|
+
this.logoFile.file.size > Errors.MAX_BYO_FILE_SIZE ? uploadYourLogoTr('maxByoFileErrorMessage') : null;
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
},
|
|
@@ -197,7 +197,7 @@ export default {
|
|
|
197
197
|
if (typeof err.response?.data?.errorMessage === 'string' && err.response?.data?.errorMessage !== '') {
|
|
198
198
|
this.errorMessage = err.response.data.errorMessage;
|
|
199
199
|
} else {
|
|
200
|
-
this.errorMessage =
|
|
200
|
+
this.errorMessage = uploadYourLogoTr('genericByoErrorMessage');
|
|
201
201
|
}
|
|
202
202
|
this.currentStep = null;
|
|
203
203
|
},
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"backgroundColorDescription": "Help us setup your logo by confirming the background color. Choose from the available colors or click the plus icon to add another.-",
|
|
24
24
|
"colorsWarning": "Your text and background colors are too similar. Please choose a more distinct pairing to ensure they create quality designs.-",
|
|
25
25
|
"exitConfirmationTitle": "Are you sure you want to exit?-",
|
|
26
|
-
"exitConfirmationDescription": "Your logo upload progress in this session will be lost-"
|
|
26
|
+
"exitConfirmationDescription": "Your logo upload progress in this session will be lost-",
|
|
27
|
+
"maxByoFileErrorMessage": "Your file exceeds the maximum size of 25MB. Please choose a smaller file.-",
|
|
28
|
+
"genericByoErrorMessage": "An unexpected error occured. Please try again.-"
|
|
27
29
|
}
|
|
28
30
|
}
|