• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisioneec55fb67556c7696e87892c45963ddd335b33db (tree)
Time2019-01-09 22:40:23
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 メッセージ整理。 / Refactor messages.

Change Summary

Incremental Difference

--- a/src/spells2.c
+++ b/src/spells2.c
@@ -3865,21 +3865,14 @@ bool kawarimi(bool success)
38653865 x = p_ptr->x;
38663866
38673867 teleport_player(10 + randint1(90), 0L);
3868-
38693868 object_wipe(q_ptr);
3870-
38713869 object_prep(q_ptr, lookup_kind(TV_STATUE, SV_WOODEN_STATUE));
38723870
38733871 q_ptr->pval = MON_NINJA;
38743872 (void)drop_near(q_ptr, -1, y, x);
38753873
3876-#ifdef JP
3877- if (success) msg_print("攻撃を受ける前に素早く身をひるがえした。");
3878- else msg_print("失敗!攻撃を受けてしまった。");
3879-#else
3880- if (success) msg_print("You have turned around just before the attack hit you.");
3881- else msg_print("Failed! You are hit by the attack.");
3882-#endif
3874+ if (success) msg_print(_("攻撃を受ける前に素早く身をひるがえした。", "You have turned around just before the attack hit you."));
3875+ else msg_print(_("失敗!攻撃を受けてしまった。", "Failed! You are hit by the attack."));
38833876
38843877 p_ptr->special_defense &= ~(NINJA_KAWARIMI);
38853878 p_ptr->redraw |= (PR_STATUS);
@@ -3974,8 +3967,7 @@ bool rush_attack(bool *mdeath)
39743967 if (tm_idx != cave[ny][nx].m_idx)
39753968 {
39763969 #ifdef JP
3977- msg_format("%s%sが立ちふさがっている!", tm_idx ? "別の" : "",
3978- m_ptr->ml ? "モンスター" : "何か");
3970+ msg_format("%s%sが立ちふさがっている!", tm_idx ? "別の" : "", m_ptr->ml ? "モンスター" : "何か");
39793971 #else
39803972 msg_format("There is %s in the way!", m_ptr->ml ? (tm_idx ? "another monster" : "a monster") : "someone");
39813973 #endif
Show on old repository browser