This commit is contained in:
恍兮惚兮 2024-01-31 08:25:30 +08:00
parent 79db38e5f6
commit 007c439443
2 changed files with 9 additions and 9 deletions

View File

@ -29,15 +29,15 @@ def sqlite2json(self):
_id,source,mt =_aret _id,source,mt =_aret
js[source]={'userTrans':'','machineTrans':''} js[source]={'userTrans':'','machineTrans':''}
js_format2[source]='' js_format2[source]=''
mtjs=json.loads(mt) mtjs=json.loads(mt)
for _i,_t in enumerate(mtjs): for _i,_t in enumerate(mtjs):
if _i==0 : if _i==0 :
js[source]['machineTrans']=mtjs[_t] js[source]['machineTrans']=mtjs[_t]
js_format2[source]=mtjs[_t] js_format2[source]=mtjs[_t]
js[source]['result_'+str(_i)]=mtjs[_t] js[source]['result_'+str(_i)]=mtjs[_t]
js[source]['api_'+str(_i)]=_t js[source]['api_'+str(_i)]=_t
collect[_t]='result_'+str(_i) collect[_t]='result_'+str(_i)
except: except:
print_exc() print_exc()

View File

@ -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_show":["简体中文","日本語","English","Русский язык","Español","한국어","Français","繁體中文","Tiếng Việt","Türkçe","Polski","Українська Мова","Italiano","اللغة العربية","ภาษาไทย"] ,
"language_list_translator":["简体中文","日文","英文","俄语","西班牙语","韩语","法语","繁体中文","越南语","土耳其语","波兰语","乌克兰语","意大利语","阿拉伯语","泰语"], "language_list_translator":["简体中文","日文","英文","俄语","西班牙语","韩语","法语","繁体中文","越南语","土耳其语","波兰语","乌克兰语","意大利语","阿拉伯语","泰语"],
"language_list_translator_inner":["zh", "ja", "en","ru","es","ko","fr","cht","vi","tr","pl","uk","it","ar","th"], "language_list_translator_inner":["zh", "ja", "en","ru","es","ko","fr","cht","vi","tr","pl","uk","it","ar","th"],