diff --git a/src/components/Blocks/SearchSectionsWidget.jsx b/src/components/Blocks/SearchSectionsWidget.jsx index 39425f43..32e778cb 100644 --- a/src/components/Blocks/SearchSectionsWidget.jsx +++ b/src/components/Blocks/SearchSectionsWidget.jsx @@ -4,18 +4,14 @@ import { defineMessages } from 'react-intl'; import ObjectListWidget from '@plone/volto/components/manage/Widgets/ObjectListWidget'; const messages = defineMessages({ - searchsection: { + searchSection: { id: 'Search section', defaultMessage: 'Search section', }, - searchsectionlabel: { + searchSectionLabel: { id: 'Search section label', defaultMessage: 'Search section label', }, - searchSection: { - id: 'Search section', - defaultMessage: 'Search section', - }, addSearchSection: { id: 'Add search section', defaultMessage: 'Add search section', @@ -32,10 +28,10 @@ const ItemSchema = ({ intl }) => { addMessage: intl.formatMessage(messages.addSearchSection), properties: { section: { - title: intl.formatMessage(messages.searchsection), + title: intl.formatMessage(messages.searchSection), }, label: { - title: intl.formatMessage(messages.searchsectionlabel), + title: intl.formatMessage(messages.searchSectionLabel), }, show_filter: { title: intl.formatMessage(messages.showFilter), diff --git a/src/messages.js b/src/messages.js index 10a6297f..d659e0bd 100644 --- a/src/messages.js +++ b/src/messages.js @@ -62,6 +62,6 @@ const messages = defineMessages({ id: 'Content', defaultMessage: 'Content', }, -}) +}); export default messages;