forked from KaKi87/deepl-scraper
Update glossary support #1
1 changed files with 4 additions and 4 deletions
|
|
@ -94,15 +94,15 @@ DeepL allows you to define a glossary, so you can add your own words in the tran
|
||||||
You can add new words in the glossary using:
|
You can add new words in the glossary using:
|
||||||
```js
|
```js
|
||||||
setGlossary({
|
setGlossary({
|
||||||
channel: 'salon'
|
'channel': 'salon'
|
||||||
}, 'EN', 'FR');
|
}, 'en', 'fr');
|
||||||
```
|
```
|
||||||
|
|
||||||
Once a word is added, you can update it by calling the function again:
|
Once a word is added, you can update it by calling the function again:
|
||||||
```js
|
```js
|
||||||
setGlossary({
|
setGlossary({
|
||||||
channel: 'test'
|
'channel': 'test'
|
||||||
}, 'EN', 'FR');
|
}, 'en', 'fr');
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: at this time, the only way to reset the glossary is to quit the browser.
|
Note: at this time, the only way to reset the glossary is to quit the browser.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue