1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-13 02:54:25 +08:00

Fix: replace character í in Valparaiso

This commit is contained in:
2026-07-10 00:46:54 +08:00
parent 0831b43cfd
commit 31a6efca49
2 changed files with 7 additions and 7 deletions

View File

@@ -87,10 +87,10 @@ class TechnologyTemplate:
for project in self.projects.values():
project.task.name = DIC_TRANSLATION.get(project.task.name, project.task.name)
for item in project.input:
# Change Ägir to Agir
item.name = DIC_TRANSLATION.get(item.name, item.name).replace('Ä', 'A')
# Change Ägir to Agir, Valparaíso to Valparaiso
item.name = DIC_TRANSLATION.get(item.name, item.name).replace('Ä', 'A').replace('í', 'i')
for item in project.output:
item.name = DIC_TRANSLATION.get(item.name, item.name).replace('Ä', 'A')
item.name = DIC_TRANSLATION.get(item.name, item.name).replace('Ä', 'A').replace('í', 'i')
def load_projects(self, loader):
tech = loader.load('sharecfg/technology_data_template.lua')