1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 11:19:26 +08:00

fix: translate task to cn name through right dict path

This commit is contained in:
0O0o0oOoO00
2025-10-09 23:53:47 +08:00
parent 3c73ad4c04
commit 5bc23dd462

View File

@@ -959,7 +959,7 @@ class AzurLaneAutoScript(AzurLaneAutoScript):
def get_task_name(self, task):
try:
return read_file(filepath_i18n('zh-CN'))[task]["_info"]["name"]
return read_file(filepath_i18n('zh-CN'))["Task"][task]["name"]
except KeyError:
return task