Add glossary methods #4
1 changed files with 2 additions and 0 deletions
2
index.js
2
index.js
|
|
@ -96,6 +96,8 @@ module.exports = {
|
|||
});
|
||||
},
|
||||
setGlossary: async (glossary, sourceLanguage, targetLanguage) => {
|
||||
sourceLanguage = sourceLanguage.toUpperCase();
|
||||
targetLanguage = targetLanguage.toUpperCase();
|
||||
const
|
||||
glossaryButton = `.lmt__glossary_onOffSwitch_label`,
|
||||
langSelect = `.lmt__glossary_newEntry_langButton`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue