@capillarytech/creatives-library 6.14.0 → 6.15.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.
Files changed (44) hide show
  1. package/app.js +5 -2
  2. package/components/FormBuilder/index.js +6 -2
  3. package/containers/Ebill/index.js +3 -0
  4. package/containers/Email/index.js +16 -8
  5. package/containers/Sms/Create/index.js +2 -1
  6. package/package.json +1 -1
  7. package/services/api.js +2 -3
  8. package/translations/en.json +50 -107
  9. package/translations/zh.json +50 -107
  10. package/utils/ignoredErrorMessages.js +4 -0
  11. package/v2Components/FormBuilder/index.js +5 -11
  12. package/v2Containers/CreativesContainer/SlideBoxContent.js +6 -2
  13. package/v2Containers/CreativesContainer/index.js +2 -1
  14. package/v2Containers/Email/actions.js +2 -1
  15. package/v2Containers/Email/index.js +45 -29
  16. package/v2Containers/Email/sagas.js +2 -2
  17. package/v2Containers/EmailWrapper/index.js +2 -0
  18. package/v2Containers/Line/Create/_lineCreate.scss +64 -0
  19. package/v2Containers/Line/Create/actions.js +94 -0
  20. package/v2Containers/Line/Create/constants.js +43 -0
  21. package/v2Containers/Line/Create/index.js +1112 -0
  22. package/v2Containers/Line/Create/initialSchema.js +378 -0
  23. package/v2Containers/Line/Create/messages.js +229 -0
  24. package/v2Containers/Line/Create/reducer.js +99 -0
  25. package/v2Containers/Line/Create/sagas.js +113 -0
  26. package/v2Containers/Line/Create/selectors.js +30 -0
  27. package/v2Containers/Line/CreateWrapper/constants.js +2 -0
  28. package/v2Containers/Line/CreateWrapper/index.js +117 -0
  29. package/v2Containers/Line/CreateWrapper/messages.js +55 -0
  30. package/v2Containers/Line/Edit/_lineEdit.scss +23 -0
  31. package/v2Containers/Line/Edit/actions.js +79 -0
  32. package/v2Containers/Line/Edit/constants.js +27 -0
  33. package/v2Containers/Line/Edit/index.js +1051 -0
  34. package/v2Containers/Line/Edit/messages.js +173 -0
  35. package/v2Containers/Line/Edit/reducer.js +83 -0
  36. package/v2Containers/Line/Edit/sagas.js +81 -0
  37. package/v2Containers/Line/Edit/selectors.js +29 -0
  38. package/v2Containers/Line/Edit/tests/actions.test.js +18 -0
  39. package/v2Containers/Line/Edit/tests/index.test.js +10 -0
  40. package/v2Containers/Line/Edit/tests/reducer.test.js +9 -0
  41. package/v2Containers/Line/Edit/tests/sagas.test.js +15 -0
  42. package/v2Containers/Line/Edit/tests/selectors.test.js +10 -0
  43. package/v2Containers/TemplatesV2/index.js +5 -6
  44. package/v2Containers/WeChat/MapTemplates/index.js +1 -1
package/app.js CHANGED
@@ -25,6 +25,7 @@ import initialState from './initialState';
25
25
  import './styles/vendor/semantic/dist/semantic.min.css';
26
26
  import './styles/main.scss';
27
27
  import pathConfig from './config/path';
28
+ import ignoredErrorMessages from './utils/ignoredErrorMessages';
28
29
  // addLocaleData([...en, ...es, ...fr, ...it, ...zh]);
29
30
 
