Skip to content

Commit

Permalink
Fix message ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Feb 16, 2023
1 parent 2dca452 commit bba3106
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions src/components/Blocks/SearchSectionsWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion src/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ const messages = defineMessages({
id: 'Content',
defaultMessage: 'Content',
},
})
});

export default messages;

0 comments on commit bba3106

Please sign in to comment.