From d06a5df272649808403091ea3beacf40f8cedc5c Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Thu, 11 Jun 2020 18:17:42 +0200 Subject: [PATCH] add translation for add field fix https://github.com/ohmyform/ui/issues/24 --- components/form/admin/fields.tab.tsx | 2 +- locales/en/type.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/form/admin/fields.tab.tsx b/components/form/admin/fields.tab.tsx index ad6666b..0dceb72 100644 --- a/components/form/admin/fields.tab.tsx +++ b/components/form/admin/fields.tab.tsx @@ -74,7 +74,7 @@ export const FieldsTab: React.FC = (props) => { props.onChangeFields(next) }} > - Add Field + {t('type:add')} diff --git a/locales/en/type.json b/locales/en/type.json index cc58f98..ddf113d 100644 --- a/locales/en/type.json +++ b/locales/en/type.json @@ -1,4 +1,5 @@ { + "add": "Add Field", "confirmDelete": "Really remove this field? Check that it is not referenced anywhere!", "date": { "default": "Default Date",