mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(client): changed the reset button in JS course (#49034)
* Re-worded reset code button in js lessons * Made suggested changes in translation.json and lower-jaw.tsx * Updated 'reset-step' translation
This commit is contained in:
parent
52a698ee57
commit
099dee75bf
@ -53,7 +53,7 @@
|
||||
"check-code": "Check Your Code (Ctrl + Enter)",
|
||||
"check-code-2": "Check Your Code",
|
||||
"reset": "Reset",
|
||||
"reset-code": "Reset All Code",
|
||||
"reset-step": "Reset This Step",
|
||||
"help": "Help",
|
||||
"get-help": "Get Help",
|
||||
"watch-video": "Watch a Video",
|
||||
|
||||
@ -190,8 +190,8 @@ const LowerJaw = ({
|
||||
<div className='lower-jaw-icon-bar'>
|
||||
<button
|
||||
className='btn fade-in'
|
||||
title={t('buttons.reset-code')}
|
||||
aria-label={t('buttons.reset-code')}
|
||||
title={t('buttons.reset-step')}
|
||||
aria-label={t('buttons.reset-step')}
|
||||
data-cy='reset-code-button'
|
||||
onClick={openResetModal}
|
||||
>
|
||||
|
||||
@ -101,7 +101,7 @@ function ToolPanel({
|
||||
className='btn-invert'
|
||||
onClick={openResetModal}
|
||||
>
|
||||
{isMobile ? t('buttons.reset') : t('buttons.reset-code')}
|
||||
{isMobile ? t('buttons.reset') : t('buttons.reset-lesson')}
|
||||
</Button>
|
||||
)}
|
||||
<DropdownButton
|
||||
|
||||
Loading…
Reference in New Issue
Block a user