Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzonn committed Jun 18, 2024
1 parent 661ffd8 commit 5cc2be1
Show file tree
Hide file tree
Showing 602 changed files with 13,962 additions and 14,264 deletions.
31 changes: 31 additions & 0 deletions files/official_translations/00_PQ2.csv
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,34 @@
ナギ,凪
ドー,哆
エンリル,恩利尔
ヨウスケサウルス,阳介龙
リボン,蝴蝶结
(SE)P3主人公,(SE)P3主人公
(SE)P3女主人公,(SE)P3女主人公
(SE)P3主人公(女),(SE)P3主人公(女)
(SE)伊織 順平,(SE)伊织 顺平
(SE)岳羽 ゆかり,(SE)岳羽 由加莉
(SE)桐条 美鶴,(SE)桐条 美鹤
(SE)真田 明彦,(SE)真田 明彦
(SE)山岸 風花,(SE)山岸 风花
(SE)荒垣 真次郎,(SE)荒垣 真次郎
(SE)アイギス,(SE)埃癸斯
(SE)天田 乾,(SE)天田 乾
(SE)コロマル,(SE)虎狼丸
(SE)P4主人公,(SE)P4主人公
(SE)クマ,(SE)小熊
(SE)花村 陽介,(SE)花村 阳介
(SE)里中 千枝,(SE)里中 千枝
(SE)天城 雪子,(SE)天城 雪子
(SE)巽 完二,(SE)巽 完二
(SE)白鐘 直斗,(SE)白钟 直斗
(SE)久慈川 りせ,(SE)久慈川 理世
(SE)P5主人公,(SE)P5主人公
(SE)モルガナ,(SE)摩尔加纳
(SE)坂本 竜司,(SE)坂本 龙司
(SE)高巻 杏,(SE)高卷 杏
(SE)喜多川 祐介,(SE)喜多川 佑介
(SE)新島 真,(SE)新岛 真
(SE)佐倉 双葉,(SE)佐仓 双叶
(SE)奥村 春,(SE)奥村 春
(SE)明智 吾郎,(SE)明智 吾郎
1 change: 1 addition & 0 deletions files/official_translations/21_EO1-3HD.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3667,3 +3667,4 @@
現世の舞踏,此世之舞
亡者の灰,亡者之灰
魔法カウンタ,魔法反击
!!ああっと!!,!!哇呀!!
15 changes: 11 additions & 4 deletions scripts/convert_csv_to_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,17 @@ def convert_csv_to_xlsx(csv_root_without_language: str, language: str, xlsx_root
))

