1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

upd: [JP] get_zone_name correction

This commit is contained in:
guoh064
2024-10-22 23:55:01 +08:00
committed by LmeSzinc
parent 51c84fc231
commit 1dd263d59d

View File

@@ -90,9 +90,9 @@ class OSMapOperation(MapOrderHandler, MissionHandler, PortHandler, StorageHandle
name = name.split('')[0]
# Remove '安全海域' or '秘密海域' at the end of jp ocr.
name = name.rstrip('安全秘密異常要塞海域')
# Kanji '一' and '' are not used, while Katakana 'ー' and '' are misread as Kanji sometimes.
# Kanji '一', '力' and '' are not used, while Katakana 'ー', 'カ' and '' are misread as Kanji sometimes.
# Katakana 'ペ' may be misread as Hiragana 'ぺ'.
name = name.replace('', '').replace('', '').replace('', '')
name = name.replace('', '').replace('', '').replace('', '').replace('', '')
name = name.replace('ジブフルタル', 'ジブラルタル')
name = name.replace('タント', 'タラント').replace('タフント', 'タラント')
return name