mirror of
https://github.com/strapi/strapi.git
synced 2025-12-17 18:25:40 +00:00
fix(translations): removed old plural syntax
This commit is contained in:
parent
f59a779ab5
commit
1e1d897c81
@ -123,7 +123,7 @@ const useContentTypeBuilderMenu = () => {
|
|||||||
{
|
{
|
||||||
name: 'models',
|
name: 'models',
|
||||||
title: {
|
title: {
|
||||||
id: `${getTrad('menu.section.models.name.plural')}`,
|
id: `${getTrad('menu.section.models.name')}`,
|
||||||
defaultMessage: 'Collection Types',
|
defaultMessage: 'Collection Types',
|
||||||
},
|
},
|
||||||
customLink: isInDevelopmentMode && {
|
customLink: isInDevelopmentMode && {
|
||||||
@ -136,7 +136,7 @@ const useContentTypeBuilderMenu = () => {
|
|||||||
{
|
{
|
||||||
name: 'singleTypes',
|
name: 'singleTypes',
|
||||||
title: {
|
title: {
|
||||||
id: `${getTrad('menu.section.single-types.name.plural')}`,
|
id: `${getTrad('menu.section.single-types.name')}`,
|
||||||
defaultMessage: 'Single Types',
|
defaultMessage: 'Single Types',
|
||||||
},
|
},
|
||||||
customLink: isInDevelopmentMode && {
|
customLink: isInDevelopmentMode && {
|
||||||
@ -149,7 +149,7 @@ const useContentTypeBuilderMenu = () => {
|
|||||||
{
|
{
|
||||||
name: 'components',
|
name: 'components',
|
||||||
title: {
|
title: {
|
||||||
id: `${getTrad('menu.section.components.name.plural')}`,
|
id: `${getTrad('menu.section.components.name')}`,
|
||||||
defaultMessage: 'Components',
|
defaultMessage: 'Components',
|
||||||
},
|
},
|
||||||
customLink: isInDevelopmentMode && {
|
customLink: isInDevelopmentMode && {
|
||||||
|
|||||||
@ -134,7 +134,7 @@ const forms = {
|
|||||||
radios: [
|
radios: [
|
||||||
{
|
{
|
||||||
title: {
|
title: {
|
||||||
id: getTrad('menu.section.models.name.singular'),
|
id: getTrad('form.button.collection-type.name'),
|
||||||
defaultMessage: 'Collection Type',
|
defaultMessage: 'Collection Type',
|
||||||
},
|
},
|
||||||
description: {
|
description: {
|
||||||
@ -146,7 +146,7 @@ const forms = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: {
|
title: {
|
||||||
id: getTrad('menu.section.single-types.name.singular'),
|
id: getTrad('form.button.single-type.name'),
|
||||||
defaultMessage: 'Single Type',
|
defaultMessage: 'Single Type',
|
||||||
},
|
},
|
||||||
description: {
|
description: {
|
||||||
|
|||||||
@ -133,14 +133,13 @@
|
|||||||
"form.button.select-component": "Select a component",
|
"form.button.select-component": "Select a component",
|
||||||
"form.button.single-type.description": "Best for single instance like about us, homepage, etc.",
|
"form.button.single-type.description": "Best for single instance like about us, homepage, etc.",
|
||||||
"form.contentType.divider.draft-publish": "Draft/Publish",
|
"form.contentType.divider.draft-publish": "Draft/Publish",
|
||||||
|
"form.button.collection-type.name": "Collection Type",
|
||||||
|
"form.button.single-type.name": "Single Type",
|
||||||
"from": "from",
|
"from": "from",
|
||||||
"listView.headerLayout.description": "Build the data architecture of your content",
|
"listView.headerLayout.description": "Build the data architecture of your content",
|
||||||
"menu.section.components.name.plural": "Components",
|
"menu.section.components.name": "Components",
|
||||||
"menu.section.components.name.singular": "Component",
|
"menu.section.models.name": "Collection Types",
|
||||||
"menu.section.models.name.plural": "Collection Types",
|
"menu.section.single-types.name": "Single Types",
|
||||||
"menu.section.models.name.singular": "Collection Type",
|
|
||||||
"menu.section.single-types.name.plural": "Single Types",
|
|
||||||
"menu.section.single-types.name.singular": "Single Type",
|
|
||||||
"modalForm.attribute.form.base.name": "Name",
|
"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.description": "No space is allowed for the name of the attribute",
|
||||||
"modalForm.attribute.form.base.name.placeholder": "e.g. Slug, SEO URL, Canonical URL",
|
"modalForm.attribute.form.base.name.placeholder": "e.g. Slug, SEO URL, Canonical URL",
|
||||||
@ -190,8 +189,6 @@
|
|||||||
"relation.oneToMany": "belongs to many",
|
"relation.oneToMany": "belongs to many",
|
||||||
"relation.oneToOne": "has and belongs to one",
|
"relation.oneToOne": "has and belongs to one",
|
||||||
"relation.oneWay": "has 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.button.no-fields": "Add new field",
|
||||||
"table.content.create-first-content-type": "Create your first Collection-Type",
|
"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",
|
"table.content.no-fields.collection-type": "Add your first field to this Collection-Type",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user