mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-03-16 21:30:24 +00:00
Merge pull request #1 from patroqueeet/patch-1
deepl: allow source lang auto detection
This commit is contained in:
commit
fe987c8ab0
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ $(document).ready(function() {
|
|||
headers: {
|
||||
"Content-Type": "application/x-www-form-urlencoded"
|
||||
},
|
||||
body: `auth_key=${authKey}&text=${orig}&source_lang=${sourceLang}&target_lang=${destLangRoot}`
|
||||
body: `auth_key=${authKey}&text=${orig}&target_lang=${destLangRoot}`
|
||||
}).then(response => {
|
||||
if(response.ok) {
|
||||
return response.json();
|
||||
|
|
|
|||
Loading…
Reference in a new issue