mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
79db38e5f6
commit
007c439443
@ -29,15 +29,15 @@ def sqlite2json(self):
|
||||
_id,source,mt =_aret
|
||||
js[source]={'userTrans':'','machineTrans':''}
|
||||
js_format2[source]=''
|
||||
mtjs=json.loads(mt)
|
||||
for _i,_t in enumerate(mtjs):
|
||||
if _i==0 :
|
||||
js[source]['machineTrans']=mtjs[_t]
|
||||
js_format2[source]=mtjs[_t]
|
||||
js[source]['result_'+str(_i)]=mtjs[_t]
|
||||
js[source]['api_'+str(_i)]=_t
|
||||
mtjs=json.loads(mt)
|
||||
for _i,_t in enumerate(mtjs):
|
||||
if _i==0 :
|
||||
js[source]['machineTrans']=mtjs[_t]
|
||||
js_format2[source]=mtjs[_t]
|
||||
js[source]['result_'+str(_i)]=mtjs[_t]
|
||||
js[source]['api_'+str(_i)]=_t
|
||||
|
||||
collect[_t]='result_'+str(_i)
|
||||
collect[_t]='result_'+str(_i)
|
||||
|
||||
except:
|
||||
print_exc()
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version":"v2.36.2",
|
||||
"version":"v2.36.3",
|
||||
"language_list_show":["简体中文","日本語","English","Русский язык","Español","한국어","Français","繁體中文","Tiếng Việt","Türkçe","Polski","Українська Мова","Italiano","اللغة العربية","ภาษาไทย"] ,
|
||||
"language_list_translator":["简体中文","日文","英文","俄语","西班牙语","韩语","法语","繁体中文","越南语","土耳其语","波兰语","乌克兰语","意大利语","阿拉伯语","泰语"],
|
||||
"language_list_translator_inner":["zh", "ja", "en","ru","es","ko","fr","cht","vi","tr","pl","uk","it","ar","th"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user