Update deepl translation
This commit is contained in:
parent
41f1f56fe5
commit
fb3f32f050
@ -46,7 +46,7 @@ function translate(text, from, to) {
|
||||
let langs = from + '/' + to + '/';
|
||||
if (window.location.href.indexOf('www.deepl.com/translator') !== -1
|
||||
&& window.location.href.indexOf(langs) !== -1) {
|
||||
var input = document.querySelector('d-textarea[dl-test=translator-source-input] p');
|
||||
var input = document.querySelector('d-textarea.lmt__source_textarea p');
|
||||
if (input.innerText == singleLineText) {
|
||||
console.log('using cached result');
|
||||
lastText = '';
|
||||
|
@ -594,7 +594,7 @@
|
||||
{"url":"https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/master/translators/bing.js", "path":"$translators$/bing.js", "md5":"a982e9aa6cac598f4c9bf4a56386d13e", "size":1481}
|
||||
]}
|
||||
,"deepl": {"files":[
|
||||
{"url":"https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/master/translators/deepl.js", "path":"$translators$/deepl.js", "md5":"54ee1a3c198e2919abc2345acf114bac", "size":2068}
|
||||
{"url":"https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/master/translators/deepl.js", "path":"$translators$/deepl.js", "md5":"b05cafaf1c9600bf02dedd699de7df20", "size":2056}
|
||||
]}
|
||||
,"google": {"files":[
|
||||
{"url":"https://raw.githubusercontent.com/OneMoreGres/ScreenTranslator/master/translators/google.js", "path":"$translators$/google.js", "md5":"793d6628ac9e26a1f3cc00fa9c863495", "size":1508}
|
||||
|
Loading…
Reference in New Issue
Block a user