mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 15:32:42 +00:00
fix(guided-tour): removed "-" from Collection/Single type wording
This commit is contained in:
parent
362ff3a579
commit
f1765dc29e
@ -39,7 +39,7 @@ describe('<GuidedTourModal />', () => {
|
||||
it('should match the snapshot with contentTypeBuilder.create layout', async () => {
|
||||
render(App);
|
||||
|
||||
expect(screen.getByText('🧠 Create a first Collection-type')).toBeInTheDocument();
|
||||
expect(screen.getByText('🧠 Create a first Collection type')).toBeInTheDocument();
|
||||
|
||||
expect(document.body).toMatchInlineSnapshot(`
|
||||
.c9 {
|
||||
@ -670,7 +670,7 @@ describe('<GuidedTourModal />', () => {
|
||||
class="c18"
|
||||
id="title"
|
||||
>
|
||||
🧠 Create a first Collection-type
|
||||
🧠 Create a first Collection type
|
||||
</h3>
|
||||
</div>
|
||||
<div
|
||||
@ -688,13 +688,13 @@ describe('<GuidedTourModal />', () => {
|
||||
<span
|
||||
class="c22"
|
||||
>
|
||||
Collection-types help you manage several entries, Single-types are suitable to manage only one entry.
|
||||
Collection types help you manage several entries, Single types are suitable to manage only one entry.
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="c22"
|
||||
>
|
||||
Ex: For a website, articles would be a Collection type and homepage would be a Single type.
|
||||
Ex: For a Blog website, Articles would be a Collection type and Homepage would be a Single type.
|
||||
</span>
|
||||
</div>
|
||||
<button
|
||||
@ -705,7 +705,7 @@ describe('<GuidedTourModal />', () => {
|
||||
<span
|
||||
class="c25 c26"
|
||||
>
|
||||
Build a Collection-type
|
||||
Build a Collection type
|
||||
</span>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
|
||||
@ -8,7 +8,7 @@ const layout = {
|
||||
cta: {
|
||||
title: {
|
||||
id: 'app.components.GuidedTour.home.CTB.cta.title',
|
||||
defaultMessage: 'Go to the Content-type Builder',
|
||||
defaultMessage: 'Go to the Content type Builder',
|
||||
},
|
||||
type: 'REDIRECT',
|
||||
target: '/plugins/content-type-builder',
|
||||
@ -17,17 +17,17 @@ const layout = {
|
||||
create: {
|
||||
title: {
|
||||
id: 'app.components.GuidedTour.CTB.create.title',
|
||||
defaultMessage: '🧠 Create a first Collection-type',
|
||||
defaultMessage: '🧠 Create a first Collection type',
|
||||
},
|
||||
content: {
|
||||
id: 'app.components.GuidedTour.CTB.create.content',
|
||||
defaultMessage:
|
||||
'<p>Collection-types help you manage several entries, Single-types are suitable to manage only one entry.</p> <p>Ex: For a website, articles would be a Collection type and homepage would be a Single type.</p>',
|
||||
'<p>Collection types help you manage several entries, Single types are suitable to manage only one entry.</p> <p>Ex: For a Blog website, Articles would be a Collection type and Homepage would be a Single type.</p>',
|
||||
},
|
||||
cta: {
|
||||
title: {
|
||||
id: 'app.components.GuidedTour.CTB.create.cta.title',
|
||||
defaultMessage: 'Build a Collection-type',
|
||||
defaultMessage: 'Build a Collection type',
|
||||
},
|
||||
type: 'CLOSE',
|
||||
},
|
||||
|
||||
@ -236,10 +236,10 @@
|
||||
"app.components.GuidedTour.title": "3 steps to get started",
|
||||
"app.components.GuidedTour.create-content": "Create content",
|
||||
"app.components.GuidedTour.home.CTB.title": "🧠 Build the content structure",
|
||||
"app.components.GuidedTour.home.CTB.cta.title": "Go to the Content-type Builder",
|
||||
"app.components.GuidedTour.CTB.create.title": "🧠 Create a first Collection-type",
|
||||
"app.components.GuidedTour.CTB.create.content": "<p>Collection-types help you manage several entries, Single-types are suitable to manage only one entry.</p> <p>Ex: For a website, articles would be a Collection type and homepage would be a Single type.</p>",
|
||||
"app.components.GuidedTour.CTB.create.cta.title": "Build a Collection-type",
|
||||
"app.components.GuidedTour.home.CTB.cta.title": "Go to the Content type Builder",
|
||||
"app.components.GuidedTour.CTB.create.title": "🧠 Create a first Collection type",
|
||||
"app.components.GuidedTour.CTB.create.content": "<p>Collection types help you manage several entries, Single types are suitable to manage only one entry.</p> <p>Ex: For a Blog website, Articles would be a Collection type and Homepage would be a Single type.</p>",
|
||||
"app.components.GuidedTour.CTB.create.cta.title": "Build a Collection type",
|
||||
"app.components.GuidedTour.CTB.success.title": "Step 1: Completed ✅",
|
||||
"app.components.GuidedTour.CTB.success.content": "<p>Good going!</p><b>⚡️ What would you like to share with the world?</b>",
|
||||
"app.components.GuidedTour.CTB.success.cta.title": "Create content",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user