@capillarytech/creatives-library 7.16.12 → 7.16.13

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 (40) hide show
  1. package/components/Ckeditor/index.js +1 -1
  2. package/containers/Cap/tests/__snapshots__/index.test.js.snap +10 -220
  3. package/containers/MobilePush/Create/index.js +0 -18
  4. package/containers/MobilePush/Create/messages.js +2 -2
  5. package/containers/MobilePush/Edit/index.js +0 -18
  6. package/containers/MobilePush/Edit/messages.js +2 -2
  7. package/package.json +1 -1
  8. package/translations/en.json +10 -220
  9. package/translations/ja-JP.json +2 -212
  10. package/translations/zh.json +2 -212
  11. package/v2Components/CapWhatsappCTA/index.js +1 -1
  12. package/v2Components/CapWhatsappCTA/messages.js +5 -1
  13. package/v2Components/Ckeditor/index.js +1 -1
  14. package/v2Components/FormBuilder/index.js +4 -48
  15. package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +10 -220
  16. package/v2Containers/CreativesContainer/constants.js +0 -2
  17. package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -8
  18. package/v2Containers/LanguageProvider/index.js +0 -3
  19. package/v2Containers/LanguageProvider/tests/index.test.js +0 -1
  20. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +30 -663
  21. package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +20 -440
  22. package/v2Containers/Line/Container/Video/index.js +2 -2
  23. package/v2Containers/Line/Container/Video/messages.js +0 -9
  24. package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +170 -3740
  25. package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +180 -3960
  26. package/v2Containers/MobilePush/Create/index.js +3 -31
  27. package/v2Containers/MobilePush/Create/messages.js +2 -50
  28. package/v2Containers/MobilePush/Edit/index.js +1 -29
  29. package/v2Containers/MobilePush/Edit/messages.js +2 -50
  30. package/v2Containers/MobilePush/commonMethods.js +2 -2
  31. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +473 -10349
  32. package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +40 -880
  33. package/v2Containers/SmsTrai/Edit/index.js +1 -1
  34. package/v2Containers/SmsTrai/Edit/messages.js +1 -1
  35. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +80 -1760
  36. package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +0 -16
  37. package/v2Containers/Whatsapp/index.js +3 -3
  38. package/v2Containers/Whatsapp/messages.js +3 -3
  39. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +1789 -17965
  40. package/v2Components/FormBuilder/constants.js +0 -1
@@ -385,7 +385,7 @@ export const CapWhatsappCTA = (props) => {
385
385
  }}
386
386
  autoAdjustOverflow
387
387
  placement="right"
388
- title={formatMessage(messages.dynamicUrlTooltip, { one: '{{1}}' })}
388
+ title={formatMessage(messages.dynamicUrlTooltip)}
389
389
  />
390
390
  )}
391
391
  </CapHeading>
