• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision3105a430691933b1c8563e598aee962d34c8ae48 (tree)
Time2019-03-13 13:43:20
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/wild.c
+++ b/src/wild.c
@@ -1116,11 +1116,7 @@ bool change_wild_mode(void)
11161116
11171117 if (lite_town || vanilla_town)
11181118 {
1119-#ifdef JP
1120- msg_print("荒野なんてない。");
1121-#else
1122- msg_print("No global map.");
1123-#endif
1119+ msg_print(_("荒野なんてない。", "No global map."));
11241120 return FALSE;
11251121 }
11261122
@@ -1152,22 +1148,16 @@ bool change_wild_mode(void)
11521148 if (MON_CSLEEP(m_ptr)) continue;
11531149 if (m_ptr->cdis > MAX_SIGHT) continue;
11541150 if (!is_hostile(m_ptr)) continue;
1155-#ifdef JP
1156- msg_print("敵がすぐ近くにいるときは広域マップに入れない!");
1157-#else
1158- msg_print("You cannot enter global map, since there is some monsters nearby!");
1159-#endif
1151+ msg_print(_("敵がすぐ近くにいるときは広域マップに入れない!",
1152+ "You cannot enter global map, since there is some monsters nearby!"));
11601153 free_turn(p_ptr);
11611154 return FALSE;
11621155 }
11631156
11641157 if (have_pet)
11651158 {
1166-#ifdef JP
1167- concptr msg = "ペットを置いて広域マップに入りますか?";
1168-#else
1169- concptr msg = "Do you leave your pets behind? ";
1170-#endif
1159+ concptr msg = _("ペットを置いて広域マップに入りますか?",
1160+ "Do you leave your pets behind? ");
11711161
11721162 if (!get_check_strict(msg, CHECK_OKAY_CANCEL))
11731163 {
Show on old repository browser