OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ac11db5
)
[Refactor] #37353 メッセージ整理。 / Refactor messages.
author
Deskull
<deskull@users.sourceforge.jp>
Tue, 4 Dec 2018 10:03:09 +0000
(19:03 +0900)
committer
Deskull
<deskull@users.sourceforge.jp>
Tue, 4 Dec 2018 10:03:09 +0000
(19:03 +0900)
src/floor-generate.c
patch
|
blob
|
history
diff --git
a/src/floor-generate.c
b/src/floor-generate.c
index
0f7db3a
..
778d8e9
100644
(file)
--- a/
src/floor-generate.c
+++ b/
src/floor-generate.c
@@
-1452,37
+1452,20
@@
void generate_cave(void)
/* Prevent object over-flow */
if (o_max >= max_o_idx)
{
/* Prevent object over-flow */
if (o_max >= max_o_idx)
{
-#ifdef JP
-why = "アイテムが多すぎる";
-#else
- why = "too many objects";
-#endif
-
-
+ why = _("アイテムが多すぎる", "too many objects");
okay = FALSE;
}
/* Prevent monster over-flow */
else if (m_max >= max_m_idx)
{
okay = FALSE;
}
/* Prevent monster over-flow */
else if (m_max >= max_m_idx)
{
-#ifdef JP
-why = "モンスターが多すぎる";
-#else
- why = "too many monsters";
-#endif
-
-
+ why = _("モンスターが多すぎる", "too many monsters");
okay = FALSE;
}
/* Accept */
if (okay) break;
okay = FALSE;
}
/* Accept */
if (okay) break;
-#ifdef JP
-if (why) msg_format("生成やり直し(%s)", why);
-#else
- if (why) msg_format("Generation restarted (%s)", why);
-#endif
-
+ if (why) msg_format(_("生成やり直し(%s)", "Generation restarted (%s)"), why);
/* Wipe the objects */
wipe_o_list();
/* Wipe the objects */
wipe_o_list();