fix(translations): removed old plural syntax

This commit is contained in:
vincentbpro 2022-01-28 16:33:39 +01:00
parent f59a779ab5
commit 1e1d897c81
3 changed files with 10 additions and 13 deletions

View File

@ -123,7 +123,7 @@ const useContentTypeBuilderMenu = () => {
{
name: 'models',
title: {
id: `${getTrad('menu.section.models.name.plural')}`,
id: `${getTrad('menu.section.models.name')}`,
defaultMessage: 'Collection Types',
},
customLink: isInDevelopmentMode && {
@ -136,7 +136,7 @@ const useContentTypeBuilderMenu = () => {
{
name: 'singleTypes',
title: {
id: `${getTrad('menu.section.single-types.name.plural')}`,
id: `${getTrad('menu.section.single-types.name')}`,
defaultMessage: 'Single Types',
},
customLink: isInDevelopmentMode && {
@ -149,7 +149,7 @@ const useContentTypeBuilderMenu = () => {
{
name: 'components',
title: {
id: `${getTrad('menu.section.components.name.plural')}`,
id: `${getTrad('menu.section.components.name')}`,
defaultMessage: 'Components',
},
customLink: isInDevelopmentMode && {

View File

@ -134,7 +134,7 @@ const forms = {
radios: [
{
title: {
id: getTrad('menu.section.models.name.singular'),
id: getTrad('form.button.collection-type.name'),
defaultMessage: 'Collection Type',
},
description: {
@ -146,7 +146,7 @@ const forms = {
},
{
title: {
id: getTrad('menu.section.single-types.name.singular'),
id: getTrad('form.button.single-type.name'),
defaultMessage: 'Single Type',
},
description: {

View File

@ -133,14 +133,13 @@
"form.button.select-component": "Select a component",
"form.button.single-type.description": "Best for single instance like about us, homepage, etc.",
"form.contentType.divider.draft-publish": "Draft/Publish",
"form.button.collection-type.name": "Collection Type",
"form.button.single-type.name": "Single Type",
"from": "from",
"listView.headerLayout.description": "Build the data architecture of your content",
"menu.section.components.name.plural": "Components",
"menu.section.components.name.singular": "Component",
"menu.section.models.name.plural": "Collection Types",
"menu.section.models.name.singular": "Collection Type",
"menu.section.single-types.name.plural": "Single Types",
"menu.section.single-types.name.singular": "Single Type",
"menu.section.components.name": "Components",
"menu.section.models.name": "Collection Types",
"menu.section.single-types.name": "Single Types",
"modalForm.attribute.form.base.name": "Name",
"modalForm.attribute.form.base.name.description": "No space is allowed for the name of the attribute",
"modalForm.attribute.form.base.name.placeholder": "e.g. Slug, SEO URL, Canonical URL",
@ -190,8 +189,6 @@
"relation.oneToMany": "belongs to many",
"relation.oneToOne": "has and belongs to one",
"relation.oneWay": "has one",
"table.attributes.title.plural": "{number} fields",
"table.attributes.title.singular": "{number} field",
"table.button.no-fields": "Add new field",
"table.content.create-first-content-type": "Create your first Collection-Type",
"table.content.no-fields.collection-type": "Add your first field to this Collection-Type",