Skip to content

Commit 2af062d

Browse files
committed
fix some spelling mistakes
1 parent 4281db7 commit 2af062d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

packages/module/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ If you use an older version of @patternfly/react-core (older than "4.115.2"), an
3232

3333
Ideally @patternfly/quickstarts will use the consumer provided PatternFly styles, only use these stylesheets if really needed.
3434

35-
`quickstarts-standalone.min.css` nests the css classes within a **.pfext-quick-start__base** parent, so that they have higher specificity. `patternfly-global.css` includes component styles that we cannot nest with more specificiy (for example Drawer since it can include consumer components that depend on an older PF version).
35+
`quickstarts-standalone.min.css` nests the css classes within a **.pfext-quick-start__base** parent, so that they have higher specificity. `patternfly-global.css` includes component styles that we cannot nest with more specificity (for example Drawer since it can include consumer components that depend on an older PF version).
3636

3737
> Note: Only use these stylesheets if necessary!
3838
```js
@@ -69,7 +69,7 @@ import {
6969
import { Button } from "@patternfly/react-core";
7070
import jsYaml from "js-yaml";
7171
// quick start files could be yaml files or js files, or really anything,
72-
// as long as they get parsed out to the expexted JSON format
72+
// as long as they get parsed out to the expected JSON format
7373
import quickstartOne from "./quick-starts/quickstart-one.yaml";
7474
import quickstartTwo from "./quick-starts/quickstart-two.yaml";
7575
import quickstartThree from "./quick-starts/quickstart-three";
@@ -253,7 +253,7 @@ return (
253253
Use this [file](https://github.com/patternfly/patternfly-quickstarts/blob/main/packages/module/src/locales/en/quickstart.json) as a base for your translations.
254254
Each language is different, especially when it comes to plurals. Try [this utility](https://jsfiddle.net/6bpxsgd4) sourced from [i18next](https://www.i18next.com/translation-function/plurals#how-to-find-the-correct-plural-suffix) to determine the suffixes for the right plural format.
255255

256-
For localizing the content of quick starts files, we provide the option to include `language` and `countryCode` key to your translated file. Based on these keys you can filter out quick starts. We have a demo of this behaviour in our [demo app](https://quickstarts.netlify.app/quickstarts-localized). You can have a look at the code [here](https://github.com/patternfly/patternfly-quickstarts/blob/main/packages/dev/src/AppLocalized.tsx).
256+
For localizing the content of quick starts files, we provide the option to include `language` and `countryCode` key to your translated file. Based on these keys you can filter out quick starts. We have a demo of this behavior in our [demo app](https://quickstarts.netlify.app/quickstarts-localized). You can have a look at the code [here](https://github.com/patternfly/patternfly-quickstarts/blob/main/packages/dev/src/AppLocalized.tsx).
257257

258258
## In-App / In Context Help Panel
259259

@@ -406,7 +406,7 @@ const FormGroupWithHelpTopicPopover: React.FC<FormGroupWithHelpTopicPopoverProps
406406
<Popover
407407
bodyContent={(hide) => (
408408
<div>
409-
{topic.title} is quite amaizing{' '}
409+
{topic.title} is quite amazing{' '}
410410
<Button
411411
variant="link"
412412
onClick={() => {

packages/module/src/controller/QuickStartTaskHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type QuickStartTaskHeaderProps = {
1818
size?: 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
1919
isActiveTask?: boolean;
2020
onTaskSelect: (index: number) => void;
21-
chidlren?: React.ReactNode;
21+
children?: React.ReactNode;
2222
};
2323

2424
const TaskIcon: React.FC<{

packages/transform-adoc/src/react-converter/util.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export const renderPFList = (
230230
</Title>
231231
{isPrereqList && (
232232
<p className="task-pflist-subtitle">
233-
In addtion to the prerequisites for this Quick Start, this step requires:
233+
In addition to the prerequisites for this Quick Start, this step requires:
234234
</p>
235235
)}
236236
{blocksBeforeComponent}

0 commit comments

Comments
 (0)