Add glossary methods #4

Open
KaKi87 wants to merge 15 commits from Androz2091/deepl-scraper:glossary-v2 into master
Showing only changes of commit a8d2f237e6 - Show all commits

View file

@ -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.