@@ -23,7 +23,8 @@ import Popover from '@material-ui/core/Popover';
|
||||
import { makeStyles, Theme, useTheme } from '@material-ui/core/styles';
|
||||
import { useAsync } from '@react-hookz/web';
|
||||
import Cancel from '@material-ui/icons/Cancel';
|
||||
import Retry from '@material-ui/icons/Repeat';
|
||||
import Repeat from '@material-ui/icons/Repeat';
|
||||
import Replay from '@material-ui/icons/Replay';
|
||||
import Toc from '@material-ui/icons/Toc';
|
||||
import ControlPointIcon from '@material-ui/icons/ControlPoint';
|
||||
import MoreVert from '@material-ui/icons/MoreVert';
|
||||
@@ -151,7 +152,7 @@ export const ContextMenu = (props: ContextMenuProps) => {
|
||||
data-testid="start-over-task"
|
||||
>
|
||||
<ListItemIcon>
|
||||
<Retry fontSize="small" />
|
||||
<Repeat fontSize="small" />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary={t('ongoingTask.contextMenu.startOver')} />
|
||||
</MenuItem>
|
||||
@@ -161,9 +162,9 @@ export const ContextMenu = (props: ContextMenuProps) => {
|
||||
data-testid="retry-task"
|
||||
>
|
||||
<ListItemIcon>
|
||||
<Retry fontSize="small" />
|
||||
<Replay fontSize="small" />
|
||||
</ListItemIcon>
|
||||
<ListItemText primary="Retry" />
|
||||
<ListItemText primary={t('ongoingTask.contextMenu.retry')} />
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
onClick={cancel}
|
||||
|
||||
@@ -261,7 +261,7 @@ export const OngoingTask = (props: {
|
||||
onClick={triggerRetry}
|
||||
data-testid="retry-button"
|
||||
>
|
||||
Retry
|
||||
{t('ongoingTask.retryButtonTitle')}
|
||||
</Button>
|
||||
<Button
|
||||
className={classes.logsVisibilityButton}
|
||||
|
||||
@@ -172,6 +172,7 @@ export const scaffolderTranslationRef = createTranslationRef({
|
||||
},
|
||||
subtitle: 'Task {{taskId}}',
|
||||
cancelButtonTitle: 'Cancel',
|
||||
retryButtonTitle: 'Retry',
|
||||
startOverButtonTitle: 'Start Over',
|
||||
hideLogsButtonTitle: 'Hide Logs',
|
||||
showLogsButtonTitle: 'Show Logs',
|
||||
@@ -179,6 +180,7 @@ export const scaffolderTranslationRef = createTranslationRef({
|
||||
hideLogs: 'Hide Logs',
|
||||
showLogs: 'Show Logs',
|
||||
hideButtonBar: 'Hide Button Bar',
|
||||
retry: 'Retry',
|
||||
showButtonBar: 'Show Button Bar',
|
||||
startOver: 'Start Over',
|
||||
cancel: 'Cancel',
|
||||
|
||||
Reference in New Issue
Block a user