Skip to content

Commit

Permalink
fix: version & deepl select
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYCL committed Feb 19, 2021
1 parent 60867b8 commit 075e441
Show file tree
Hide file tree
Showing 3 changed files with 8,786 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chrome-extension-udemy-translate",
"version": "2.1.0",
"version": "2.1.1",
"description": "Translate Udemy's subtitles into Chinese/English(netflix+udemy+lynda+hulu+hbo now字幕翻译)",
"license": "MIT",
"repository": {
Expand Down
33 changes: 22 additions & 11 deletions src/pages/Options/Options.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,20 +283,27 @@ class Options extends Component {
</p>
</section>
<section>
<Radio value={'deepl'} disabled>
Deepl 人工智能API
</Radio>
<Radio value={'deepl'}>Deepl 人工智能API</Radio>
<p style={{ padding: '15px' }}>
<Input name='deepl-key' onChange={this.inputHandle} placeholder="key" value={deepl.key}
style={{ width: '400px' }}/>
<Input
name="deepl-key"
onChange={this.inputHandle}
placeholder="key"
value={deepl.key}
style={{ width: '400px' }}
/>
</p>
</section>
<section>
<Radio value={'a_translator'}>
A tranltator
</Radio>
<Radio value={'a_translator'}>A tranltator</Radio>
<p style={{ padding: '15px' }}>
<Input name='a_translator-key' onChange={this.inputHandle} placeholder="key" value={a_translator.key} style={{ width: '400px' }}/>
<Input
name="a_translator-key"
onChange={this.inputHandle}
placeholder="key"
value={a_translator.key}
style={{ width: '400px' }}
/>
</p>
</section>
</Radio.Group>
Expand Down Expand Up @@ -370,10 +377,14 @@ class Options extends Component {
</a>
&nbsp;&nbsp;
{/*<a href="www.google.com" target='__blank'>Google</a>*/}
<a href="https://www.deepl.com/" target="__blank" >deepl</a>
<a href="https://www.deepl.com/" target="__blank">
deepl
</a>
&nbsp;&nbsp;
{/*<a href="www.google.com" target='__blank'>Google</a>*/}
<a href="https://a-translator.royli.dev/" target="__blank" >a-translator</a>
<a href="https://a-translator.royli.dev/" target="__blank">
a-translator
</a>
</Card>
<Card
className="Card"
Expand Down
Loading

0 comments on commit 075e441

Please sign in to comment.