Skip to content

Commit

Permalink
Make resource import error dialog less scary
Browse files Browse the repository at this point in the history
Don't show in changelog
  • Loading branch information
4ian committed Nov 12, 2024
1 parent 10e8094 commit 162a703
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions newIDE/app/src/Utils/UseGenericRetryableProcessWithProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,19 @@ export const GenericRetryableProcessWithProgressDialog = ({
actions={[
onAbandon ? (
<FlatButton
label={<Trans>Ignore</Trans>}
disabled={!onAbandon}
onClick={onAbandon}
key="close"
label={<Trans>Retry</Trans>}
primary
onClick={onRetry}
key="retry"
/>
) : null,
onRetry ? (
<DialogPrimaryButton
label={<Trans>Retry</Trans>}
label={<Trans>Ignore and continue</Trans>}
primary
onClick={onRetry}
key="retry"
disabled={!onAbandon}
onClick={onAbandon}
key="close"
/>
) : null,
]}
Expand All @@ -80,7 +81,7 @@ export const GenericRetryableProcessWithProgressDialog = ({
<Trans>
There were errors when importing resources for the project. You
can retry (recommended) or continue despite the errors. In this
case, the project will be missing some resources.
case, the project might be missing some resources.
</Trans>
) : null}
</Text>
Expand Down

0 comments on commit 162a703

Please sign in to comment.