@@ -82,7 +82,7 @@ export default defineMessages({
82
82
  dynamicUrlTooltip: {
83
83
  id: `${prefix}.dynamicUrlTooltip`,
84
84
  defaultMessage:
85
- 'Only one variable can be added to a URL. No need to add {one} to the end of the URL',
85
+ 'Only one variable can be added to a URL. No need to add {{1}} to the end of the URL',
86
86
  },
87
87
  staticUrlWithVarErrorMessage: {
88
88
  id: `${prefix}.staticUrlWithVarErrorMessage`,
@@ -92,6 +92,10 @@ export default defineMessages({
92
92
  id: `${prefix}.dynamicUrlWithMoreVarErrorMessage`,
93
93
  defaultMessage: 'Button with url type as dynamic can have only 1 variable',
94
94
  },
95
+ dynamicUrlUnknownVars: {
96
+ id: `${prefix}.dynamicUrlUnknownVars`,
97
+ defaultMessage: 'Valid variable is {{1}}',
98
+ },
95
99
  useTwoBracketsOnly: {
96
100
  id: `${prefix}.useTwoBracketsOnly`,
97
101
  defaultMessage: 'Use two brackets on each side to declare a variable',
@@ -13,7 +13,7 @@ import React from 'react';
13
13
  import _ from 'lodash';
14
14
  // import messages from './messages';
15
15
  const loadScript = require('load-script');
16
- const defaultScriptUrl = "https://ckeditor.com/assets/libs/ckeditor4/4.19.0/ckeditor.js";
16
+ const defaultScriptUrl = "https://ckeditor.com/assets/libs/ckeditor4/4.22.1/ckeditor.js";
17
17
  const user = localStorage.getItem('user');
18
18
  let locale = 'en';
19
19
  if (user && JSON.parse(user).lang) {
@@ -11,29 +11,9 @@ import PropTypes from 'prop-types';
11
11
  import React from 'react';
12
12
  import _ from 'lodash';
13
13
  import { Tabs, Table, Modal} from 'antd';
14
- import { connect } from 'react-redux';
15
- import CapSpin from '@capillarytech/cap-ui-library/CapSpin';
16
- import CapDrawer from '@capillarytech/cap-ui-library/CapDrawer';
17
- import CapButton from '@capillarytech/cap-ui-library/CapButton';
18
- import CapInput from '@capillarytech/cap-ui-library/CapInput';
19
- import CapPopover from '@capillarytech/cap-ui-library/CapPopover';
20
- import CapImage from '@capillarytech/cap-ui-library/CapImage';
21
- import CapCheckbox from '@capillarytech/cap-ui-library/CapCheckbox';
22
- import CapRadio from '@capillarytech/cap-ui-library/CapRadio';
23
- import CapSelect from '@capillarytech/cap-ui-library/CapSelect';
24
- import CapTable from '@capillarytech/cap-ui-library/CapTable';
25
- import CapRow from '@capillarytech/cap-ui-library/CapRow';
26
- import CapColumn from '@capillarytech/cap-ui-library/CapColumn';
27
- import CapNotification from '@capillarytech/cap-ui-library/CapNotification';
28
- import CapUploader from '@capillarytech/cap-ui-library/CapUploader';
29
- import CapHeading from '@capillarytech/cap-ui-library/CapHeading';
30
- import CapIcon from '@capillarytech/cap-ui-library/CapIcon';
31
- import CapTooltip from '@capillarytech/cap-ui-library/CapTooltip';
32
- import CapAiSuggestions from '@capillarytech/cap-ui-library/CapAiSuggestions';
33
-
14
+ import { CapSpin, CapDrawer, CapButton, CapInput, CapPopover, CapImage, CapCheckbox, CapRadio, CapSelect, CapTable, CapRow, CapColumn, CapNotification, CapUploader, CapHeading, CapIcon, CapTooltip} from '@capillarytech/cap-ui-library';
34
15
  import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
35
16
  import LabelHOC from '@capillarytech/cap-ui-library/assets/HOCs/ComponentWithLabelHOC';
36
- import { createStructuredSelector } from 'reselect';
37
17
  import { CAP_SPACE_12, CAP_SPACE_08, FONT_COLOR_05, FONT_COLOR_04 } from '@capillarytech/cap-ui-library/styled/variables';
38
18
  import TemplatePreview from '../TemplatePreview';
39
19
  import TagList from '../../v2Containers/TagList';
@@ -44,14 +24,12 @@ import EDMEditor from "../Edmeditor";
44
24
  import BeeEditor from '../../v2Containers/BeeEditor';
45
25
  import CustomPopOver from '../CustomPopOver';
46
26
  import messages from './messages';
47
- import { selectCurrentOrgDetails } from "../../v2Containers/Cap/selectors";
48
27
  import './_formBuilder.scss';
49
28
  import {updateCharCount, checkUnicode} from "../../utils/smsCharCountV2";
50
- import { SMS, MOBILE_PUSH, LINE, ENABLE_AI_SUGGESTIONS } from '../../v2Containers/CreativesContainer/constants';
29
+ import { SMS, LINE } from '../../v2Containers/CreativesContainer/constants';
51
30
  import { validateIfTagClosed } from '../../utils/tagValidations';
52
31
  import globalMessages from '../../v2Containers/Cap/messages';
53
32
  import { convert } from 'html-to-text';
54
- import { AI_SUGGESTION_API_URL } from './constants';
55
33
  const TabPane = Tabs.TabPane;
56
34
  const {Column} = Table;
57
35
  const {TextArea} = CapInput;
@@ -2300,12 +2278,6 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
2300
2278
  const messageContent = isVersionEnable ? formData[`${currentTab - 1}`][val.id] : formData[val.id];
2301
2279
  const { MISSING_TAG_ERROR, UNSUPPORTED_TAG_ERROR, TAG_BRACKET_COUNT_MISMATCH_ERROR } = errorMessageForTags;
2302
2280
  const { formatMessage } = this.props.intl;
2303
-
2304
- const { accessibleFeatures = [] } = this.props.currentOrgDetails || {};
2305
- const hasAiSuggestionsEnabled = accessibleFeatures.includes(
2306
- ENABLE_AI_SUGGESTIONS
2307
- );
2308
-
2309
2281
  let errorMessageText = false;
2310
2282
  switch (errorType) {
2311
2283
  case MISSING_TAG_ERROR:
@@ -2341,18 +2313,6 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
2341
2313
  disabled={val.disabled}
2342
2314
  cols={cols}
2343
2315
  />
2344
- {[SMS, MOBILE_PUSH].includes(this.props.schema?.channel)
2345
- && hasAiSuggestionsEnabled
2346
- && this.props.isFullMode
2347
- && (
2348
- <CapAiSuggestions
2349
- text={messageContent || ""}
2350
- setText={(x) => {
2351
- this.updateFormData(x, val);
2352
- }}
2353
- websocketUrl={AI_SUGGESTION_API_URL}
2354
- />
2355
- )}
2356
2316
  </CapColumn>
2357
2317
  );
2358
2318
  }
@@ -3657,11 +3617,7 @@ FormBuilder.propTypes = {
3657
3617
  setDrawerVisibility: PropTypes.bool,
3658
3618
  capDrawerContent: PropTypes.array,
3659
3619
  isFullMode: PropTypes.bool,
3660
- currentOrgDetails: PropTypes.object,
3661
- };
3662
3620
 
3663
- const mapStateToProps = createStructuredSelector({
3664
- currentOrgDetails: selectCurrentOrgDetails(),
3665
- });
3621
+ };
3666
3622
 
3667
- export default connect(mapStateToProps)(injectIntl(FormBuilder));
3623
+ export default injectIntl(FormBuilder);
@@ -123,21 +123,6 @@ exports[`<Cap /> should render correct component 1`] = `
123
123
  "app.v2containers.SmsTrai.Create.typeAliasErrorDescription": "Please include mandatory field type. It can be {typeAliases}.",
124
124
  "app.v2containers.SmsTrai.Create.uploadFile": "Upload file",
125
125
  "app.v2containers.SmsTrai.Create.uploadInstructions": "Upload Instructions",
126
- "app.v2containers.SmsTrai.Edit.addLabels": "Add labels",
127
- "app.v2containers.SmsTrai.Edit.cancelButtonLabel": "Cancel",
128
- "app.v2containers.SmsTrai.Edit.inputplaceHolderText": "Add labels or text or combination of both",
129
- "app.v2containers.SmsTrai.Edit.msgLengthNote": "Only 30 characters are allowed per variable {var} field. In case the field resolves to more than 30 characters the message is bound to fail. Hence will not be sent by the Capillary system.",
130
- "app.v2containers.SmsTrai.Edit.saveButtonLabel": "Save",
131
- "app.v2containers.SmsTrai.Edit.senderIdlabel": "Sender ID",
132
- "app.v2containers.SmsTrai.Edit.smsEditNotification": "Sms template updated successfully",
133
- "app.v2containers.SmsTrai.Edit.templateLabel": "Template",
134
- "app.v2containers.SmsTrai.Edit.textAreaCounts": "{varCounts} variable{varCounts, plural, one {} other {s}} {var}: max. {charCounts} characters",
135
- "app.v2containers.SmsTrai.Edit.textAreaError": "Template cannot be empty",
136
- "app.v2containers.SmsTrai.Edit.totalCharacters": "{smsCount} SMS ({number} characters)",
137
- "app.v2containers.SmsTrai.Edit.traiEditSeperator": "|",
138
- "app.v2containers.SmsTrai.Edit.traiEditTitle": "Message",
139
- "app.v2containers.SmsTrai.Edit.unicodeLabel": "Allow unicode characters",
140
- "app.v2containers.SmsTrai.Edit.unsupportedTagsValidationError": "Unsupported tags: {unsupportedTags}. Please remove them from this message.",
141
126
  "creatives.components.AccessForbidden.forbiddenDesc": "This page access has not been provided to you.",
142
127
  "creatives.components.AccessForbidden.forbiddenHeader": "Access Forbidden",
143
128
  "creatives.components.BreadCrumbs.header": "This is the BreadCrumbs component !",
@@ -266,31 +251,6 @@ exports[`<Cap /> should render correct component 1`] = `
266
251
  "creatives.componentsV2.CapTagList.numberOfDaysBeforeExpiry": "Number of days before expiry",
267
252
  "creatives.componentsV2.CapTagList.outbound": "Outbound",
268
253
  "creatives.componentsV2.CapTagList.search": "Search",
269
- "creatives.componentsV2.CapWhatsappCTA.addButton": "Add button",
270
- "creatives.componentsV2.CapWhatsappCTA.ctaAddDisabled": "Please save the first button before proceeding to create second button",
271
- "creatives.componentsV2.CapWhatsappCTA.ctaButtonErrorMessage": "Newlines, Emojis, or Special characters are not allowed",
272
- "creatives.componentsV2.CapWhatsappCTA.ctaButtonText": "Button text",
273
- "creatives.componentsV2.CapWhatsappCTA.ctaButtonTextPlaceholder": "Enter button text",
274
- "creatives.componentsV2.CapWhatsappCTA.ctaButtonTextTooltip": "Use this to name the button. We would recommend not to use special characters for the button text.",
275
- "creatives.componentsV2.CapWhatsappCTA.ctaDynamicPlaceholder": "Enter URL, variable is added by default",
276
- "creatives.componentsV2.CapWhatsappCTA.ctaOptionDisabledTooltip": "This type of button can only be added once",
277
- "creatives.componentsV2.CapWhatsappCTA.ctaPhoneNo": "Phone number",
278
- "creatives.componentsV2.CapWhatsappCTA.ctaPhoneNoPlaceholder": "Enter phone number",
279
- "creatives.componentsV2.CapWhatsappCTA.ctaSaveDisabled": "Please complete the above fields to enable button",
280
- "creatives.componentsV2.CapWhatsappCTA.ctaStaticPlaceholder": "Enter website URL",
281
- "creatives.componentsV2.CapWhatsappCTA.ctaType": "Type of action",
282
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsite": "Website",
283
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsiteType": "URL Type",
284
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsiteTypeDynamic": "Dynamic",
285
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsiteTypeStatic": "Static",
286
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsiteUrl": "Website URL",
287
- "creatives.componentsV2.CapWhatsappCTA.ctaWebsiteUrlErrorMessage": "URL is not valid",
288
- "creatives.componentsV2.CapWhatsappCTA.dynamicUrlTooltip": "Only one variable can be added to a URL. No need to add {one} to the end of the URL",
289
- "creatives.componentsV2.CapWhatsappCTA.dynamicUrlWithMoreVarErrorMessage": "Button with url type as dynamic can have only 1 variable",
290
- "creatives.componentsV2.CapWhatsappCTA.staticUrlWithVarErrorMessage": "Button with url type as static cannot contain variables",
291
- "creatives.componentsV2.CapWhatsappCTA.useTwoBracketsOnly": "Use two brackets on each side to declare a variable",
292
- "creatives.componentsV2.CapWhatsappCTA.whatsappCtaTagListLabel": "Add URL label",
293
- "creatives.componentsV2.CapWhatsappCTA.whatsappCtaTagListRevert": "Reset website URL label to default value",
294
254
  "creatives.componentsV2.Ckeditor.header": "This is the Ckeditor component !",
295
255
  "creatives.componentsV2.CmsTemplatesComponent.header": "This is the CmsTemplatesComponent component !",
296
256
  "creatives.componentsV2.CmsTemplatesComponent.select": "Select",
@@ -702,8 +662,8 @@ exports[`<Cap /> should render correct component 1`] = `
702
662
  "creatives.containers.MobilePush.Create.button2": "Button 2",
703
663
  "creatives.containers.MobilePush.Create.cancel": "Cancel",
704
664
  "creatives.containers.MobilePush.Create.cantCopyEmptyField": "Cannot copy empty field values.",
705
- "creatives.containers.MobilePush.Create.copyFromAndroid": "Copy Title and Content From Android",
706
- "creatives.containers.MobilePush.Create.copyFromIos": "Copy Title and Content From IOS",
665
+ "creatives.containers.MobilePush.Create.copyFromAndroid": "Copy title and content from android",
666
+ "creatives.containers.MobilePush.Create.copyFromIos": "Copy title and content from IOS",
707
667
  "creatives.containers.MobilePush.Create.ctaLabelCantEmpty": "CTA label cannot be empty.",
708
668
  "creatives.containers.MobilePush.Create.deleteSecondCTAFirst": "Please delete second secondary cta first",
709
669
  "creatives.containers.MobilePush.Create.discardChanges": "Discard changes",
@@ -767,8 +727,8 @@ exports[`<Cap /> should render correct component 1`] = `
767
727
  "creatives.containers.MobilePush.Edit.button2": "Button 2",
768
728
  "creatives.containers.MobilePush.Edit.cancel": "Cancel",
769
729
  "creatives.containers.MobilePush.Edit.cantCopyEmptyField": "Cannot copy empty field values.",
770
- "creatives.containers.MobilePush.Edit.copyFromAndroid": "Copy Title and Content From Android",
771
- "creatives.containers.MobilePush.Edit.copyFromIos": "Copy Title and Content From IOS",
730
+ "creatives.containers.MobilePush.Edit.copyFromAndroid": "Copy title and content from android",
731
+ "creatives.containers.MobilePush.Edit.copyFromIos": "Copy title and content from IOS",
772
732
  "creatives.containers.MobilePush.Edit.ctaLabelCantEmpty": "CTA label cannot be empty.",
773
733
  "creatives.containers.MobilePush.Edit.deleteSecondCTAFirst": "Please delete second Secondary cta First",
774
734
  "creatives.containers.MobilePush.Edit.discardChanges": "Discard changes",
@@ -996,7 +956,6 @@ exports[`<Cap /> should render correct component 1`] = `
996
956
  "creatives.containersV2.Cap.ebill": "Ebill",
997
957
  "creatives.containersV2.Cap.email": "Email",
998
958
  "creatives.containersV2.Cap.gallery": "Gallery",
999
- "creatives.containersV2.Cap.journeys": "Journeys",
1000
959
  "creatives.containersV2.Cap.loyalty": "Loyalty",
1001
960
  "creatives.containersV2.Cap.memberCare": "Member Care",
1002
961
  "creatives.containersV2.Cap.sms": "SMS",
@@ -1037,6 +996,7 @@ exports[`<Cap /> should render correct component 1`] = `
1037
996
  "creatives.containersV2.CapFacebookPreview.suggestedVideoMobile": "Suggested video mobile",
1038
997
  "creatives.containersV2.CapFacebookPreview.videoNotePreview": "Facebook may take time to upload the video. Please try Refreshing.",
1039
998
  "creatives.containersV2.CapFacebookPreview.watchFeedMobile": "Watch feed mobile",
999
+ "creatives.containersV2.ChannelTemplates.header": "This is ChannelTemplates container !",
1040
1000
  "creatives.containersV2.Create.addLabel": "Add label",
1041
1001
  "creatives.containersV2.Create.alertMessage": "Alert",
1042
1002
  "creatives.containersV2.Create.cancelButton": "Cancel",
@@ -1517,13 +1477,11 @@ exports[`<Cap /> should render correct component 1`] = `
1517
1477
  "creatives.containersV2.LineVideo.actionLabelTitle": "Action button label",
1518
1478
  "creatives.containersV2.LineVideo.actionUrlPlaceholder": "Enter URL",
1519
1479
  "creatives.containersV2.LineVideo.actionUrlTitle": "Link Url",
1520
- "creatives.containersV2.LineVideo.display": "Display",
1521
1480
  "creatives.containersV2.LineVideo.dragAndDrop": "Drag and drop video here",
1522
1481
  "creatives.containersV2.LineVideo.emptyAltTextErrorMessage": "Title can not be empty",
1523
1482
  "creatives.containersV2.LineVideo.emptyLabelErrorMessage": "Action label can not be more empty",
1524
1483
  "creatives.containersV2.LineVideo.emptyTitleErrorMessage": "Template title can not be empty",
1525
1484
  "creatives.containersV2.LineVideo.emptyUrlErrorMessage": "Action URL can not be more empty",
1526
- "creatives.containersV2.LineVideo.hide": "Hide",
1527
1485
  "creatives.containersV2.LineVideo.imageGallery": "Gallery",
1528
1486
  "creatives.containersV2.LineVideo.imageReUpload": "Re upload",
1529
1487
  "creatives.containersV2.LineVideo.inValidUrlErrorMessage": "Action url is not valid",
@@ -1567,29 +1525,19 @@ exports[`<Cap /> should render correct component 1`] = `
1567
1525
  "creatives.containersV2.MobilePush.Create.Image": "Image",
1568
1526
  "creatives.containersV2.MobilePush.Create.ImageUploadLabel": "Upload image",
1569
1527
  "creatives.containersV2.MobilePush.Create.Tags": "Tags",
1570
- "creatives.containersV2.MobilePush.Create.aPageWithMobileApp": "A page within mobile app",
1571
1528
  "creatives.containersV2.MobilePush.Create.accountId": "Account id",
1572
- "creatives.containersV2.MobilePush.Create.addActionButtonsToNotification": "Add action buttons to notification",
1573
- "creatives.containersV2.MobilePush.Create.addActionLinkToContent": "Add action link to content",
1574
- "creatives.containersV2.MobilePush.Create.addActionLinkToContentDescription": "Add a hyperlink of the page which customer will be directed to",
1575
1529
  "creatives.containersV2.MobilePush.Create.addAnotherCTA": "Add another CTA",
1576
- "creatives.containersV2.MobilePush.Create.addPrimaryButtonToNotification": "Add primary button to notification",
1577
1530
  "creatives.containersV2.MobilePush.Create.addPrimaryCTA": "Add primary CTA",
1578
- "creatives.containersV2.MobilePush.Create.addSecondaryButtonToNotification": "Add secondary button to notification",
1579
1531
  "creatives.containersV2.MobilePush.Create.addSecondaryCTA": "Add secondary CTA",
1580
1532
  "creatives.containersV2.MobilePush.Create.alertMessage": "Alert",
1581
- "creatives.containersV2.MobilePush.Create.anExternalWebPage": "An external web page",
1582
1533
  "creatives.containersV2.MobilePush.Create.androidNotConfigured": "Android template is not configured. Save without Android template",
1583
1534
  "creatives.containersV2.MobilePush.Create.button1": "Button 1",
1584
1535
  "creatives.containersV2.MobilePush.Create.button2": "Button 2",
1585
- "creatives.containersV2.MobilePush.Create.buttonLabel": "Button label",
1586
1536
  "creatives.containersV2.MobilePush.Create.cancel": "Cancel",
1587
1537
  "creatives.containersV2.MobilePush.Create.cantCopyEmptyFieldValues": "Cannot copy empty field values.",
1588
1538
  "creatives.containersV2.MobilePush.Create.change": "change",
1589
- "creatives.containersV2.MobilePush.Create.copyFromAndroid": "Copy Title and Content From Android",
1590
- "creatives.containersV2.MobilePush.Create.copyFromIos": "Copy Title and Content From IOS",
1591
- "creatives.containersV2.MobilePush.Create.coverImage": "Cover image",
1592
- "creatives.containersV2.MobilePush.Create.coverImageDescription": "Maximum file size acceptable is 5 MB",
1539
+ "creatives.containersV2.MobilePush.Create.copyFromAndroid": "Copy title and content from android",
1540
+ "creatives.containersV2.MobilePush.Create.copyFromIos": "Copy title and content from IOS",
1593
1541
  "creatives.containersV2.MobilePush.Create.ctaLabelCantEmpty": "CTA label cannot be empty.",
1594
1542
  "creatives.containersV2.MobilePush.Create.deleteSecondCTAFirst": "Please delete second secondary cta first",
1595
1543
  "creatives.containersV2.MobilePush.Create.discardChanges": "Discard changes",
@@ -1632,7 +1580,6 @@ exports[`<Cap /> should render correct component 1`] = `
1632
1580
  "creatives.containersV2.MobilePush.Create.templateCreatedSuccessfully": "Mobile push template created successfully",
1633
1581
  "creatives.containersV2.MobilePush.Create.templateNameNotEmpty": "Please provide a template name",
1634
1582
  "creatives.containersV2.MobilePush.Create.templateNotConfigured": "template not configured,",
1635
- "creatives.containersV2.MobilePush.Create.thisSectionDisabledHoverText": "This section is being revamped. Till then it will remain disabled.",
1636
1583
  "creatives.containersV2.MobilePush.Create.title": "Title",
1637
1584
  "creatives.containersV2.MobilePush.Create.titleHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1638
1585
  "creatives.containersV2.MobilePush.Create.titleLabel": "Title*",
@@ -1650,29 +1597,19 @@ exports[`<Cap /> should render correct component 1`] = `
1650
1597
  "creatives.containersV2.MobilePush.Edit.Image": "Image",
1651
1598
  "creatives.containersV2.MobilePush.Edit.ImageUploadLabel": "Upload image",
1652
1599
  "creatives.containersV2.MobilePush.Edit.Tags": "Tags",
1653
- "creatives.containersV2.MobilePush.Edit.aPageWithMobileApp": "A page within mobile app",
1654
1600
  "creatives.containersV2.MobilePush.Edit.accountId": "Account id",
1655
- "creatives.containersV2.MobilePush.Edit.addActionButtonsToNotification": "Add action buttons to notification",
1656
- "creatives.containersV2.MobilePush.Edit.addActionLinkToContent": "Add action link to content",
1657
- "creatives.containersV2.MobilePush.Edit.addActionLinkToContentDescription": "Add a hyperlink of the page which customer will be directed to",
1658
1601
  "creatives.containersV2.MobilePush.Edit.addAnotherCTA": "Add another CTA",
1659
- "creatives.containersV2.MobilePush.Edit.addPrimaryButtonToNotification": "Add primary button to notification",
1660
1602
  "creatives.containersV2.MobilePush.Edit.addPrimaryCTA": "Add primary CTA",
1661
- "creatives.containersV2.MobilePush.Edit.addSecondaryButtonToNotification": "Add secondary button to notification",
1662
1603
  "creatives.containersV2.MobilePush.Edit.addSecondaryCTA": "Add secondary CTA",
1663
1604
  "creatives.containersV2.MobilePush.Edit.alertMessage": "Alert",
1664
- "creatives.containersV2.MobilePush.Edit.anExternalWebPage": "An external web page",
1665
1605
  "creatives.containersV2.MobilePush.Edit.androidTemplateNotConfigured": "Android template is not configured. Continue save?",
1666
1606
  "creatives.containersV2.MobilePush.Edit.button1": "Button 1",
1667
1607
  "creatives.containersV2.MobilePush.Edit.button2": "Button 2",
1668
- "creatives.containersV2.MobilePush.Edit.buttonLabel": "Button label",
1669
1608
  "creatives.containersV2.MobilePush.Edit.cancel": "Cancel",
1670
1609
  "creatives.containersV2.MobilePush.Edit.cantCopyEmptyFieldValues": "Cannot copy empty field values.",
1671
1610
  "creatives.containersV2.MobilePush.Edit.change": "change",
1672
- "creatives.containersV2.MobilePush.Edit.copyFromAndroid": "Copy Title and Content From Android",
1673
- "creatives.containersV2.MobilePush.Edit.copyFromIos": "Copy Title and Content From IOS",
1674
- "creatives.containersV2.MobilePush.Edit.coverImage": "Cover image",
1675
- "creatives.containersV2.MobilePush.Edit.coverImageDescription": "Maximum file size acceptable is 5 MB",
1611
+ "creatives.containersV2.MobilePush.Edit.copyFromAndroid": "Copy title and content from android",
1612
+ "creatives.containersV2.MobilePush.Edit.copyFromIos": "Copy title and content from IOS",
1676
1613
  "creatives.containersV2.MobilePush.Edit.ctaLabelCantEmpty": "CTA label cannot be empty.",
1677
1614
  "creatives.containersV2.MobilePush.Edit.deleteSecondCTAFirst": "Please delete second Secondary cta First",
1678
1615
  "creatives.containersV2.MobilePush.Edit.discardChanges": "Discard changes",
@@ -1715,7 +1652,6 @@ exports[`<Cap /> should render correct component 1`] = `
1715
1652
  "creatives.containersV2.MobilePush.Edit.templateEditedSuccessfully": "MOBILEPUSH template edited successfully",
1716
1653
  "creatives.containersV2.MobilePush.Edit.templateNameNotEmpty": "Please provide a template name",
1717
1654
  "creatives.containersV2.MobilePush.Edit.templateNotConfigured": "Template not configured,",
1718
- "creatives.containersV2.MobilePush.Edit.thisSectionDisabledHoverText": "This section is being revamped. Till then it will remain disabled.",
1719
1655
  "creatives.containersV2.MobilePush.Edit.title": "Title",
1720
1656
  "creatives.containersV2.MobilePush.Edit.titleHasUnsupportedTag": "Please check the message content for unsupported/missing tags",
1721
1657
  "creatives.containersV2.MobilePush.Edit.titleLabel": "Title*",
@@ -1952,157 +1888,11 @@ new message content.",
1952
1888
  "creatives.containersV2.WeChat.templateName": "Template Name",
1953
1889
  "creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
1954
1890
  "creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
1955
- "creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
1956
- "creatives.containersV2.Whatsapp.accountUpdate": "Account update",
1957
- "creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
1958
- "creatives.containersV2.Whatsapp.addVar": "Add variables",
1959
- "creatives.containersV2.Whatsapp.afrikaans": "Afrikaans",
1960
- "creatives.containersV2.Whatsapp.albanian": "Albanian",
1961
1891
  "creatives.containersV2.Whatsapp.alertUpdate": "Alert update",
1962
1892
  "creatives.containersV2.Whatsapp.alertUpdateTooltip": "Send important updates or news to customers.",
1963
- "creatives.containersV2.Whatsapp.appointmentUpdate": "Appointment update",
1964
- "creatives.containersV2.Whatsapp.appointmentUpdateTooltip": "Send confirmations, reminders, or other updates to customers about their appointments.",
1965
1893
  "creatives.containersV2.Whatsapp.approved": "Approved",
1966
- "creatives.containersV2.Whatsapp.approvedStatusMsg": "This template has been approved",
1967
- "creatives.containersV2.Whatsapp.arabic": "Arabic",
1968
- "creatives.containersV2.Whatsapp.authentication": "Authentication",
1969
- "creatives.containersV2.Whatsapp.authenticationTooltip": "Send codes that allow your customers to securely access their accounts.",
1970
- "creatives.containersV2.Whatsapp.awaitingApproval": "Awaiting approval",
1971
- "creatives.containersV2.Whatsapp.awaitingStatusDesc": "The template has been sent for approval at {date}, {time}. It takes up to 48 hrs to get approved.",
1972
- "creatives.containersV2.Whatsapp.awaitingStatusMsg": "This template is awaiting approval",
1973
- "creatives.containersV2.Whatsapp.azerbaijani": "Azerbaijani",
1974
- "creatives.containersV2.Whatsapp.bengali": "Bengali",
1975
- "creatives.containersV2.Whatsapp.btnDesc": "These will be show clickable buttons below your message.",
1976
- "creatives.containersV2.Whatsapp.btnDisabledTooltip": "Please add all mandatory fields to proceed further",
1977
- "creatives.containersV2.Whatsapp.btnLabel": "Buttons",
1978
- "creatives.containersV2.Whatsapp.btnTypeCTA": "Call to action",
1979
- "creatives.containersV2.Whatsapp.btnTypeNone": "None",
1980
- "creatives.containersV2.Whatsapp.btnTypeQuickReply": "Quick reply",
1981
- "creatives.containersV2.Whatsapp.bulgarian": "Bulgarian",
1982
- "creatives.containersV2.Whatsapp.cancelButtonLabel": "Cancel",
1983
- "creatives.containersV2.Whatsapp.catalan": "Catalan",
1984
- "creatives.containersV2.Whatsapp.chineseCHN": "Chinese (CHN)",
1985
- "creatives.containersV2.Whatsapp.chineseHKG": "Chinese (HKG)",
1986
- "creatives.containersV2.Whatsapp.chineseTAI": "Chinese (TAI)",
1987
- "creatives.containersV2.Whatsapp.croatian": "Croatian",
1988
- "creatives.containersV2.Whatsapp.ctaDesc": "Create up to 2 buttons that let customers respond to your messages or take action.",
1989
- "creatives.containersV2.Whatsapp.czech": "Czech",
1990
- "creatives.containersV2.Whatsapp.danish": "Danish",
1991
- "creatives.containersV2.Whatsapp.disabledEditTooltip": "This template is non-editable as this is {status}",
1992
- "creatives.containersV2.Whatsapp.disabledEditTooltipStatus": "awaiting for approval",
1993
- "creatives.containersV2.Whatsapp.disabledFeatureTooltip": "Not yet enabled. Coming soon!",
1994
- "creatives.containersV2.Whatsapp.dutch": "Dutch",
1995
- "creatives.containersV2.Whatsapp.emptyTemplateMessageErrorMessage": "Template message cannot be empty",
1996
- "creatives.containersV2.Whatsapp.english": "English",
1997
- "creatives.containersV2.Whatsapp.englishUK": "English (UK)",
1998
- "creatives.containersV2.Whatsapp.englishUS": "English (US)",
1999
- "creatives.containersV2.Whatsapp.estonian": "Estonian",
2000
- "creatives.containersV2.Whatsapp.filipino": "Filipino",
2001
- "creatives.containersV2.Whatsapp.finnish": "Finnish",
2002
- "creatives.containersV2.Whatsapp.french": "French",
2003
- "creatives.containersV2.Whatsapp.georgian": "Georgian",
2004
- "creatives.containersV2.Whatsapp.german": "German",
2005
- "creatives.containersV2.Whatsapp.greek": "Greek",
2006
- "creatives.containersV2.Whatsapp.gujarati": "Gujarati",
2007
- "creatives.containersV2.Whatsapp.hausa": "Hausa",
2008
- "creatives.containersV2.Whatsapp.hebrew": "Hebrew",
2009
- "creatives.containersV2.Whatsapp.here": "here",
2010
- "creatives.containersV2.Whatsapp.hindi": "Hindi",
2011
- "creatives.containersV2.Whatsapp.hungarian": "Hungarian",
2012
- "creatives.containersV2.Whatsapp.indonesian": "Indonesian",
2013
- "creatives.containersV2.Whatsapp.inputplaceHolderText": "{value} Add labels or text or combination of both",
2014
- "creatives.containersV2.Whatsapp.invalidFormatError": "INVALID FORMAT: Placeholders or other elements were formatted incorrectly.",
2015
- "creatives.containersV2.Whatsapp.irish": "Irish",
2016
- "creatives.containersV2.Whatsapp.italian": "Italian",
2017
- "creatives.containersV2.Whatsapp.japanese": "Japanese",
2018
- "creatives.containersV2.Whatsapp.kannada": "Kannada",
2019
- "creatives.containersV2.Whatsapp.kazakh": "Kazakh",
2020
- "creatives.containersV2.Whatsapp.kinyarwanda": "Kinyarwanda",
2021
- "creatives.containersV2.Whatsapp.korean": "Korean",
2022
- "creatives.containersV2.Whatsapp.kyrgyz": "Kyrgyz (Kyrgyzstan)",
2023
- "creatives.containersV2.Whatsapp.labelSeperator": "|",
2024
- "creatives.containersV2.Whatsapp.languageLabel": "Language",
2025
- "creatives.containersV2.Whatsapp.lao": "Lao",
2026
- "creatives.containersV2.Whatsapp.latvian": "Latvian",
2027
- "creatives.containersV2.Whatsapp.lithuanian": "Lithuanian",
2028
- "creatives.containersV2.Whatsapp.macedonian": "Macedonian",
2029
- "creatives.containersV2.Whatsapp.malay": "Malay",
2030
- "creatives.containersV2.Whatsapp.malayalam": "Malayalam",
2031
- "creatives.containersV2.Whatsapp.marathi": "Marathi",
2032
- "creatives.containersV2.Whatsapp.marketing": "Marketing",
2033
- "creatives.containersV2.Whatsapp.marketingTooltip": "Send promotional offers, product announcements, and more to increase awareness and engagement.",
2034
- "creatives.containersV2.Whatsapp.mediaDocument": "Document",
2035
- "creatives.containersV2.Whatsapp.mediaImage": "Image",
2036
- "creatives.containersV2.Whatsapp.mediaLabel": "Media",
2037
- "creatives.containersV2.Whatsapp.mediaText": "Text",
2038
- "creatives.containersV2.Whatsapp.mediaVideo": "Video",
2039
- "creatives.containersV2.Whatsapp.messageLanguageLabel": "Message language",
2040
- "creatives.containersV2.Whatsapp.modifiedUnsubscribeText": "Click {value} to unsubscribe",
2041
- "creatives.containersV2.Whatsapp.noContentBetweenVars": "Add atleast 1 character between 2 variables",
2042
- "creatives.containersV2.Whatsapp.norwegian": "Norwegian",
2043
- "creatives.containersV2.Whatsapp.optional": "(Optional)",
2044
- "creatives.containersV2.Whatsapp.otp": "Otp",
2045
- "creatives.containersV2.Whatsapp.page": "page",
2046
- "creatives.containersV2.Whatsapp.pages": "pages",
2047
- "creatives.containersV2.Whatsapp.paymentUpdate": "Payment update",
2048
- "creatives.containersV2.Whatsapp.paymentUpdateTooltip": "Send a message to customers about their payment.",
2049
- "creatives.containersV2.Whatsapp.pdf": "PDF",
2050
- "creatives.containersV2.Whatsapp.persian": "Persian",
2051
- "creatives.containersV2.Whatsapp.polish": "Polish",
2052
- "creatives.containersV2.Whatsapp.portugueseBR": "Portuguese (BR)",
2053
- "creatives.containersV2.Whatsapp.portuguesePOR": "Portuguese (POR)",
2054
- "creatives.containersV2.Whatsapp.punjabi": "Punjabi",
2055
- "creatives.containersV2.Whatsapp.quickReplyDesc": "Create up to 3 buttons that let customers respond to your messages or take action.",
2056
- "creatives.containersV2.Whatsapp.rejected": "Rejected",
2057
- "creatives.containersV2.Whatsapp.rejectedStatusMsg": "This template has been rejected",
2058
- "creatives.containersV2.Whatsapp.removeMultinewlineChars": "More than two consecutive line breaks are not allowed.",
2059
- "creatives.containersV2.Whatsapp.repetativeVars": "Variables cannot be repeated",
2060
- "creatives.containersV2.Whatsapp.reservationUpdate": "Reservation update",
2061
- "creatives.containersV2.Whatsapp.reservationUpdateTooltip": "Send confirmations, reminders, or other updates to customers about their reservations.",
2062
- "creatives.containersV2.Whatsapp.romanian": "Romanian",
2063
- "creatives.containersV2.Whatsapp.russian": "Russian",
2064
- "creatives.containersV2.Whatsapp.select": "Select",
2065
- "creatives.containersV2.Whatsapp.sendForApprovalButtonLabel": "Send for approval",
2066
- "creatives.containersV2.Whatsapp.sequenceVars": "Variable name should start from {one} and it should be in sequential order",
2067
- "creatives.containersV2.Whatsapp.serbian": "Serbian",
2068
- "creatives.containersV2.Whatsapp.slovak": "Slovak",
2069
- "creatives.containersV2.Whatsapp.slovenian": "Slovenian",
2070
- "creatives.containersV2.Whatsapp.spanish": "Spanish",
2071
- "creatives.containersV2.Whatsapp.spanishARG": "Spanish (ARG)",
2072
- "creatives.containersV2.Whatsapp.spanishMEX": "Spanish (MEX)",
2073
- "creatives.containersV2.Whatsapp.spanishSPA": "Spanish (SPA)",
2074
- "creatives.containersV2.Whatsapp.swahili": "Swahili",
2075
- "creatives.containersV2.Whatsapp.swedish": "Swedish",
2076
- "creatives.containersV2.Whatsapp.tagContentMismatchError": "TAG CONTENT MISMATCH: The language and/or template category selected don’t match the template content.",
2077
- "creatives.containersV2.Whatsapp.tamil": "Tamil",
2078
- "creatives.containersV2.Whatsapp.telugu": "Telugu",
2079
- "creatives.containersV2.Whatsapp.templateCategoryLabel": "Template category",
2080
- "creatives.containersV2.Whatsapp.templateLanguageEnglish": "English",
2081
- "creatives.containersV2.Whatsapp.templateMessageLabel": "Message",
2082
- "creatives.containersV2.Whatsapp.templateMessageLength": "Characters count: {currentLength}/{maxLength}",
2083
- "creatives.containersV2.Whatsapp.templateMessageLengthError": "Template message length cannot exceed 1024",
2084
- "creatives.containersV2.Whatsapp.templateMessagePlaceholder": "Enter message with variable",
2085
- "creatives.containersV2.Whatsapp.templateMessageTooltip": "You can write variables by adding two curly brackets before the variable name and two curly brackets after the variable name.{br}{br}Tip :{br}It looks something like this: Hi {var},{br}so 1 is the variable name here.",
2086
- "creatives.containersV2.Whatsapp.templateMessageUnsubscribeText": "Click {unsubscribe} to unsubscribe",
2087
- "creatives.containersV2.Whatsapp.templateNameDesc": "Must be a unique name and can only contain lowercase alphanumeric characters and underscores.",
2088
- "creatives.containersV2.Whatsapp.templateNameRegexErrorMessage": "Template name can only contain lowercase alphanumeric characters and underscores",
2089
- "creatives.containersV2.Whatsapp.templateNameTooltip": "Tip : Use a name that helps WhatsApp's reviewer understand the purpose of your message, for example \\"order_delivery\\" rather than \\"template_1\\"",
2090
- "creatives.containersV2.Whatsapp.thai": "Thai",
2091
1894
  "creatives.containersV2.Whatsapp.transactional": "Transactional",
2092
- "creatives.containersV2.Whatsapp.turkish": "Turkish",
2093
- "creatives.containersV2.Whatsapp.ukrainian": "Ukrainian",
2094
- "creatives.containersV2.Whatsapp.unknownVars": "Variable name should be numeric value from {one} to {nineteen}",
2095
- "creatives.containersV2.Whatsapp.unsubscribeTextTooltipCreateFlow": "To enable the checkbox, reduce the message character count to 988",
2096
- "creatives.containersV2.Whatsapp.unsubscribeTextTooltipEditFlow": "This is non-editable",
2097
- "creatives.containersV2.Whatsapp.urdu": "Urdu",
2098
- "creatives.containersV2.Whatsapp.useTwoBracketsOnly": "Use two brackets on each side to declare a variable",
2099
- "creatives.containersV2.Whatsapp.utility": "Utility",
2100
- "creatives.containersV2.Whatsapp.utilityTooltip": "Send account updates, order updates, alerts, and more to share important information.",
2101
- "creatives.containersV2.Whatsapp.uzbek": "Uzbek",
2102
- "creatives.containersV2.Whatsapp.videoErrorMessage": "Please upload the video with allowed file extension, size, dimension and aspect ratio",
2103
- "creatives.containersV2.Whatsapp.vietnamese": "Vietnamese",
2104
- "creatives.containersV2.Whatsapp.whatsappCreateNotification": "{name} has been sent for approval",
2105
- "creatives.containersV2.Whatsapp.zulu": "Zulu",
1895
+ "creatives.containersV2.Whatsapp.transactionalTooltip": "Send account updates, order updates, alerts, and more to share important information.",
2106
1896
  "creatives.containersV2.addLabels": "Add labels",
2107
1897
  "creatives.containersV2.appName": "App Name",
2108
1898
  "creatives.containersV2.applyNow": "Apply now",
@@ -23,5 +23,3 @@ export const SHOW_CONTANER_LOADER = "app/CreativesContainer/SHOW_CONTANER_LOADER
23
23
  export const HIDE_CONTAINER_LOADER = "app/CreativesContainer/HIDE_CONTAINER_LOADER";
24
24
 
25
25
  export const WHATSAPP_HELP_DOC_LINK = "https://docs.capillarytech.com/docs/create-whatsapp-template";
26
-
27
- export const ENABLE_AI_SUGGESTIONS = "ENABLE_AI_SUGGESTIONS";
@@ -5,9 +5,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
5
5
  className="add-creatives-section creatives-library-mode "
6
6
  >
7
7
  <CapSlideBox
8
- closeIconPosition="right"
9
8
  closeIconSize="m"
10
- closeIconType="close"
11
9
  content={
12
10
  <SlideBoxContent
13
11
  currentChannel="RCS"
@@ -78,9 +76,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
78
76
  className="add-creatives-section creatives-library-mode "
79
77
  >
80
78
  <CapSlideBox
81
- closeIconPosition="right"
82
79
  closeIconSize="m"
83
- closeIconType="close"
84
80
  content={
85
81
  <SlideBoxContent
86
82
  currentChannel="WHATSAPP"
@@ -151,9 +147,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
151
147
  className="add-creatives-section creatives-library-mode "
152
148
  >
153
149
  <CapSlideBox
154
- closeIconPosition="right"
155
150
  closeIconSize="m"
156
- closeIconType="close"
157
151
  content={
158
152
  <SlideBoxContent
159
153
  currentChannel="WHATSAPP"
@@ -226,9 +220,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
226
220
  className="add-creatives-section creatives-library-mode "
227
221
  >
228
222
  <CapSlideBox
229
- closeIconPosition="right"
230
223
  closeIconSize="m"
231
- closeIconType="close"
232
224
  content={
233
225
  <SlideBoxContent
234
226
  currentChannel="WHATSAPP"
@@ -12,7 +12,6 @@ import React from 'react';
12
12
  import { ConfigProvider } from 'antd';
13
13
  import enUS from 'antd/es/locale-provider/en_US';
14
14
  import zhCN from 'antd/es/locale-provider/zh_CN';
15
- import jaJP from 'antd/es/locale-provider/ja_JP';
16
15
  import { connect } from 'react-redux';
17
16
  import { createStructuredSelector } from 'reselect';
18
17
  import { IntlProvider } from 'react-intl';
@@ -38,7 +37,6 @@ export class LanguageProvider extends React.PureComponent { // eslint-disable-li
38
37
  'zh-cn': 'zh',
39
38
  'zh': 'zh',
40
39
  'en-US': 'en-US',
41
- 'ja-JP': 'ja-JP',
42
40
  };
43
41
  return map[locale];
44
42
  };
@@ -59,7 +57,6 @@ export class LanguageProvider extends React.PureComponent { // eslint-disable-li
59
57
  'zh-cn': zhCN,
60
58
  'en-US': enUS,
61
59
  'zh': zhCN,
62
- 'ja-JP': jaJP,
63
60
  };
64
61
  const jLocale = localStorage.getItem('jlocale') || 'en';
65
62
  const file = mappedLocale[jLocale];
@@ -19,7 +19,6 @@ const messages = defineMessages({
19
19
 
20
20
  jest.mock('antd/es/locale-provider/en_US', () => 'enUS');
21
21
  jest.mock('antd/es/locale-provider/zh_CN', () => 'zhCN');
22
- jest.mock('antd/es/locale-provider/ja_JP', () => 'jaJP');
23
22
 
24
23
  describe('<LanguageProvider />', () => {
25
24
  it('should render its children', () => {