TH1/Tools/translate_19976.py
2026-05-22 16:36:39 +08:00

121 lines
9.5 KiB
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import openpyxl
TW = """[版本 V0.7.1m]
發布日期:26.5.21
本次補丁完成18項bug修復及優化有部分較難修復的bug我們仍在排查修復中。
---------[bug修復]-------------
1.修復了本地存檔損壞導致的遊戲無法正常啟動的bug
2.修復了連線模式下挖掘遺跡可能導致主客機不同步的bug
3.修復了滿血但是處於恐懼或疲勞負面狀態下的單位無法執行「休息」行動的bug
4.修復了戰績介面會顯示教學關卡紀錄的bug但是已有的紀錄暫時尚未清除
5.修復了攻擊處於十六夜咲夜保護狀態下的單位時攻擊流程執行不完整的bug逃脫、早苗投擲御神籤等
6.修復了我方城市被敵方佔領時仍能獲得金幣科技點文化點收入的bug
7.修復了古明地覺施加的負面狀態二重黑死蝶可能對友方單位生效的bug
8.修復了我方單位能進入處於背盟狀態的敵方單位城市中心的bug
9.修復了和AI的外交關係從背盟轉化回中立以及從戰爭轉化為中立的生效時機錯誤的bug
10.修復了東風谷早苗在治療擁有負面狀態「恐懼」的我方單位時不會投擲御神籤的bug
----------[優化]--------------
1.新增設定選項「始終顯示所選地塊所屬城市的邊界」
2.新增設定選項「點擊下一回合按鈕時二次確認」
3.回合開始時新增提示音效
4.當地塊被城市中心建築擋住時,城市中心會自動半透明顯示
5.當從單位切換到該單位所處的地塊時,其所屬城市中心會播放彈動提示
6.優化了BGM輪播時可能會硬切戛然而止的情況
7.調整了靈烏路空能力「核融合預熱」的技能描述,移動時若路徑上遇到第一個單位是己方單位則會停止移動。
8.海上挖掘遺跡獲得單位後,當前被推開的單位會優先被推向水域"""
EN = """[Version V0.7.1m]
Release Date: 2026/5/21
This patch delivers 18 bug fixes and improvements. We're still investigating several other harder-to-reproduce issues.
---------[Bug Fixes]-------------
1. Fixed a bug where corrupted local save data prevented the game from launching properly.
2. Fixed a bug in multiplayer where excavating Ruins could cause host/client desync.
3. Fixed a bug where units at full HP suffering from Fear or Fatigue could not perform the "Rest" action.
4. Fixed a bug where the Records screen displayed tutorial mission entries (existing entries are not cleared yet).
5. Fixed a bug where attacking a unit protected by Sakuya Izayoi caused the attack sequence to terminate incompletely (Escape, Sanae throwing Omikuji, etc.).
6. Fixed a bug where Gold / Science / Culture income could still be collected from your cities after they were captured by an enemy.
7. Fixed a bug where the debuff "Double Black Death Butterfly" inflicted by Satori Komeiji could affect allied units.
8. Fixed a bug where your units could enter the City Center of an enemy unit in the Broken Alliance state.
9. Fixed a bug with incorrect timing when AI diplomatic relations transitioned from Broken Alliance back to Neutral, or from War back to Neutral.
10. Fixed a bug where Sanae Kochiya would not throw Omikuji when healing your units afflicted with the "Fear" debuff.
----------[Improvements]--------------
1. Added a settings option: "Always show city border of selected tile".
2. Added a settings option: "Confirm again when clicking the Next Turn button".
3. Added a notification sound at the start of each turn.
4. When a tile is blocked by the City Center building, the City Center now becomes semi-transparent automatically.
5. When switching from a unit to the tile it occupies, the owning City Center will play a bounce hint.
6. Improved BGM rotation to reduce abrupt cuts.
7. Adjusted Utsuho Reiuji's ability "Nuclear Fusion Warm-up" description: when moving, if the first unit encountered along the path is an ally, the unit will stop moving.
8. After obtaining a unit from excavating naval Ruins, any displaced unit will now be pushed toward water tiles first."""
JP = """[バージョン V0.7.1m]
リリース日: 2026/5/21
本パッチでは18項目のバグ修正と最適化を実施しました。修正が困難な一部の不具合は引き続き調査中です。
---------[バグ修正]-------------
1. ローカルセーブデータの破損によりゲームが正常に起動できなくなる不具合を修正
2. マルチプレイ時、遺跡発掘によりホスト・クライアント間で同期ずれが発生する不具合を修正
3. HP満タンかつ恐怖または疲労のデバフ状態にあるユニットが「休息」を実行できない不具合を修正
4. 戦績画面にチュートリアルのプレイ記録が表示される不具合を修正(既存の記録は現時点では消去されません)
5. 十六夜咲夜の保護状態下にあるユニットを攻撃した際、攻撃処理が不完全に終了する不具合を修正(逃走、早苗のおみくじ投擲など)
6. 自軍都市が敵に占領された後も、ゴールド/科学/文化収入を獲得できてしまう不具合を修正
7. 古明地さとりが付与するデバフ「二重黒死蝶」が味方ユニットに発動することがある不具合を修正
8. 自軍ユニットが背盟状態の敵ユニットの都市中心に進入できる不具合を修正
9. AIとの外交関係が背盟から中立、または戦争から中立に移行する際の発動タイミングに関する不具合を修正
10. 東風谷早苗がデバフ「恐怖」を持つ自軍ユニットを治療する際、御神籤を投擲しない不具合を修正
----------[最適化]--------------
1. 設定項目「選択中のタイルが属する都市の境界を常に表示」を追加
2. 設定項目「『次のターン』ボタン押下時に再確認」を追加
3. ターン開始時に通知音を追加
4. 都市中心の建築物にタイルが隠れている場合、都市中心が自動的に半透明表示されるようにしました
5. ユニットからそのユニットのいるタイルへ切り替えた際、所属する都市中心がバウンスアニメーションでヒント表示されるようにしました
6. BGM切り替え時に音が途切れる、または唐突に止まる問題を改善
7. 霊烏路空の能力「核融合予熱」のスキル説明を調整:移動時、経路上で最初に遭遇するユニットが味方の場合、移動を停止します
8. 海上で遺跡を発掘してユニットを獲得した際、押し出されるユニットが優先的に水域へ移動するようになりました"""
KR = """[버전 V0.7.1m]
출시일: 2026/5/21
이번 패치에서는 18건의 버그 수정 및 최적화를 진행했습니다. 일부 수정이 어려운 버그는 계속 조사 중입니다.
---------[버그 수정]-------------
1. 로컬 세이브 손상으로 인해 게임이 정상적으로 시작되지 않는 버그 수정
2. 멀티플레이 모드에서 유적을 발굴할 때 호스트와 클라이언트 간 동기화가 어긋나는 버그 수정
3. HP가 가득 찬 상태에서도 공포 또는 피로 디버프 상태인 유닛이 「휴식」 행동을 실행할 수 없는 버그 수정
4. 전적 화면에 튜토리얼 기록이 표시되는 버그 수정 (기존 기록은 현재로서는 삭제되지 않습니다)
5. 이자요이 사쿠야의 보호 상태에 있는 유닛을 공격할 때 공격 처리가 불완전하게 종료되는 버그 수정 (탈출, 사나에의 오미쿠지 투척 등)
6. 아군 도시가 적에게 점령된 후에도 골드/과학/문화 수입을 획득할 수 있는 버그 수정
7. 코메이지 사토리가 부여하는 디버프 「이중 흑사접」이 아군 유닛에게 발동될 수 있는 버그 수정
8. 아군 유닛이 배맹 상태인 적 유닛의 도시 중심에 진입할 수 있는 버그 수정
9. AI와의 외교 관계가 배맹에서 중립, 또는 전쟁에서 중립으로 전환되는 발동 타이밍이 잘못된 버그 수정
10. 코치야 사나에가 「공포」 디버프 상태인 아군 유닛을 치료할 때 오미쿠지를 투척하지 않는 버그 수정
----------[최적화]--------------
1. 설정 항목 「선택한 타일이 속한 도시의 경계 항상 표시」 추가
2. 설정 항목 「『다음 턴』 버튼 클릭 시 재확인」 추가
3. 턴 시작 시 알림 효과음 추가
4. 타일이 도시 중심 건축물에 가려질 때 도시 중심이 자동으로 반투명 표시되도록 변경
5. 유닛에서 해당 유닛이 위치한 타일로 전환할 때, 소속 도시 중심이 바운스 애니메이션으로 안내되도록 변경
6. BGM 전환 시 음이 끊기거나 갑자기 중단되는 문제 개선
7. 레이우지 우츠호의 능력 「핵융합 예열」 스킬 설명 조정: 이동 시 경로상 처음 마주치는 유닛이 아군이라면 이동을 멈춥니다
8. 해상에서 유적을 발굴하여 유닛을 획득한 후, 밀려나는 유닛이 우선적으로 수역으로 이동하도록 변경"""
wb = openpyxl.load_workbook('Multilingual.xlsx', data_only=False)
ws = wb.active
hdr = [str(ws.cell(1,c).value or '').lstrip('') for c in range(1,18)]
tw,en,jp,kr = hdr.index('繁中')+1, hdr.index('英文')+1, hdr.index('日文')+1, hdr.index('韩文')+1
for r in range(2, ws.max_row+1):
rid = int(str(ws.cell(r,1).value).lstrip(''))
if rid == 19976:
ws.cell(r,tw).value = TW
ws.cell(r,en).value = EN
ws.cell(r,jp).value = JP
ws.cell(r,kr).value = KR
print(f'写入 {rid}')
wb.save('Multilingual.xlsx')
print('保存OK')