Update glossary support #1

Merged
Androz2091 merged 9 commits from KaKi87/deepl-scraper:glossary-v2 into glossary-v2 2021-03-18 17:13:53 +01:00
Showing only changes of commit dbb92a8bc6 - Show all commits

View file

@ -93,14 +93,14 @@ 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({ await 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({ await setGlossary({
'channel': 'test' 'channel': 'test'
}, 'en', 'fr'); }, 'en', 'fr');
``` ```