diff --git a/superset-frontend/packages/superset-ui-core/src/chart/components/FallbackComponent.tsx b/superset-frontend/packages/superset-ui-core/src/chart/components/FallbackComponent.tsx index f7a360de25abc..5c22f920824e8 100644 --- a/superset-frontend/packages/superset-ui-core/src/chart/components/FallbackComponent.tsx +++ b/superset-frontend/packages/superset-ui-core/src/chart/components/FallbackComponent.tsx @@ -41,7 +41,7 @@ export default function FallbackComponent({ >
- Oops! An error occured! + Oops! An error occurred!
{error ? error.toString() : 'Unknown Error'}
diff --git a/superset-frontend/packages/superset-ui-core/test/chart/components/SuperChart.test.tsx b/superset-frontend/packages/superset-ui-core/test/chart/components/SuperChart.test.tsx index 2b24df3aeedf0..2233250f68ef4 100644 --- a/superset-frontend/packages/superset-ui-core/test/chart/components/SuperChart.test.tsx +++ b/superset-frontend/packages/superset-ui-core/test/chart/components/SuperChart.test.tsx @@ -121,7 +121,7 @@ describe('SuperChart', () => { ); await new Promise(resolve => setImmediate(resolve)); wrapper.update(); - expect(wrapper.text()).toContain('Oops! An error occured!'); + expect(wrapper.text()).toContain('Oops! An error occurred!'); }); it('renders custom FallbackComponent', () => { expectedErrors = 1; diff --git a/superset-frontend/src/dashboard/actions/dashboardState.js b/superset-frontend/src/dashboard/actions/dashboardState.js index 053aa2f15fd49..f96b3ebadf28b 100644 --- a/superset-frontend/src/dashboard/actions/dashboardState.js +++ b/superset-frontend/src/dashboard/actions/dashboardState.js @@ -325,7 +325,7 @@ export function saveDashboardRequest(data, id, saveType) { const onError = async response => { const { error, message } = await getClientErrorObject(response); - let errorText = t('Sorry, an unknown error occured'); + let errorText = t('Sorry, an unknown error occurred'); if (error) { errorText = t( diff --git a/superset/translations/nl/LC_MESSAGES/messages.json b/superset/translations/nl/LC_MESSAGES/messages.json index 699eb84297d9d..f69b2dce23bb2 100644 --- a/superset/translations/nl/LC_MESSAGES/messages.json +++ b/superset/translations/nl/LC_MESSAGES/messages.json @@ -3478,7 +3478,7 @@ "This dashboard was saved successfully.": [ "Dit dashboard is succesvol opgeslagen." ], - "Sorry, an unknown error occured": [""], + "Sorry, an unknown error occurred": [""], "Sorry, there was an error saving this dashboard: %s": [""], "You do not have permission to edit this dashboard": [ "U hebt geen toestemming om dit dashboard te bewerken"