Skip to content

Commit 4dcc732

Browse files
authored
Wording adjustments
1 parent f783fc4 commit 4dcc732

6 files changed

Lines changed: 22 additions & 25 deletions

File tree

packages/create-react-admin/src/StepAuthProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const StepAuthProvider = ({
2525
return (
2626
<Stack>
2727
<Text>
28-
Select the auth provider you want to use and validate with
28+
Select the auth provider you want to use, and validate with
2929
Enter:
3030
</Text>
3131
<SelectInput

packages/create-react-admin/src/StepDataProvider.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ const SupportedDataProviders: ChoiceType[] = [
99
label: 'Fakerest',
1010
value: 'ra-data-fakerest',
1111
description:
12-
'A client-side in memory data provider that use a JSON object as its initial data.',
12+
'A client-side, in-memory data provider that use a JSON object as its initial data.',
1313
},
1414
{
1515
label: 'JSON Server',
1616
value: 'ra-data-json-server',
1717
description:
18-
'A dataProvider based on JSON Server dialect (https://github.com/typicode/json-server)',
18+
'A data provider based on a JSON Server API (https://github.com/typicode/json-server)',
1919
},
2020
{
2121
label: 'Simple REST',
2222
value: 'ra-data-simple-rest',
2323
description:
24-
'A Simple REST Data Provider (https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest)',
24+
'A Simple REST data drovider (https://github.com/marmelab/react-admin/tree/master/packages/ra-data-simple-rest)',
2525
},
2626
{
2727
label: 'None',
2828
value: 'none',
2929
description:
30-
'Choose this if the dataProvider you want to use is not supported by this tool yet.',
30+
"I'll configure the data provider myself.",
3131
},
3232
];
3333

@@ -43,7 +43,7 @@ export const StepDataProvider = ({
4343
return (
4444
<Stack>
4545
<Text>
46-
Select the data provider you want to use and validate with
46+
Select the data provider you want to use, and validate with
4747
Enter:
4848
</Text>
4949
<SelectInput<string>

packages/create-react-admin/src/StepInstall.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ import { Stack } from './Stack.js';
66

77
const choices: ChoiceType[] = [
88
{
9-
label: 'Install dependencies with npm',
9+
label: 'Using npm',
1010
value: 'npm',
1111
},
1212
{
13-
label: 'Install dependencies with yarn',
13+
label: 'Using yarn',
1414
value: 'yarn',
1515
},
1616
{
17-
label: "Don't install dependencies",
17+
label: "Don't install dependencies, I'll do it myself.",
1818
value: '',
1919
},
2020
];
@@ -29,7 +29,7 @@ export const StepInstall = ({
2929
};
3030
return (
3131
<Stack>
32-
<Text>Should we install the dependencies for you?</Text>
32+
<Text>How do you want to install the dependencies?</Text>
3333
<SelectInput<string>
3434
items={choices}
3535
itemComponent={SelectInputChoice}

packages/create-react-admin/src/StepName.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const StepName = ({
2121
return (
2222
<Stack>
2323
<Text>
24-
Enter the name of your application and validate with Enter:
24+
Enter the name of your application, and validate with Enter:
2525
</Text>
2626
<TextInput
2727
value={value}

packages/create-react-admin/src/StepResources.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const StepResources = ({
2828
: 'No resource yet'}
2929
</Text>
3030
<Text>
31-
Enter the name of a resource you want to add and validate with
31+
Enter the name of a resource you want to add, and validate with
3232
Enter (leave empty to finish):
3333
</Text>
3434
<TextInput

packages/create-react-admin/src/app.tsx

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useReducer, useRef } from 'react';
2-
import { Box, Text } from 'ink';
2+
import { Box, Text, Newline } from 'ink';
33
import {
44
InitialProjectConfiguration,
55
ProjectConfiguration,
@@ -135,18 +135,15 @@ export default function App({ name = 'my-admin' }: Props) {
135135
</Text>
136136
) : (
137137
<Box>
138-
<Box>
139-
<Text>
140-
Install the dependencies using your favorite package
141-
manager.
142-
</Text>
143-
</Box>
144-
<Box>
145-
<Text>
146-
Run the <Text bold>dev</Text> command to start the
147-
app.
148-
</Text>
149-
</Box>
138+
<Text>
139+
Install the dependencies using your favorite package
140+
manager.
141+
</Text>
142+
<Newline />
143+
<Text>
144+
Run the <Text bold>dev</Text> command to start the
145+
app.
146+
</Text>
150147
</Box>
151148
)}
152149
<Box marginBottom={1}>

0 commit comments

Comments
 (0)