@capillarytech/creatives-library 3.9.8 → 3.9.10
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.
|
@@ -63,7 +63,7 @@ export default defineMessages({
|
|
|
63
63
|
defaultMessage: 'Cancel',
|
|
64
64
|
},
|
|
65
65
|
unicodeIconTooltip: {
|
|
66
|
-
id: `creatives.components.unicodeIconTooltip`,
|
|
66
|
+
id: `creatives.components.TemplatePreview.unicodeIconTooltip`,
|
|
67
67
|
defaultMessage:
|
|
68
68
|
'This message has unicode characters. This may affect the cost per message.',
|
|
69
69
|
},
|
|
@@ -231,7 +231,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
231
231
|
e.preventDefault();
|
|
232
232
|
const _URL = window.URL || window.webkitURL;
|
|
233
233
|
for (const file in files) {
|
|
234
|
-
if (
|
|
234
|
+
if (files.hasOwnProperty(file)) {
|
|
235
235
|
const img = new Image();
|
|
236
236
|
const that = this;
|
|
237
237
|
img.src = _URL.createObjectURL(files[file]);
|
package/package.json
CHANGED
package/translations/en.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"app.components.TemplatePreview.includesOptoutTag": "Includes optout tag",
|
|
3
3
|
"app.components.TemplatePreview.optoutCharactersTotal": "Includes optout tag ({optoutUrlLength} characters)",
|
|
4
|
+
"creatives.components.TemplatePreview.unicodeIconTooltip": "This message has unicode characters. This may affect the cost per message.",
|
|
4
5
|
"creatives.components.BreadCrumbs.header": "This is the BreadCrumbs component !",
|
|
5
6
|
"creatives.components.CapTagList.Cancel": "Cancel",
|
|
6
7
|
"creatives.components.CapTagList.Ok": "Ok",
|
package/translations/zh.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"app.components.TemplatePreview.includesOptoutTag": "",
|
|
3
3
|
"app.components.TemplatePreview.optoutCharactersTotal": "",
|
|
4
|
+
"creatives.components.TemplatePreview.unicodeIconTooltip": "",
|
|
4
5
|
"creatives.components.BreadCrumbs.header": "",
|
|
5
6
|
"creatives.components.CapTagList.Cancel": "",
|
|
6
7
|
"creatives.components.CapTagList.Ok": "",
|