mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 16:19:03 +08:00
upd: [JP] get_zone_name correction
This commit is contained in:
parent
51c84fc231
commit
1dd263d59d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user