for i, (original_line, translated_line) in enumerate(zip(original, translated)):
mt_translations = translated_line["developer_comments"]
comments = ""
if "\n\n评论:\n\n" in mt_translations:
mt_translations, comments = mt_translations.split("\n\n评论:\n\n", 1)
sheet.append((
original_line["id"],
original_line["target"],
translated_line["target"],
original_line["developer_comments"],
translated_line["developer_comments"],
"",
mt_translations,
comments,
"",
f'=OR(LEN(B{i + 2})-LEN(SUBSTITUTE(SUBSTITUTE(B{i + 2},"[",""),"]",""))<>LEN(C{i + 2})-LEN(SUBSTITUTE(SUBSTITUTE(C{i + 2},"[",""),"]","")),LEN(C{i + 2})-LEN(SUBSTITUTE(C{i + 2},"[",""))<>LEN(C{i + 2})-LEN(SUBSTITUTE(C{i + 2},"]","")))',
))
Expand All @@ -87,8 +91,11 @@ def convert_csv_to_xlsx(csv_root_without_language: str, language: str, xlsx_root
if col in "AD":
column.width = 15
column.alignment = center_wrap
elif col in "BCEF":
column.width = 35
elif col in "BCE":
column.width = 32
column.alignment = top_left_wrap
elif col in "F":
column.width = 48
column.alignment = top_left_wrap
elif col in "GH":
column.hidden = True
Expand Down
2 changes: 1 addition & 1 deletion scripts/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

CONTROL_PATTERN = re.compile(r"(\[[0-9A-F]{2}(?: [0-9A-F]{2})*\]|\n)")
TRASH_PATTERN = re.compile(
r"^(?:|.*(?:0x|_|※|(仮)|ダミーメッセージ|ダミーMSG|ダミー枠|RESERVE|blank|BLANK|リザーブ|(ダミー)|ダ\[(?:n|e|f(?: \d+)+)\]ミ\[(?:n|e|f(?: \d+)+)\]ー|★未使用|・未使用|未使用・|MSG|これが出るとバグです|バッファ).*|ダミー\d*|<声のみ>ダミー|会話ダミー|ダミ-|ブランク|未使用\d*|ダミー 使用禁止|%s|?+|NULL|仮・.+|クエスト.+ダミー)$",
r"^(?:|.*(?:0x|0x|_|※|(仮)|ダミーメッセージ|ダミーMSG|ダミー枠|RESERVE|blank|BLANK|リザーブ|(ダミー)|ダ\[(?:n|e|f(?: \d+)+)\]ミ\[(?:n|e|f(?: \d+)+)\]ー|★未使用|・未使用|未使用・|MSG|これが出るとバグです|バッファ|仮テキスト).*|ダミー\d*|<声のみ>ダミー|会話ダミー|ダミ-|ブランク|未使用\d*|ダミー 使用禁止|%s|?+|NULL|仮・.+|クエスト.+ダミー|仮msg)$",
re.DOTALL,
)
KANA_PATTERN = re.compile(r"[\u3040-\u309F\u30A0-\u30FF]+")
Expand Down
3 changes: 0 additions & 3 deletions texts/ja/event/e200/e200_090.bf.csv

This file was deleted.

1 change: 0 additions & 1 deletion texts/ja/event/e700/e770_040.bf.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
"source","target","id","developer_comments"
"MSG_000_0","仮msg","MSG_000_0","変換用"
"speaker_変換用","変換用","speaker_変換用",""
2 changes: 0 additions & 2 deletions texts/ja/event/e900/e920_900.bf.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"source","target","id","developer_comments"
"MSG_TEST_0","PQ2ゲームオーバーイベント。
何かラベルがないと変換できないので、","MSG_TEST_0",""
"MSG_TEST_1","仮でおいているだけの仮テキスト。
SCRから呼んでません。","MSG_TEST_1",""
1 change: 0 additions & 1 deletion texts/ja/init/datskillhelp.bmd.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,6 @@
"skill_4C8_0","自分の[颜色 05]HPを全回復[颜色 01]","skill_4C8_0",""
"skill_4CA_0","《万能》属性で全体に特大ダメージ","skill_4CA_0",""
"skill_4CB_0","《万能》属性で全体に特大ダメージ","skill_4CB_0",""
"skill_4CE_0","0x4CE","skill_4CE_0",""
"skill_4CF_0","《火炎》属性で単体を中心に大ダメージ
特性:拡散効果","skill_4CF_0",""
"skill_4D0_0","《氷結》属性で単体を中心に大ダメージ
Expand Down
8 changes: 4 additions & 4 deletions texts/zh_Hans/battle/event/btlEvent600.bf.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"source","target","id","developer_comments"
"MSG_BTL_600_000_0","咕……太强了……!
这样下去……!","MSG_BTL_600_000_0","机翻辅助:
"MSG_BTL_600_000_0","呃……这也太强了吧……!
就这样继续下去的话……!","MSG_BTL_600_000_0","机翻辅助:

咕……太强了……!
这样下去……!
Expand All @@ -10,8 +10,8 @@

呜……太强了……!
再这样下去……!"
"MSG_BTL_600_001_0","那家伙不寻常
大家快逃!","MSG_BTL_600_001_0","机翻辅助:
"MSG_BTL_600_001_0","这家伙,并不是一般的杂兵
大家快跑!!","MSG_BTL_600_001_0","机翻辅助:

那家伙不寻常!
大家快逃!
Expand Down
59 changes: 27 additions & 32 deletions texts/zh_Hans/battle/event/btlEvent601.bf.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"source","target","id","developer_comments"
"MSG_000_0","呜哇!?增援!?
好多看起来很强的家伙来了!","MSG_000_0","机翻辅助:
"MSG_000_0","唔哇?!增援?!好像来了一大群很强的家伙啊!","MSG_000_0","机翻辅助:

呜哇!?增援!?
好多看起来很强的家伙来了!
Expand All @@ -10,15 +9,14 @@

哇!?增援!?
来了很多看起来很厉害的东西!"
"MSG_001_0","不是啦!我们不是敌人!","MSG_001_0","机翻辅助:
"MSG_001_0","不是啊!我们不是敌人!","MSG_001_0","机翻辅助:

不是啦!我们不是敌人!

好厉害啊!我们不是敌人!

怪了!我们不是敌人!"
"MSG_002_0","你不是
泰欧戴尔的朋友吗?","MSG_002_0","机翻辅助:
"MSG_002_0","你是西奥多先生的熟人吧?","MSG_002_0","机翻辅助:

你不是
泰欧戴尔的朋友吗?
Expand All @@ -27,8 +25,8 @@


你认识西奥多桑吧?"
"MSG_003_0","
你认识泰欧吗!?","MSG_003_0","机翻辅助:
"MSG_003_0","
你认识西奥吗?","MSG_003_0","机翻辅助:

咦?
你认识泰欧吗!?
Expand All @@ -38,8 +36,8 @@

诶?
你知道特奥吗??"
"MSG_004_0","详情等事情解决之后再说
我们上,JOKER!","MSG_004_0","机翻辅助:
"MSG_004_0","详细的情况等处理完这些家伙再说
要上喽,JOKER!","MSG_004_0","机翻辅助:

详情等事情解决之后再说!
我们上,JOKER!
Expand All @@ -49,8 +47,7 @@

详细的事情结束后再说!
走吧,JOKER !"
"MSG_010_0","总觉得,这个暗影
攻击完全无效耶?","MSG_010_0","机翻辅助:
"MSG_010_0","好像,对这个暗影的攻击完全没效的样子?","MSG_010_0","机翻辅助:

总觉得,这个暗影
攻击完全无效耶?
Expand All @@ -59,8 +56,8 @@
完全没有攻击效果吗?

怎么说,这个暗影完全没有攻击效果啊?"
"MSG_011_0","就是啊!分析情报也
怪怪的……","MSG_011_0","机翻辅助:
"MSG_011_0","确实!
解析出来的情报也有点奇怪呢……","MSG_011_0","机翻辅助:

就是啊!分析情报也
怪怪的……
Expand All @@ -69,25 +66,23 @@


就是那个!分析信息也很奇怪……"
"MSG_012_0","正攻法行不通的话,就从弱点下手吧……","MSG_012_0","机翻辅助:
"MSG_012_0","常规手段不行的话,那就只能智取了……","MSG_012_0","机翻辅助:

正攻法行不通的话,就从弱点下手吧……

如果正面攻击法不行的话,那是后手吗……

正面攻击法不行的话就以己之长攻彼之短吧……"
"MSG_013_0","哦,你脑筋动得很快嘛。
明明只是只稻荷。","MSG_013_0","机翻辅助:
"MSG_013_0","哦,有好好思考对策嘛。明明只是小狐狸而已。","MSG_013_0","机翻辅助:

哦,你脑筋动得很快嘛。
明明只是只稻荷
明明只是只小狐狸

哦,你想得真多啊。
明明是伊纳利
明明是小狐狸

啊,你想得真周到。明明是死缠烂打。"
"MSG_013_1","我也会分析,
试着让他陷入异常状态,做各种尝试吧!","MSG_013_1","机翻辅助:
"MSG_013_1","我也会进行分析,尝试给敌人上异常状态,大家试试用各种各样的方法吧!","MSG_013_1","机翻辅助:

我也会分析,
试着让他陷入异常状态,做各种尝试吧!
Expand All @@ -97,7 +92,7 @@

我也会分析的,试着异常状态,各种各样的尝试!"
"MSG_020_0","快看!
暗影的外型变了!","MSG_020_0","机翻辅助:
暗影的样子发生了变化!","MSG_020_0","机翻辅助:

快看!
暗影的外型变了!
Expand All @@ -107,18 +102,18 @@

你看!
暗影的样子变了哟!"
"MSG_021_0","好像有什么东西碎掉了。","MSG_021_0","机翻辅助:
"MSG_021_0","感觉好像有什么碎裂的感觉。","MSG_021_0","机翻辅助:

好像有什么东西碎掉了。

好像有什么东西碎了。"
"MSG_022_0","我知道了!","MSG_022_0","机翻辅助:
"MSG_022_0","我明白了!","MSG_022_0","机翻辅助:

我知道了!

知道了!"
"MSG_022_1","那家伙之前
好像一直张着类似“抗性防护罩”的东西!","MSG_022_1","机翻辅助:
"MSG_022_1","那家伙,直到刚才似乎一直在施展类似“耐性屏障”
的样子!","MSG_022_1","机翻辅助:

那家伙之前
好像一直张着类似“抗性防护罩”的东西!
Expand All @@ -128,8 +123,8 @@

那个家伙,到现在为止好像贴了“耐性屏障”
之类的东西!"
"MSG_023_0","防护罩……
难怪攻击很难生效。","MSG_023_0","机翻辅助:
"MSG_023_0","护盾这……
所以攻击难以起效啊。","MSG_023_0","机翻辅助:

防护罩……
难怪攻击很难生效。
Expand All @@ -138,8 +133,8 @@


屏障……所以很难发挥攻击效果。"
"MSG_024_0","不过,只要给予一定程度的伤害
好像就会坏掉。","MSG_024_0","机翻辅助:
"MSG_024_0","但是,
似乎造成一定程度的伤害就会坏掉的样子。","MSG_024_0","机翻辅助:

不过,只要给予一定程度的伤害
好像就会坏掉。
Expand All @@ -149,8 +144,8 @@

但是,如果给予一定程度的伤害
好像就会坏掉。"
"MSG_025_0","也就是说,现在正是好机会
一口气发动猛攻吧!","MSG_025_0","机翻辅助:
"MSG_025_0","换句话说,现在就是机会
一口气展开攻势吧!","MSG_025_0","机翻辅助:

也就是说,现在正是好机会。
一口气发动猛攻吧!
Expand All @@ -160,7 +155,7 @@

也就是说,现在是机会。
一口气叠起来!"
"speaker_茶髪の少女","褐发少女","speaker_茶髪の少女","机翻辅助:
"speaker_茶髪の少女","茶色头发的少女","speaker_茶髪の少女","机翻辅助:

褐发少女

Expand Down
20 changes: 10 additions & 10 deletions texts/zh_Hans/battle/event/btlEvent602.bf.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"source","target","id","developer_comments"
"MSG_000_0","虽然没看过这个暗影
不过还是轻松解决……","MSG_000_0","机翻辅助:
"MSG_000_0","这个暗影是从来没有见过的类型呢
轻轻踢一下看看……","MSG_000_0","机翻辅助:

虽然没看过这个暗影,
不过还是轻松解决……
Expand All @@ -9,8 +9,8 @@


虽然是没见过的暗影,但是轻轻地踢散了……"
"MSG_001_0","呃……奇、奇怪
身体好像怪怪的……?","MSG_001_0","机翻辅助:
"MSG_001_0","欸……怎,怎么
感觉,身体状态有些奇怪……?","MSG_001_0","机翻辅助:

呃……奇、奇怪?
身体好像怪怪的……?
Expand All @@ -20,8 +20,8 @@

说……啊,那个?
总觉得身体怪怪的……?"
"MSG_002_0","嗯……
跟平常一样,使不出力气……","MSG_002_0","机翻辅助:
"MSG_002_0","嗯……并不能像平常那样,
使出全力啊……","MSG_002_0","机翻辅助:

嗯……
跟平常一样,使不出力气……
Expand All @@ -30,8 +30,8 @@
和往常一样,提不起劲……

嗯……像往常一样,没有力气……"
"MSG_003_0","大家也是!
原来不是只有我啊……","MSG_003_0","机翻辅助:
"MSG_003_0","大家也是吗
看来并不是只有我一个人这样……","MSG_003_0","机翻辅助:

大家也是!?
原来不是只有我啊……
Expand All @@ -41,8 +41,8 @@

大家也!?
原来不只是我啊……"
"MSG_004_0","要来了
有话待会再说,快摆出架式!","MSG_004_0","机翻辅助:
"MSG_004_0","来了
有话等会说,先准备好!","MSG_004_0","机翻辅助:

要来了!
有话待会再说,快摆出架式!
Expand Down
12 changes: 6 additions & 6 deletions texts/zh_Hans/battle/event/btlEvent603.bf.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"source","target","id","developer_comments"
"MSG_000_0","嗯嗯嗯!?
在最深处的暗影,反应跟其他人不一样……?","MSG_000_0","机翻辅助:
"MSG_000_0","嗯嗯嗯?!
那个深处的暗影,和其他的反应不同……?","MSG_000_0","机翻辅助:

嗯嗯嗯!?
在最深处的暗影,反应跟其他人不一样……?
Expand All @@ -10,22 +10,22 @@

嗯!?
那个里面的暗影,和其他的反应不一样……?"
"MSG_000_1","我有预感,好像有什么内幕!","MSG_000_1","机翻辅助:
"MSG_000_1","满满会发生什么的预感!","MSG_000_1","机翻辅助:

我有预感,好像有什么内幕!

我有种预感!

我有一种预感!"
"MSG_001_0","特殊的暗影吗?真令人感兴趣。","MSG_001_0","机翻辅助:
"MSG_001_0","特殊的暗影吗?很让人感兴趣呢。","MSG_001_0","机翻辅助:

特殊的暗影吗?真令人感兴趣。

特殊暗影。真有趣。

是特殊的暗影吗?真有意思。"
"MSG_002_0","要先瞄准他吗?还是先解决周遭的敌人呢……
JOKER,交给你判断了。","MSG_002_0","机翻辅助:
"MSG_002_0","是先解决目标,还是先清理周围……
JOKER,交由你决定吧。","MSG_002_0","机翻辅助:

要先瞄准他吗?还是先解决周遭的敌人呢……
JOKER,交给你判断了。
Expand Down
Loading

0 comments on commit 5cc2be1

Please sign in to comment.