Skip to content

Commit

Permalink
chore: removed unused translations
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Mar 18, 2024
1 parent 32c4ef5 commit 164bd34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "volto-form-block",
"version": "3.5.2",
"version": "3.6.0",
"description": "Volto block to build a form",
"main": "src/index.js",
"repository": "https://github.com/collective/volto-form-block",
Expand Down
14 changes: 0 additions & 14 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import loadable from '@loadable/component';
import { defineMessages } from 'react-intl';
import formSVG from '@plone/volto/icons/form.svg';
import View from 'volto-form-block/components/View';
import Edit from 'volto-form-block/components/Edit';
Expand Down Expand Up @@ -34,19 +33,6 @@ export {
} from 'volto-form-block/actions';
export { isValidEmail };

const messages = defineMessages({
invalid_default_from: {
id: 'form_edit_invalid_from_email',
defaultMessage:
"The e-mail entered in the 'From' field must be a valid e-mail address.",
},
invalid_default_to: {
id: 'form_edit_invalid_to_email',
defaultMessage:
"The e-mail entered in the 'Receipients' field must be a valid e-mail address.",
},
});

const applyConfig = (config) => {
config.blocks.blocksConfig = {
...config.blocks.blocksConfig,
Expand Down

0 comments on commit 164bd34

Please sign in to comment.