30
31
  const browserHistory = useRouterHistory(createHistory)({
@@ -38,10 +39,12 @@ const history = syncHistoryWithStore(browserHistory, store, {
38
39
  });
39
40
 
40
41
  const bugSnagErrorCallback = (event) => {
41
- const { app: { releaseStage } = {} } = event || {};
42
+ const { app: { releaseStage } = {}, error } = event || {};
43
+ const errorMessage = error && error.message;
42
44
  if (
43
45
  (releaseStage || '').includes('nightly') ||
44
- process.env.NODE_ENV !== 'production'
46
+ process.env.NODE_ENV !== 'production' ||
47
+ ignoredErrorMessages.include[errorMessage]
45
48
  ) {
46
49
  return false;
47
50
  }
@@ -204,7 +204,9 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
204
204
 
205
205
  if (!_.isEmpty(nextProps.formData) && !_.isEqual(this.state.formData, nextProps.formData)) {
206
206
  if (nextProps.isNewVersionFlow) {
207
- const tabKey = (this.state.tabKey !== nextProps.formData[nextProps.currentTab - 1].tabKey) ? nextProps.formData[nextProps.currentTab - 1].tabKey : this.state.tabKey;
207
+ const nextPropsFormData = nextProps.formData[nextProps.currentTab - 1];
208
+ const nextPropsTabKey = nextPropsFormData && nextPropsFormData.tabKey;
209
+ const tabKey = (this.state.tabKey !== nextPropsTabKey) ? nextPropsTabKey: this.state.tabKey;
208
210
 
209
211
  this.setState({tabKey});
210
212
  }
@@ -1841,7 +1843,9 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
1841
1843
  formData.base.tabKey = `${data}`;
1842
1844
  }
1843
1845
 
1844
- that.setState({formData, currentLangTab: formData[(this.state.currentTab - 1)].activeTab, tabKey: formData[(this.state.currentTab - 1)][formData[(this.state.currentTab - 1)].activeTab].tabKey}, () => {
1846
+ const formDataActiveKey = formData[(this.state.currentTab - 1)][formData[(this.state.currentTab - 1)].activeTab];
1847
+ const formDataTabKey = formDataActiveKey && formDataActiveKey.tabKey;
1848
+ that.setState({formData, currentLangTab: formData[(this.state.currentTab - 1)].activeTab, tabKey: formDataTabKey}, () => {
1845
1849
  val.injectedEvents[event].call(that.props.parent, this.state.currentTab, formData);
1846
1850
  });
1847
1851
  } else {
@@ -908,6 +908,9 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
908
908
  injectEvents(schema) {
909
909
  console.log('now injecting events', schema);
910
910
  const temp = schema;
911
+ if (!temp.standalone) {
912
+ temp.standalone = {};
913
+ }
911
914
  temp.standalone.sections = this.injectSections(temp.standalone.sections);
912
915
  _.forEach(temp.containers, (container) => {
913
916
  let tempContainer = container;
@@ -1155,8 +1155,11 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
1155
1155
  const msgString = JSON.stringify(msg);
1156
1156
  const langId = formData[this.state.currentTab - 1].activeTab;
1157
1157
  const langIndex = formData[this.state.currentTab - 1].selectedLanguages.indexOf(langId);
1158
- const win = document.getElementById(`edmeditor${(langIndex + 1) > 1 ? (langIndex + 1) : ''}`).contentWindow;
1159
- win.postMessage(msgString, '*');
1158
+ const elementToSelect = document.getElementById(`edmeditor${(langIndex + 1) > 1 ? (langIndex + 1) : ''}`);
1159
+ if (elementToSelect) {
1160
+ const win = elementToSelect.contentWindow;
1161
+ win.postMessage(msgString, '*');
1162
+ }
1160
1163
  } else {
1161
1164
  console.log('tag', this.state, this.state.editorInstanse);
1162
1165
  if (this.state.editorInstanse) {
@@ -1415,7 +1418,8 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
1415
1418
 
1416
1419
  getMappedEvent = (id, event) => {
1417
1420
  console.log('Map ', this.map, id, event);
1418
- return this.map[id][event];
1421
+ const mapIdObject = this.map[id];
1422
+ return mapIdObject && mapIdObject[event] ? mapIdObject[event] : () => {};
1419
1423
  }
1420
1424
 
1421
1425
  getCurrentWindow = (e) => {
@@ -1511,8 +1515,11 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
1511
1515
  _.forEach(data.selectedLanguages, (language, langIndex) => {
1512
1516
  if (data[language].is_drag_drop) {
1513
1517
  console.log('saving edm template', document.getElementById("edmeditor"), `edmeditor${(langIndex + 1) > 1 ? (langIndex + 1) : ''}`);
1514
- const win = document.getElementById(`edmeditor${(langIndex + 1) > 1 ? (langIndex + 1) : ''}`).contentWindow;
1515
- win.postMessage("saveProject", '*');
1518
+ const elementToSelect = document.getElementById(`edmeditor${(langIndex + 1) > 1 ? (langIndex + 1) : ''}`);
1519
+ if (elementToSelect) {
1520
+ const win = elementToSelect.contentWindow;
1521
+ win.postMessage("saveProject", '*');
1522
+ }
1516
1523
  }
1517
1524
  });
1518
1525
  });
@@ -2501,7 +2508,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2501
2508
  const tempEl = containerInputFieldCol;
2502
2509
  if (containerInputFieldCol.id === "tab-header") {
2503
2510
  const baseLanguage = this.props.Global.currentOrgDetails && this.props.Global.currentOrgDetails.basic_details && this.props.Global.currentOrgDetails.basic_details.base_language && this.props.Global.currentOrgDetails.basic_details.base_language !== "" ? this.props.Global.currentOrgDetails.basic_details.base_language : 'en';
2504
- const supportedLanguages = this.props.Global.currentOrgDetails.basic_details.supported_languages;
2511
+ const supportedLanguages = this.props.Global.currentOrgDetails && this.props.Global.currentOrgDetails.basic_details && this.props.Global.currentOrgDetails.basic_details.supported_languages;
2505
2512
  if (!supportedLanguages) {
2506
2513
  tempEl.value = baseLanguage || 'English';
2507
2514
  return;
@@ -2655,12 +2662,13 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2655
2662
  if (languageIndex === -1) {
2656
2663
  languageIndex = 0;
2657
2664
  }
2665
+ const dataBase = data.base;
2658
2666
  const tempData = {
2659
- "is_drag_drop": data.base.is_drag_drop,
2667
+ "is_drag_drop": dataBase && dataBase.is_drag_drop,
2660
2668
  "lang_id": this.supportedLanguages[languageIndex].lang_id,
2661
2669
  "iso_code": this.supportedLanguages[languageIndex].iso_code,
2662
2670
  "language": this.supportedLanguages[languageIndex].language,
2663
- "template-content": !data.base.is_drag_drop && data.base.is_drag_drop !== 1 ? data.base.html_content : "",
2671
+ "template-content": dataBase && !dataBase.is_drag_drop && dataBase.is_drag_drop !== 1 ? dataBase.html_content : "",
2664
2672
  };
2665
2673
  formData[0].base = true;
2666
2674
  formData[0].selectedLanguages.push(this.supportedLanguages[languageIndex].iso_code);
@@ -297,7 +297,8 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
297
297
  onTabChange: this.onTabChange,
298
298
  },
299
299
  };
300
- return map[id][event];
300
+ const mappedIdObject = map[id];
301
+ return mappedIdObject && mappedIdObject[event] ? mappedIdObject[event] : () => {};
301
302
  }
302
303
 
303
304
  setFormValidity(isFormValid) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "6.14.0",
4
+ "version": "6.15.1",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
package/services/api.js CHANGED
@@ -319,12 +319,11 @@ export const getCmsTemplateSettings = (cmsType, projectId, cmsMode, langId, isEd
319
319
  return API.get(url);
320
320
  };
321
321
 
322
- export const getCmsTemplateSettingsV2 = (cmsType, projectId, cmsMode, langId, isEdmSupport) => {
323
- const url = `${API_ENDPOINT}/cms/v2/getDetails/?type=${cmsType}&projectId=${projectId}&cmsMode=${cmsMode}&langId=${langId}&isEdmSupport=${isEdmSupport ? 1 : 0}`;
322
+ export const getCmsTemplateSettingsV2 = (cmsType, projectId, cmsMode, langId, isEdmSupport, isBEEAppEnable) => {
323
+ const url = `${API_ENDPOINT}/cms/v2/getDetails/?type=${cmsType}&projectId=${projectId}&cmsMode=${cmsMode}&langId=${langId}&isEdmSupport=${isEdmSupport ? 1 : 0}&isBEEAppEnable=${isBEEAppEnable}`;
324
324
  return API.get(url);
325
325
  };
326
326
 
327
-
328
327
  export const getCmsTemplateData = (cmsType, projectId, langId) => {
329
328
  const url = `${API_ENDPOINT}/cms/getContent?type=${cmsType}&projectId=${projectId}&langId=${langId}`;
330
329
  return API.get(url);
@@ -1,6 +1,8 @@
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.AccessForbidden.forbiddenDesc": "This page access has not been provided to you.",
5
+ "creatives.components.AccessForbidden.forbiddenHeader": "Access Forbidden",
4
6
  "creatives.components.BreadCrumbs.header": "This is the BreadCrumbs component !",
5
7
  "creatives.components.CapTagList.Cancel": "Cancel",
6
8
  "creatives.components.CapTagList.Ok": "Ok",
@@ -143,7 +145,7 @@
143
145
  "creatives.componentsV2.ImagePreview.close": "close",
144
146
  "creatives.componentsV2.ImagePreview.loadingImage": "Loading images !!!!",
145
147
  "creatives.componentsV2.NavigationBar.businessProcesses": "Workbench",
146
- "creatives.componentsV2.NavigationBar.campaign": "Engage+",
148
+ "creatives.componentsV2.NavigationBar.campaigns/ui/list": "Engage+",
147
149
  "creatives.componentsV2.NavigationBar.header": "This is the NavigationBar component!",
148
150
  "creatives.componentsV2.NavigationBar.insights": "Insights+",
149
151
  "creatives.componentsV2.NavigationBar.logout": "Logout",
@@ -172,9 +174,11 @@
172
174
  "creatives.componentsV2.TemplatePreview.charactersPerSms": "SMS chars",
173
175
  "creatives.componentsV2.TemplatePreview.charactersTotal": "{smsCount} SMS ({charCount} characters)",
174
176
  "creatives.componentsV2.TemplatePreview.close": "close",
177
+ "creatives.componentsV2.TemplatePreview.playVideo": "Play",
175
178
  "creatives.componentsV2.TemplatePreview.preview": "Preview",
176
179
  "creatives.componentsV2.TemplatePreview.previewGenerated": "Preview is being generated",
177
180
  "creatives.componentsV2.TemplatePreview.previewGenerationMessage": "Preview is being generated",
181
+ "creatives.componentsV2.TemplatePreview.showDetails": "Show details",
178
182
  "creatives.componentsV2.TemplatePreview.sms": "SMS",
179
183
  "creatives.componentsV2.TemplatePreview.smsFormatType": "Message has unicode characters",
180
184
  "creatives.componentsV2.TemplatePreview.smsIcon": "Sms Icon",
@@ -247,8 +251,6 @@
247
251
  "creatives.containers.Create.graphic_details_page": "Whether to display the graphic cover on the graphic details page",
248
252
  "creatives.containers.Create.header": "This is Create container !",
249
253
  "creatives.containers.Create.http_example": "Example: http://example.com",
250
- "creatives.containers.Create.imageGallery": "Gallery",
251
- "creatives.containers.Create.lineImageIncorrectSize": "Please upload the image with correct type, size and dimension",
252
254
  "creatives.containers.Create.markFinalVersionLabel": "Mark as final",
253
255
  "creatives.containers.Create.maxContentCount": "You have reached the maximum template size",
254
256
  "creatives.containers.Create.messageLabel": "Message",
@@ -266,17 +268,9 @@
266
268
  "creatives.containers.Create.sourceLinkEmpty": "Cannot leave source link field empty",
267
269
  "creatives.containers.Create.tagsErrorMessage": "Message cannot be empty",
268
270
  "creatives.containers.Create.tagsLabel": "Tags",
269
- "creatives.containers.Create.templateAddTag": "Add tag",
270
271
  "creatives.containers.Create.templateDataNotValid": "Template data is not valid",
271
272
  "creatives.containers.Create.templateMarkedFinal": "Template Marked as Final Successfully",
272
- "creatives.containers.Create.templateMessageError": "Template content cannot be empty!",
273
- "creatives.containers.Create.templateMessagePlaceholder": "Please input line template content.",
274
- "creatives.containers.Create.templateMessagePreviewPropsError": "Please upload image",
275
- "creatives.containers.Create.templateMessagePreviewPropsInductiveText": "The relevant image that complements the message context.",
276
- "creatives.containers.Create.templateMessagePreviewPropsLabel": "Upload image content",
277
- "creatives.containers.Create.templateNameErrorPlaceholder": "Template name cannot be empty.",
278
273
  "creatives.containers.Create.templateNamePlaceHolder": "Enter template name",
279
- "creatives.containers.Create.templatePlaceholder": "Enter template name",
280
274
  "creatives.containers.Create.titleCharacterCount": "Title exceeds character count limit by",
281
275
  "creatives.containers.Create.titleEmpty": "Cannot leave title field empty",
282
276
  "creatives.containers.Create.titleNameRepeated": "Title name cannot be repeated",
@@ -1089,102 +1083,6 @@
1089
1083
  "creatives.containersV2.FacebookMarketingObjective.fbMarketingObjectiveDescription": "Objectives help break reporting into a more granular level",
1090
1084
  "creatives.containersV2.FacebookMarketingObjective.fbMarketingObjectiveDone": "Done",
1091
1085
  "creatives.containersV2.FacebookMarketingObjective.fbMarketingObjectiveTitle": "Facebook Marketing Objective",
1092
- "creatives.containersV2.Line.Create.Campaigns": "Campaigns",
1093
- "creatives.containersV2.Line.Create.Creatives": "Creatives",
1094
- "creatives.containersV2.Line.Create.Image": "Image",
1095
- "creatives.containersV2.Line.Create.ImageUploadLabel": "Upload image",
1096
- "creatives.containersV2.Line.Create.Tags": "Tags",
1097
- "creatives.containersV2.Line.Create.accountId": "Account id",
1098
- "creatives.containersV2.Line.Create.alertMessage": "Alert",
1099
- "creatives.containersV2.Line.Create.button1": "Button 1",
1100
- "creatives.containersV2.Line.Create.button2": "Button 2",
1101
- "creatives.containersV2.Line.Create.cancel": "Cancel",
1102
- "creatives.containersV2.Line.Create.discardChanges": "Discard changes",
1103
- "creatives.containersV2.Line.Create.enterTemplateName": "Enter template name",
1104
- "creatives.containersV2.Line.Create.enterTemplateNameImportant": "Enter template name*",
1105
- "creatives.containersV2.Line.Create.goBackTemporaryLost": "Do you really want to go back? All your temporary changes will be lost!",
1106
- "creatives.containersV2.Line.Create.image": "Please upload an image to proceed",
1107
- "creatives.containersV2.Line.Create.inputLineTemplateContent": "Please enter the message content",
1108
- "creatives.containersV2.Line.Create.line": "Line",
1109
- "creatives.containersV2.Line.Create.lineTemplateCreatedSuccessfully": "Line template created successfully",
1110
- "creatives.containersV2.Line.Create.maxUploadFileSize": "Max file size acceptable is 5mb",
1111
- "creatives.containersV2.Line.Create.maximumCharacterLengthExceeds": "Maximum characters length exceeds",
1112
- "creatives.containersV2.Line.Create.message": "Message",
1113
- "creatives.containersV2.Line.Create.messageHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1114
- "creatives.containersV2.Line.Create.messageLabel": "Message*",
1115
- "creatives.containersV2.Line.Create.messageTitleWithUnsupportedTag": "Please check the message content for unsupported/missing tags",
1116
- "creatives.containersV2.Line.Create.nameAndDescription": "Name and description",
1117
- "creatives.containersV2.Line.Create.pleaseUploadImage": "Please upload image",
1118
- "creatives.containersV2.Line.Create.save": "Save",
1119
- "creatives.containersV2.Line.Create.selectLineAccount": "Select line account",
1120
- "creatives.containersV2.Line.Create.selectLineTemplate": "Select line template",
1121
- "creatives.containersV2.Line.Create.somethingWentWrong": "Something went wrong!!",
1122
- "creatives.containersV2.Line.Create.template": "Template",
1123
- "creatives.containersV2.Line.Create.templateCantEmpty": "Template name cannot be empty",
1124
- "creatives.containersV2.Line.Create.templateEditedSuccessfully": "Line template edited successfully",
1125
- "creatives.containersV2.Line.Create.templateNameNotEmpty": "Please provide a template name",
1126
- "creatives.containersV2.Line.Create.templateNotConfigured": "template not configured,",
1127
- "creatives.containersV2.Line.Create.title": "Title",
1128
- "creatives.containersV2.Line.Create.titleHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1129
- "creatives.containersV2.Line.Create.titleLabel": "Title*",
1130
- "creatives.containersV2.Line.Create.titleNameInvalid": "Please enter the message title",
1131
- "creatives.containersV2.Line.Create.uploadFileSizeError": "File size cannot be more than 1mb",
1132
- "creatives.containersV2.Line.Create.uploadImage": "Upload image",
1133
- "creatives.containersV2.Line.Create.uploadSuccess": "Photo uploaded successfully",
1134
- "creatives.containersV2.Line.Create.uploadingImage": "Uploading image...",
1135
- "creatives.containersV2.Line.Create.valueCantEmpty": "value cannot be empty.",
1136
- "creatives.containersV2.Line.CreateWrapper.accountLineListDescription": "Choose the account to send content",
1137
- "creatives.containersV2.Line.CreateWrapper.accountLineListTitle": "Line accounts",
1138
- "creatives.containersV2.Line.CreateWrapper.accountLineNoListTitle": "No line accounts present",
1139
- "creatives.containersV2.Line.CreateWrapper.continue": "Continue",
1140
- "creatives.containersV2.Line.CreateWrapper.hybridTemplateDescription": "Used to create combined text & image or video content",
1141
- "creatives.containersV2.Line.CreateWrapper.hybridTemplateTitle": "Hybrid",
1142
- "creatives.containersV2.Line.CreateWrapper.imageTemplateDescription": "Used for creating image or video content",
1143
- "creatives.containersV2.Line.CreateWrapper.imageTemplateTitle": "Image/video template",
1144
- "creatives.containersV2.Line.CreateWrapper.templateType": "Select the type of content",
1145
- "creatives.containersV2.Line.CreateWrapper.textTemplateDescription": "Used for announcing offers and transaction related information",
1146
- "creatives.containersV2.Line.CreateWrapper.textTemplateTitle": "Text template",
1147
- "creatives.containersV2.Line.Edit.Campaigns": "Campaigns",
1148
- "creatives.containersV2.Line.Edit.Creatives": "Creatives",
1149
- "creatives.containersV2.Line.Edit.Image": "Image",
1150
- "creatives.containersV2.Line.Edit.ImageUploadLabel": "Upload image",
1151
- "creatives.containersV2.Line.Edit.Tags": "Tags",
1152
- "creatives.containersV2.Line.Edit.alertMessage": "Alert",
1153
- "creatives.containersV2.Line.Edit.androidNotConfigured": "Android template is not configured. Save without Android template",
1154
- "creatives.containersV2.Line.Edit.button1": "Button 1",
1155
- "creatives.containersV2.Line.Edit.button2": "Button 2",
1156
- "creatives.containersV2.Line.Edit.cancel": "Cancel",
1157
- "creatives.containersV2.Line.Edit.discardChanges": "Discard changes",
1158
- "creatives.containersV2.Line.Edit.enterTemplateName": "Enter template name",
1159
- "creatives.containersV2.Line.Edit.enterTemplateNameImportant": "Enter template name*",
1160
- "creatives.containersV2.Line.Edit.goBackConfirmation": "Going back will discard all the changes you've made. Continue?",
1161
- "creatives.containersV2.Line.Edit.goBackTemporaryChangesLost": "Do you really want to go back? All your temporary changes will be lost!",
1162
- "creatives.containersV2.Line.Edit.inputLineTemplateContent": "Please enter the message content",
1163
- "creatives.containersV2.Line.Edit.iosNotConfigured": "IOS template is not configured, Save without IOS template",
1164
- "creatives.containersV2.Line.Edit.maxUploadFileSize": "Max file size acceptable is 5mb",
1165
- "creatives.containersV2.Line.Edit.message": "Message",
1166
- "creatives.containersV2.Line.Edit.messageHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1167
- "creatives.containersV2.Line.Edit.messageLabel": "Message*",
1168
- "creatives.containersV2.Line.Edit.messageTitleWithUnsupportedTag": "Please check the message content for unsupported/missing tags",
1169
- "creatives.containersV2.Line.Edit.mobilePush": "Mobile Push",
1170
- "creatives.containersV2.Line.Edit.nameAndDescription": "Name and description",
1171
- "creatives.containersV2.Line.Edit.pleaseUploadImage": "Please upload image",
1172
- "creatives.containersV2.Line.Edit.save": "Save",
1173
- "creatives.containersV2.Line.Edit.selectLineTemplate": "Select line template",
1174
- "creatives.containersV2.Line.Edit.somethingWentWrong": "Something went wrong!!",
1175
- "creatives.containersV2.Line.Edit.template": "Template",
1176
- "creatives.containersV2.Line.Edit.templateCantEmpty": "Template name cannot be empty",
1177
- "creatives.containersV2.Line.Edit.templateEditedSuccessfully": "Line template edited successfully",
1178
- "creatives.containersV2.Line.Edit.templateNameNotEmpty": "Please provide a template name",
1179
- "creatives.containersV2.Line.Edit.templateNotConfigured": "template not configured,",
1180
- "creatives.containersV2.Line.Edit.title": "Title",
1181
- "creatives.containersV2.Line.Edit.titleHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1182
- "creatives.containersV2.Line.Edit.titleLabel": "Title*",
1183
- "creatives.containersV2.Line.Edit.titleNameInvalid": "Please enter the message title",
1184
- "creatives.containersV2.Line.Edit.uploadFileSizeError": "File size cannot be more than 5mb",
1185
- "creatives.containersV2.Line.Edit.uploadImage": "Upload image",
1186
- "creatives.containersV2.Line.Edit.uploadingImage": "Uploading image...",
1187
- "creatives.containersV2.Line.Edit.valueCantEmpty": "value cannot be empty.",
1188
1086
  "creatives.containersV2.LineContainer.addMessageButtonLabel": "Add message",
1189
1087
  "creatives.containersV2.LineContainer.cancelButtonLabel": "Cancel",
1190
1088
  "creatives.containersV2.LineContainer.changeAccount": "Change",
@@ -1193,6 +1091,7 @@
1193
1091
  "creatives.containersV2.LineContainer.lineAccount": "Line account",
1194
1092
  "creatives.containersV2.LineContainer.lineAccountHeading": "Line account",
1195
1093
  "creatives.containersV2.LineContainer.lineAccountHeadingChangeLabel": "Change",
1094
+ "creatives.containersV2.LineContainer.lineAccountLabel": "Line account",
1196
1095
  "creatives.containersV2.LineContainer.lineCreateNotification": "Line template created successfully",
1197
1096
  "creatives.containersV2.LineContainer.lineCreativeDescription": "Select any of the existing templates or create new",
1198
1097
  "creatives.containersV2.LineContainer.lineCreativeTitle": "Line creative",
@@ -1284,6 +1183,39 @@
1284
1183
  "creatives.containersV2.LineText.textMessageSelectTemplate": "Select template",
1285
1184
  "creatives.containersV2.LineText.textMessageTitleLabel": "Template name",
1286
1185
  "creatives.containersV2.LineText.textMessageTitlePlaceholder": "Enter template name",
1186
+ "creatives.containersV2.LineVideo.actionButtonLabel": "Action button",
1187
+ "creatives.containersV2.LineVideo.actionLabelInductiveTitle": "Make your own action button label",
1188
+ "creatives.containersV2.LineVideo.actionLabelPlaceholder": "Enter Label",
1189
+ "creatives.containersV2.LineVideo.actionLabelTitle": "Action button label",
1190
+ "creatives.containersV2.LineVideo.actionUrlPlaceholder": "Enter URL",
1191
+ "creatives.containersV2.LineVideo.actionUrlTitle": "Link Url",
1192
+ "creatives.containersV2.LineVideo.dragAndDrop": "Drag and drop video here",
1193
+ "creatives.containersV2.LineVideo.emptyAltTextErrorMessage": "Title can not be empty",
1194
+ "creatives.containersV2.LineVideo.emptyLabelErrorMessage": "Action label can not be more empty",
1195
+ "creatives.containersV2.LineVideo.emptyTitleErrorMessage": "Template title can not be empty",
1196
+ "creatives.containersV2.LineVideo.emptyUrlErrorMessage": "Action URL can not be more empty",
1197
+ "creatives.containersV2.LineVideo.imageGallery": "Gallery",
1198
+ "creatives.containersV2.LineVideo.imageReUpload": "Re upload",
1199
+ "creatives.containersV2.LineVideo.inValidUrlErrorMessage": "Action url is not valid",
1200
+ "creatives.containersV2.LineVideo.lineTemplateImage": "Line templates - Image",
1201
+ "creatives.containersV2.LineVideo.lineVideoIncorrectSize": "This file format/size is not supported.",
1202
+ "creatives.containersV2.LineVideo.maxActionLabelErrorMessage": "Action label can not be more than 20 character",
1203
+ "creatives.containersV2.LineVideo.or": "OR",
1204
+ "creatives.containersV2.LineVideo.searchImages": "Search Images",
1205
+ "creatives.containersV2.LineVideo.select": "Select",
1206
+ "creatives.containersV2.LineVideo.textMessageAddLabel": "How do you want to upload the image?",
1207
+ "creatives.containersV2.LineVideo.textMessageCreateNew": "Create new",
1208
+ "creatives.containersV2.LineVideo.textMessageORLabel": "OR",
1209
+ "creatives.containersV2.LineVideo.textMessageSelectTemplate": "Select template",
1210
+ "creatives.containersV2.LineVideo.textMessageTitleLabel": "Template name",
1211
+ "creatives.containersV2.LineVideo.textMessageTitlePlaceholder": "Enter template name",
1212
+ "creatives.containersV2.LineVideo.titleDescription": "The title is shown in push notifications and in the user's chat list.",
1213
+ "creatives.containersV2.LineVideo.titleLabel": "Title",
1214
+ "creatives.containersV2.LineVideo.uploadComputer": "Your computer",
1215
+ "creatives.containersV2.LineVideo.uploadGallery": "Gallery",
1216
+ "creatives.containersV2.LineVideo.uploadVideoLabel": "Upload Video",
1217
+ "creatives.containersV2.LineVideo.videoFormatDescription": "File formats: MP4",
1218
+ "creatives.containersV2.LineVideo.videoSizeDescription": "File size: Up to 200 MB",
1287
1219
  "creatives.containersV2.LineWrapper.changeModalDescription": "The already added content for this card will be lost by changing the content tab.",
1288
1220
  "creatives.containersV2.LineWrapper.changeModalLabel": "Do you still want to make the changes to content tab",
1289
1221
  "creatives.containersV2.LineWrapper.changeModalTitle": "Changing content tab?",
@@ -1294,6 +1226,7 @@
1294
1226
  "creatives.containersV2.LineWrapper.stickerLabel": "Sticker",
1295
1227
  "creatives.containersV2.LineWrapper.templateLabel": "Card message",
1296
1228
  "creatives.containersV2.LineWrapper.textLabel": "Text",
1229
+ "creatives.containersV2.LineWrapper.videoLabel": "Rich video message",
1297
1230
  "creatives.containersV2.Login.header": "This is login container change !",
1298
1231
  "creatives.containersV2.Login.invalidCredential": "Invalid username or password",
1299
1232
  "creatives.containersV2.Login.loginPage": "Login Page",
@@ -1481,6 +1414,7 @@
1481
1414
  "creatives.containersV2.Templates.header": "This is Templates container !",
1482
1415
  "creatives.containersV2.Templates.imageCarouselTemplate": "Card message",
1483
1416
  "creatives.containersV2.Templates.imageMapTemplate": "Rich message",
1417
+ "creatives.containersV2.Templates.imageMapVideoTemplate": "Rich video message",
1484
1418
  "creatives.containersV2.Templates.imageTemplate": "Image",
1485
1419
  "creatives.containersV2.Templates.invalidUploadFileError": "File cannot be uploaded. Please select another file with valid file format.",
1486
1420
  "creatives.containersV2.Templates.layoutSelection": "Select layout",
@@ -1597,10 +1531,19 @@
1597
1531
  "creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
1598
1532
  "creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
1599
1533
  "creatives.containersV2.appName": "App Name",
1534
+ "creatives.containersV2.areYouSureText": "Are you sure?",
1600
1535
  "creatives.containersV2.audience": "Audience",
1601
1536
  "creatives.containersV2.campaignsDashboard": "Campaigns",
1602
1537
  "creatives.containersV2.campaignsHome": "Campaigns Home",
1538
+ "creatives.containersV2.cancel": "Cancel",
1539
+ "creatives.containersV2.changeOk": "Ok, change",
1603
1540
  "creatives.containersV2.incentive": "Incentive",
1541
+ "creatives.containersV2.newOrgName": "{newOrgName}",
1542
+ "creatives.containersV2.orgChangeText": "Changing from <b>{oldOrgName}</b> to <b>{newOrgName}</b> will change the organisation for applications open in other tabs as well.<br/>Do you want to make the change to <b>{newOrgName}</b>?",
1543
+ "creatives.containersV2.orgChangedText": "Organization changed to",
1544
+ "creatives.containersV2.orgRefreshHeading": "Org refresh",
1545
+ "creatives.containersV2.refreshOrgText": "Refreshing this page & changing the Org from <b>{oldOrgName}</b> to <b>{newOrgName}</b>. At a time only one Org can be selected on the browser.",
1546
+ "creatives.containersV2.refreshText": "Refreshing in {time}...",
1604
1547
  "creatives.containersV2.richMedia.Create.Anyone": "Anyone",
1605
1548
  "creatives.containersV2.richMedia.Create.Author": "Author",
1606
1549
  "creatives.containersV2.richMedia.Create.Content": "Content",