Skip to content

Commit

Permalink
style(typo): occured -> occurred (#20116)
Browse files Browse the repository at this point in the history
* Occured -> Occurred

* Occured -> Occurred

* Occured -> Occurred

* Occured - > Occurred

* Update FallbackComponent.tsx

* Update FallbackComponent.tsx

Co-authored-by: John Bodley <[email protected]>
  • Loading branch information
sfirke and john-bodley authored Jun 20, 2022
1 parent 111affd commit b7eb235
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function FallbackComponent({
>
<div>
<div>
<b>Oops! An error occured!</b>
<b>Oops! An error occurred!</b>
</div>
<code>{error ? error.toString() : 'Unknown Error'}</code>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/dashboard/actions/dashboardState.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion superset/translations/nl/LC_MESSAGES/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b7eb235

Please sign in to comment.