Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed cancel button issue: changed "Cancel" to "Go Back" #491

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/translator/DocTranslationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const DocTranslationForm = ({ srcLang, tgtLang, pairPrefs, cancelUrl, setLoading
style={{ bottom: '-6px', right: '20px' }}
variant="secondary"
>
<FontAwesomeIcon icon={faArrowLeft} /> {t('Cancel')}
<FontAwesomeIcon icon={faArrowLeft} /> {t('Go Back')}
</Button>
</LinkContainer>
</Card.Body>
Expand Down
2 changes: 1 addition & 1 deletion src/components/translator/WebpageTranslationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const WebpageTranslationForm = ({ cancelUrl, srcLang, tgtLang, pairPrefs, setLoa
<div className="d-inline-flex mb-2 w-100">
<LinkContainer to={cancelUrl}>
<Button variant="secondary">
<FontAwesomeIcon icon={faArrowLeft} /> {t('Cancel')}
<FontAwesomeIcon icon={faArrowLeft} /> {t('Go Back')}
</Button>
</LinkContainer>
<InputGroup className="ml-3">
Expand Down
3 changes: 2 additions & 1 deletion src/strings/eng.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@
"Downloads_Para": "Current versions of the <b>Apertium toolbox</b> as well as of <b>language-pair data</b> are available from <a href='https://github.com/apertium' target='_blank' rel='noopener'>the GitHub page</a>. Installation instructions for Apertium on all major platforms are provided on the <a href='https://wiki.apertium.org/wiki/Installation' target='_blank' rel='noopener'>Wiki's Installation page</a>.",
"Contact_Para": "<h4>IRC channel</h4> <p>The quickest way to contact us is by joining our <a href='https://wiki.apertium.org/wiki/IRC' target='_blank' rel='noopener'><abbr title='Internet Relay Chat'>IRC</abbr> channel, #apertium</a> at irc.oftc.net, where users and developers of Apertium meet. You don't need an IRC client; you can use <a href='https://webchat.oftc.net/?channels=apertium'>OFTC webchat</a>. </p> <h4>Mailing list</h4> <p>Also, subscribe to the <a href='https://lists.sourceforge.net/lists/listinfo/apertium-stuff' target='_blank' rel='noopener'> apertium-stuff mailing list</a>, where you can post longer proposals or issues, as well as follow general Apertium discussions. </p> <h4>Contact</h4> <p>Feel free to contact us via the <a href='mailto:[email protected]' target='_blank' rel='noopener'>apertium-contact mailing list</a> if you find a mistake, there's a project you would like to see us work on, or you would like to help out.</p>",
"Install_Apertium": "Install Apertium",
"Install_Apertium_Para": "Are you experiencing slow responses? Our servers might be overloaded. Learn how to <a href='https://wiki.apertium.org/wiki/Installation' target='_blank' rel='noopener'>install Apertium locally</a>."
"Install_Apertium_Para": "Are you experiencing slow responses? Our servers might be overloaded. Learn how to <a href='https://wiki.apertium.org/wiki/Installation' target='_blank' rel='noopener'>install Apertium locally</a>.",
"Go Back": "Abort the current action or scheduled action and go back"
}