Skip to content

Commit

Permalink
fix: fix UX writing
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeyoojin committed Jun 28, 2024
1 parent 6fa8dce commit e1bf975
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/components/organisms/ButtonBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const ButtonBar: FC<IButtonBarProps> = ({ onForceQuitClick }) => {
Force Quit
</Button>
<Button type="tertiary" onClick={handleOpenStoragePathClick}>
Open storage path
Open Storage Path
</Button>
</>
)}
Expand Down
14 changes: 7 additions & 7 deletions src/renderer/src/components/templates/LowerTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ const LowerTemplate: FC = () => {
</div>
<Modal
modalRef={forceQuitModal.modalRef}
title={`Would you sure to force quit the ${mode === 'analyze' ? 'analysis' : 'comparison'}?`}
title={`Are you sure you want to force quit the ${mode === 'analyze' ? 'analysis' : 'comparison'}?`}
icon={<ExclamationIcon />}
content={`The details such as the ${mode === 'analyze' ? 'analysis' : 'comparison'} list that you've added will be maintained.`}
content={`The details, including the ${mode === 'analyze' ? 'analysis' : 'comparison'} list you have added, will be maintained.`}
buttons={[
<Button key="force-quit" type="secondary" onClick={handleForceQuit}>
Force Quit
</Button>,
<Button key="keep-analyze" type="tertiary" onClick={forceQuitModal.closeModal}>
Keep analyze
Keep Analyze
</Button>
]}
/>
Expand All @@ -79,10 +79,10 @@ const LowerTemplate: FC = () => {
content={`If you want to view the ${mode === 'analyze' ? 'analysis' : 'comparison'} results, please open the storage path to check.`}
buttons={[
<Button key="close" type="tertiary" onClick={successfulModal.closeModal}>
Go back to start
Go Back to Start
</Button>,
<Button key="open-storage" type="primary" onClick={handleOpenStoragePathClick}>
Open storage path
Open Storage Path
</Button>
]}
/>
Expand All @@ -93,10 +93,10 @@ const LowerTemplate: FC = () => {
content="Please try again or contact the support center for assistance."
buttons={[
<Button key="support-center" type="tertiary">
Contact support center
Contact Support Center
</Button>,
<Button key="close" type="primary" onClick={failedModal.closeModal}>
Go back to try again
Try Again
</Button>
]}
/>
Expand Down

0 comments on commit e1bf975

Please sign in to comment.