• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision7dc65271d73f8d8194165c4bd5bfddd250983718 (tree)
Time2018-12-04 19:03:09
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/floor-generate.c
+++ b/src/floor-generate.c
@@ -1452,37 +1452,20 @@ void generate_cave(void)
14521452 /* Prevent object over-flow */
14531453 if (o_max >= max_o_idx)
14541454 {
1455-#ifdef JP
1456-why = "アイテムが多すぎる";
1457-#else
1458- why = "too many objects";
1459-#endif
1460-
1461-
1455+ why = _("アイテムが多すぎる", "too many objects");
14621456 okay = FALSE;
14631457 }
14641458 /* Prevent monster over-flow */
14651459 else if (m_max >= max_m_idx)
14661460 {
1467-#ifdef JP
1468-why = "モンスターが多すぎる";
1469-#else
1470- why = "too many monsters";
1471-#endif
1472-
1473-
1461+ why = _("モンスターが多すぎる", "too many monsters");
14741462 okay = FALSE;
14751463 }
14761464
14771465 /* Accept */
14781466 if (okay) break;
14791467
1480-#ifdef JP
1481-if (why) msg_format("生成やり直し(%s)", why);
1482-#else
1483- if (why) msg_format("Generation restarted (%s)", why);
1484-#endif
1485-
1468+ if (why) msg_format(_("生成やり直し(%s)", "Generation restarted (%s)"), why);
14861469
14871470 /* Wipe the objects */
14881471 wipe_o_list();
Show on old repository browser