1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 16:57:20 +08:00
This commit is contained in:
GH Action - Upstream Sync
2024-10-30 07:18:29 +00:00
8 changed files with 36 additions and 14 deletions

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