Skip to content

Commit

Permalink
Fix typos (#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
nixocio authored Aug 26, 2024
1 parent 3e71e5a commit 9d7bbbe
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions framework/PageSettings/usePageSettingOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ export function usePageSettingsOptions(): IPageSettingsOption[] {
{
name: 'formColumns',
label: t('Form columns'),
helpText: t('Allows diplaying forms and details in a single or multiple columns.'),
helpText: t('Allows displaying forms and details in a single or multiple columns.'),
options: [
{
label: t('Single'),
value: 'single',
description: 'Display forms and details using a single column.',
description: t('Display forms and details using a single column.'),
},
{
label: t('Multiple'),
value: 'multiple',
description: 'Display forms and details using multiple columns.',
description: t('Display forms and details using multiple columns.'),
},
],
defaultValue: 'multiple',
Expand All @@ -89,7 +89,7 @@ export function usePageSettingsOptions(): IPageSettingsOption[] {
{
label: t('Date and time'),
value: 'date-time',
description: 'Show dates as date and time.',
description: t('Show dates as date and time.'),
},
],
defaultValue: 'date-time',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function useExecutionEnvRowActions({ onDelete, onCopy }: ExecutionEnviron
.catch((error) => {
alertToaster.replaceAlert(alert, {
variant: 'danger',
title: t('Failed to copy execution envirionment'),
title: t('Failed to copy execution environment'),
children: error instanceof Error && error.message,
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ groups:
{limitToIntersectionLimit}
</ClipboardCopy>
</FormGroup>
<FormGroup label={t`Source variabless`} fieldId="intersection-example-source-vars">
<FormGroup label={t`Source variables`} fieldId="intersection-example-source-vars">
<CodeBlock
actions={
<CodeBlockAction>
Expand Down
2 changes: 1 addition & 1 deletion frontend/hub/access/token/Token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function Token() {
if (err instanceof Error) {
setError(err.message);
} else {
setError(t('An unknown error occured.'));
setError(t('An unknown error occurred.'));
}
} finally {
setWorking(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export function CollectionDocumentationTabContent(props: {
</Th>
{content?.content_type !== 'module' && (
<Th>
<Title headingLevel="h3">{t('Coonfiguration')}</Title>
<Title headingLevel="h3">{t('Configuration')}</Title>
</Th>
)}
<Th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function useDeprecateOrUndeprecateCollections(
title:
type === 'deprecate'
? t('Permanently deprecate collections')
: t('Premanently undeprecate collections'),
: t('Permanently undeprecate collections'),

confirmText:
type === 'deprecate'
Expand Down

0 comments on commit 9d7bbbe

Please sign in to comment.