Skip to content

Commit

Permalink
Add experimental note to translation dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
kadevgraaf committed Nov 14, 2017
1 parent 8054ecb commit 7ac29fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Deck/TreePanel/TranslationModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class TranslationModal extends React.Component {
<Modal.Content>
<FocusTrap focusTrapOptions={{clickOutsideDeactivates: true}} active={this.props.isOpen}>
{available_desc}
<p>You are about to translate the deck, please, choose the target language from the list below:</p>
<p id='translationModalDesc'>You are about to translate the deck. Please choose the target language from the list below:</p>
<Dropdown
placeholder='Choose a target language...'
scrolling
Expand All @@ -136,6 +136,7 @@ class TranslationModal extends React.Component {
ref = {(dropDown) => {this.dropDown = dropDown;}}
value = {this.state.language}
/>
<p><b>!Please note that this is an experimental service! <br/> We use Microsoft Bing translation service, which may not be accurate. <br/> Attempting to translate large decks might result in an error.</b></p>
<Divider/>
<p>
<Button as='button' primary onClick={this.handleTranslateToClick.bind(this)}><Icon name='translate'/> Translate</Button>
Expand Down

0 comments on commit 7ac29fe

Please sign in to comment.