mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-15 08:53:53 +08:00
fix
This commit is contained in:
parent
c1cad12cd9
commit
9ac422cfbc
@ -110,7 +110,11 @@ def getcharnamemapbyid(proxy, vid):
|
|||||||
namemap = {}
|
namemap = {}
|
||||||
try:
|
try:
|
||||||
for r in js["results"]:
|
for r in js["results"]:
|
||||||
namemap[r["original"]] = r["name"]
|
_o = r["original"]
|
||||||
|
# 英语游戏没有original
|
||||||
|
if not _o:
|
||||||
|
_o = r["name"]
|
||||||
|
namemap[_o] = r["name"]
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
return namemap
|
return namemap
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 38)
|
set(VERSION_MINOR 38)
|
||||||
set(VERSION_PATCH 12)
|
set(VERSION_PATCH 13)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user