@capillarytech/creatives-library 7.17.27 → 7.17.28

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.27",
4
+ "version": "7.17.28",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -55,10 +55,10 @@ export function SlideBoxHeader(props) {
55
55
 
56
56
  const getChannelLabel = (currentChannel = '') => {
57
57
  const labels = {
58
- sms: 'SMS',
58
+ sms: <FormattedMessage {...messages.smsHeader} />,
59
59
  email: <FormattedMessage {...messages.emailHeader} />,
60
- mobilepush: 'Push notification',
61
- wechat: 'Wechat',
60
+ mobilepush: <FormattedMessage {...messages.pushNotificationHeader} />,
61
+ wechat: <FormattedMessage {...messages.wechat} />,
62
62
  no_communication: 'NO_COMMUNICATION',
63
63
  ftp: 'FTP',
64
64
  whatsapp: <FormattedMessage {...messages.whatsappTemplate} />,
@@ -325,5 +325,13 @@ export default defineMessages({
325
325
  "templateNameEmpty": {
326
326
  id: `${scope}.templateNameEmpty`,
327
327
  defaultMessage: `Template name cannot be empty`
328
+ },
329
+ "pushNotificationHeader": {
330
+ id: `${scope}.pushNotificationHeader`,
331
+ defaultMessage: `Push notification`,
332
+ },
333
+ "wechat": {
334
+ id: `${scope}.wechat`,
335
+ defaultMessage: `Wechat`,
328
336
  }
329
337
  });