if (r_ptr->r_deaths)
{
/* Killed ancestors */
-#ifdef JP
- hooked_roff(format("%^s¤Ï¤¢¤Ê¤¿¤ÎÀèÁĤò %d ¿ÍÁò¤Ã¤Æ¤¤¤ë",
- wd_he[msex], r_ptr->r_deaths));
-#else
- hooked_roff(format("%^s has slain %d of your ancestors",
+ hooked_roff(format(_("%^s¤Ï¤¢¤Ê¤¿¤ÎÀèÁĤò %d ¿ÍÁò¤Ã¤Æ¤¤¤ë", "%^s has slain %d of your ancestors"),
wd_he[msex], r_ptr->r_deaths));
-#endif
-
/* But we've also killed it */
if (dead)
{
-#ifdef JP
- hooked_roff(format("¤¬¡¢¤¹¤Ç¤ËµØƤ¤Á¤Ï²Ì¤¿¤·¤Æ¤¤¤ë¡ª"));
-#else
- hooked_roff(format(", but you have avenged %s! ",
- plural(r_ptr->r_deaths, "him", "them")));
-#endif
-
+ hooked_roff(format(
+ _("¤¬¡¢¤¹¤Ç¤ËµØƤ¤Á¤Ï²Ì¤¿¤·¤Æ¤¤¤ë¡ª",
+ (", but you have avenged %s! ", plural(r_ptr->r_deaths, "him", "them")))));
}
/* Unavenged (ever) */
else
{
-#ifdef JP
- hooked_roff(format("¤Î¤Ë¡¢¤Þ¤ÀµØƤ¤Á¤ò²Ì¤¿¤·¤Æ¤¤¤Ê¤¤¡£"));
-#else
- hooked_roff(format(", who %s unavenged. ",
- plural(r_ptr->r_deaths, "remains", "remain")));
-#endif
-
+ hooked_roff(format(
+ _("¤Î¤Ë¡¢¤Þ¤ÀµØƤ¤Á¤ò²Ì¤¿¤·¤Æ¤¤¤Ê¤¤¡£",
+ (", who %s unavenged. ", plural(r_ptr->r_deaths, "remains", "remain")))));
}
/* Start a new line */
/* Dead unique who never hurt us */
else if (dead)
{
-#ifdef JP
- hooked_roff("¤¢¤Ê¤¿¤Ï¤³¤ÎµØŨ¤ò¤¹¤Ç¤ËÁò¤êµî¤Ã¤Æ¤¤¤ë¡£");
-#else
- hooked_roff("You have slain this foe. ");
-#endif
+ hooked_roff(_("¤¢¤Ê¤¿¤Ï¤³¤ÎµØŨ¤ò¤¹¤Ç¤ËÁò¤êµî¤Ã¤Æ¤¤¤ë¡£", "You have slain this foe. "));
/* Start a new line */
hooked_roff("\n");
else if (r_ptr->r_deaths)
{
/* Dead ancestors */
-#ifdef JP
- hooked_roff(format("¤³¤Î¥â¥ó¥¹¥¿¡¼¤Ï¤¢¤Ê¤¿¤ÎÀèÁĤò %d ¿ÍÁò¤Ã¤Æ¤¤¤ë",
- r_ptr->r_deaths ));
-#else
- hooked_roff(format("%d of your ancestors %s been killed by this creature, ",
- r_ptr->r_deaths, plural(r_ptr->r_deaths, "has", "have")));
-#endif
-
+ hooked_roff(format(
+ _(("¤³¤Î¥â¥ó¥¹¥¿¡¼¤Ï¤¢¤Ê¤¿¤ÎÀèÁĤò %d ¿ÍÁò¤Ã¤Æ¤¤¤ë", r_ptr->r_deaths),
+ ("%d of your ancestors %s been killed by this creature, ", r_ptr->r_deaths, plural(r_ptr->r_deaths, "has", "have")))));
/* Some kills this life */
if (r_ptr->r_pkills)
{
-#ifdef JP
- hooked_roff(format("¤¬¡¢¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤÏÅݤ·¤Æ¤¤¤ë¡£", r_ptr->r_pkills));
-#else
- hooked_roff(format("and you have exterminated at least %d of the creatures. ", r_ptr->r_pkills));
-#endif
-
+ hooked_roff(format(
+ _("¤¬¡¢¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤÏÅݤ·¤Æ¤¤¤ë¡£",
+ "and you have exterminated at least %d of the creatures. "), r_ptr->r_pkills));
}
/* Some kills past lives */
else if (r_ptr->r_tkills)
{
-#ifdef JP
- hooked_roff(format("¤¬¡¢%s¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤÏÅݤ·¤Æ¤¤¤ë¡£",
- "¤¢¤Ê¤¿¤ÎÀèÁÄ", r_ptr->r_tkills));
-#else
- hooked_roff(format("and %s have exterminated at least %d of the creatures. ",
- "your ancestors", r_ptr->r_tkills));
-#endif
-
+ hooked_roff(format(
+ _("¤¬¡¢¤¢¤Ê¤¿¤ÎÀèÁĤϤ³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤÏÅݤ·¤Æ¤¤¤ë¡£",
+ "and your ancestors have exterminated at least %d of the creatures. "), r_ptr->r_tkills));
}
/* No kills */
else
{
-#ifdef JP
- hooked_roff(format("¤¬¡¢¤Þ¤À%s¤òÅݤ·¤¿¤³¤È¤Ï¤Ê¤¤¡£", wd_he[msex]));
-#else
- hooked_roff(format("and %s is not ever known to have been defeated. ", wd_he[msex]));
-#endif
-
+ hooked_roff(format(
+ _("¤¬¡¢¤Þ¤À%s¤òÅݤ·¤¿¤³¤È¤Ï¤Ê¤¤¡£",
+ "and %s is not ever known to have been defeated. "), wd_he[msex]));
}
/* Start a new line */
/* Killed some this life */
if (r_ptr->r_pkills)
{
-#ifdef JP
- hooked_roff(format("¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤϻ¦¤·¤Æ¤¤¤ë¡£", r_ptr->r_pkills));
-#else
- hooked_roff(format("You have killed at least %d of these creatures. ", r_ptr->r_pkills));
-#endif
-
+ hooked_roff(format(
+ _("¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤϻ¦¤·¤Æ¤¤¤ë¡£",
+ "You have killed at least %d of these creatures. "), r_ptr->r_pkills));
}
/* Killed some last life */
else if (r_ptr->r_tkills)
{
-#ifdef JP
- hooked_roff(format("¤¢¤Ê¤¿¤ÎÀèÁĤϤ³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤϻ¦¤·¤Æ¤¤¤ë¡£", r_ptr->r_tkills));
-#else
- hooked_roff(format("Your ancestors have killed at least %d of these creatures. ", r_ptr->r_tkills));
-#endif
-
+ hooked_roff(format(
+ _("¤¢¤Ê¤¿¤ÎÀèÁĤϤ³¤Î¥â¥ó¥¹¥¿¡¼¤ò¾¯¤Ê¤¯¤È¤â %d ÂΤϻ¦¤·¤Æ¤¤¤ë¡£",
+ "Your ancestors have killed at least %d of these creatures. "), r_ptr->r_tkills));
}
/* Killed none */
else
{
-#ifdef JP
- hooked_roff("¤³¤Î¥â¥ó¥¹¥¿¡¼¤òÅݤ·¤¿¤³¤È¤Ï¤Ê¤¤¡£");
-#else
- hooked_roff("No battles to the death are recalled. ");
-#endif
+ hooked_roff(_("¤³¤Î¥â¥ó¥¹¥¿¡¼¤òÅݤ·¤¿¤³¤È¤Ï¤Ê¤¤¡£", "No battles to the death are recalled. "));
}
/* Start a new line */
/* Describe location */
if (r_ptr->level == 0)
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏÄ®¤Ë½»¤ß", wd_he[msex]));
-#else
- hooked_roff(format("%^s lives in the town", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤ÏÄ®¤Ë½»¤ß", "%^s lives in the town"), wd_he[msex]));
old = TRUE;
}
else if (r_ptr->r_tkills || know_everything)
{
if (depth_in_feet)
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏÄ̾ïÃϲ¼ %d ¥Õ¥£¡¼¥È¤Ç½Ð¸½¤·",
-#else
- hooked_roff(format("%^s is normally found at depths of %d feet",
-#endif
-
- wd_he[msex], r_ptr->level * 50));
+ hooked_roff(format(
+ _("%^s¤ÏÄ̾ïÃϲ¼ %d ¥Õ¥£¡¼¥È¤Ç½Ð¸½¤·", "%^s is normally found at depths of %d feet"),
+ wd_he[msex], r_ptr->level * 50));
}
else
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏÄ̾ïÃϲ¼ %d ³¬¤Ç½Ð¸½¤·",
-#else
- hooked_roff(format("%^s is normally found on dungeon level %d",
-#endif
-
- wd_he[msex], r_ptr->level));
+ hooked_roff(format(
+ _("%^s¤ÏÄ̾ïÃϲ¼ %d ³¬¤Ç½Ð¸½¤·", "%^s is normally found on dungeon level %d"),
+ wd_he[msex], r_ptr->level));
}
old = TRUE;
}
/* Describe movement */
if (r_idx == MON_CHAMELEON)
{
-#ifdef JP
- hooked_roff("¡¢Â¾¤Î¥â¥ó¥¹¥¿¡¼¤Ë²½¤±¤ë¡£");
-#else
- hooked_roff("and can take the shape of other monster.");
-#endif
+ hooked_roff(_("¡¢Â¾¤Î¥â¥ó¥¹¥¿¡¼¤Ë²½¤±¤ë¡£", "and can take the shape of other monster."));
return;
}
else
/* Introduction */
if (old)
{
-#ifdef JP
- hooked_roff("¡¢");
-#else
- hooked_roff(", and ");
-#endif
-
+ hooked_roff(_("¡¢", ", and "));
}
else
{
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s ", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ï", "%^s "), wd_he[msex]));
old = TRUE;
}
#ifndef JP
/* Adverb */
if ((flags1 & RF1_RAND_50) && (flags1 & RF1_RAND_25))
{
-#ifdef JP
- hooked_roff("¤«¤Ê¤ê");
-#else
- hooked_roff(" extremely");
-#endif
-
+ hooked_roff(_("¤«¤Ê¤ê", " extremely"));
}
else if (flags1 & RF1_RAND_50)
{
-#ifdef JP
- hooked_roff("´öʬ");
-#else
- hooked_roff(" somewhat");
-#endif
-
+ hooked_roff(_("´öʬ", " somewhat"));
}
else if (flags1 & RF1_RAND_25)
{
-#ifdef JP
- hooked_roff("¾¯¡¹");
-#else
- hooked_roff(" a bit");
-#endif
-
+ hooked_roff(_("¾¯¡¹", " a bit"));
}
/* Adjective */
-#ifdef JP
- hooked_roff("ÉÔµ¬Â§¤Ë");
-#else
- hooked_roff(" erratically");
-#endif
-
+ hooked_roff(_("ÉÔµ¬Â§¤Ë", " erratically"));
/* Hack -- Occasional conjunction */
-#ifdef JP
- if (speed != 110) hooked_roff("¡¢¤«¤Ä");
-#else
- if (speed != 110) hooked_roff(", and");
-#endif
-
+ if (speed != 110) hooked_roff(_("¡¢¤«¤Ä", ", and"));
}
/* Speed */
if (speed > 110)
{
-#ifdef JP
- if (speed > 139) hook_c_roff(TERM_RED, "¿®¤¸Æñ¤¤¤Û¤É");
- else if (speed > 134) hook_c_roff(TERM_ORANGE, "ÌÔÎõ¤Ë");
- else if (speed > 129) hook_c_roff(TERM_ORANGE, "Èó¾ï¤Ë");
- else if (speed > 124) hook_c_roff(TERM_UMBER, "¤«¤Ê¤ê");
- else if (speed < 120) hook_c_roff(TERM_L_UMBER, "¤ä¤ä");
- hook_c_roff(TERM_L_RED, "ÁÇÁ᤯");
-#else
- if (speed > 139) hook_c_roff(TERM_RED, " incredibly");
- else if (speed > 134) hook_c_roff(TERM_ORANGE, " extremely");
- else if (speed > 129) hook_c_roff(TERM_ORANGE, " very");
- else if (speed > 124) hook_c_roff(TERM_UMBER, " fairly");
- else if (speed < 120) hook_c_roff(TERM_L_UMBER, " somewhat");
- hook_c_roff(TERM_L_RED, " quickly");
-#endif
-
+ if (speed > 139) hook_c_roff(TERM_RED, _("¿®¤¸Æñ¤¤¤Û¤É", " incredibly"));
+ else if (speed > 134) hook_c_roff(TERM_ORANGE, _("ÌÔÎõ¤Ë", " extremely"));
+ else if (speed > 129) hook_c_roff(TERM_ORANGE, _("Èó¾ï¤Ë", " very"));
+ else if (speed > 124) hook_c_roff(TERM_UMBER, _("¤«¤Ê¤ê", " fairly"));
+ else if (speed < 120) hook_c_roff(TERM_L_UMBER, _("¤ä¤ä", " somewhat"));
+ hook_c_roff(TERM_L_RED, _("ÁÇÁ᤯", " quickly"));
}
else if (speed < 110)
{
-#ifdef JP
- if (speed < 90) hook_c_roff(TERM_L_GREEN, "¿®¤¸Æñ¤¤¤Û¤É");
- else if (speed < 95) hook_c_roff(TERM_BLUE, "Èó¾ï¤Ë");
- else if (speed < 100) hook_c_roff(TERM_BLUE, "¤«¤Ê¤ê");
- else if (speed > 104) hook_c_roff(TERM_GREEN, "¤ä¤ä");
- hook_c_roff(TERM_L_BLUE, "¤æ¤Ã¤¯¤ê¤È");
-#else
- if (speed < 90) hook_c_roff(TERM_L_GREEN, " incredibly");
- else if (speed < 95) hook_c_roff(TERM_BLUE, " very");
- else if (speed < 100) hook_c_roff(TERM_BLUE, " fairly");
- else if (speed > 104) hook_c_roff(TERM_GREEN, " somewhat");
- hook_c_roff(TERM_L_BLUE, " slowly");
-#endif
-
+ if (speed < 90) hook_c_roff(TERM_L_GREEN, _("¿®¤¸Æñ¤¤¤Û¤É", " incredibly"));
+ else if (speed < 95) hook_c_roff(TERM_BLUE, _("Èó¾ï¤Ë", " very"));
+ else if (speed < 100) hook_c_roff(TERM_BLUE, _("¤«¤Ê¤ê", " fairly"));
+ else if (speed > 104) hook_c_roff(TERM_GREEN, _("¤ä¤ä", " somewhat"));
+ hook_c_roff(TERM_L_BLUE, _("¤æ¤Ã¤¯¤ê¤È", " slowly"));
}
else
{
-#ifdef JP
- hooked_roff("ÉáÄ̤ή¤µ¤Ç");
-#else
- hooked_roff(" at normal speed");
-#endif
-
+ hooked_roff(_("ÉáÄ̤ή¤µ¤Ç", " at normal speed"));
}
#ifdef JP
hooked_roff("Æ°¤¤¤Æ¤¤¤ë");
/* Introduce */
if (old)
{
-#ifdef JP
- hooked_roff("¡¢¤·¤«¤·");
-#else
- hooked_roff(", but ");
-#endif
-
+ hooked_roff(_("¡¢¤·¤«¤·", ", but "));
}
else
{
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s ", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ï", "%^s "), wd_he[msex]));
old = TRUE;
}
/* Describe */
-#ifdef JP
- hooked_roff("¿¯Æþ¼Ô¤òÄÉÀפ·¤Ê¤¤");
-#else
- hooked_roff("does not deign to chase intruders");
-#endif
-
+ hooked_roff(_("¿¯Æþ¼Ô¤òÄÉÀפ·¤Ê¤¤", "does not deign to chase intruders"));
}
/* End this sentence */
if (old)
{
-#ifdef JP
- hooked_roff("¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¡£", ". "));
old = FALSE;
}
/* Describe the "quality" */
-#ifdef JP
-if (flags2 & RF2_ELDRITCH_HORROR) hook_c_roff(TERM_VIOLET, "¶¸µ¤¤òͶ¤¦");/*nuke me*/
-#else
- if (flags2 & RF2_ELDRITCH_HORROR) hook_c_roff(TERM_VIOLET, " sanity-blasting");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_ANIMAL) hook_c_roff(TERM_L_GREEN, "¼«Á³³¦¤Î");
-#else
- if (flags3 & RF3_ANIMAL) hook_c_roff(TERM_L_GREEN, " natural");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_EVIL) hook_c_roff(TERM_L_DARK, "¼Ù°¤Ê¤ë");
-#else
- if (flags3 & RF3_EVIL) hook_c_roff(TERM_L_DARK, " evil");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_GOOD) hook_c_roff(TERM_YELLOW, "Á±ÎɤÊ");
-#else
- if (flags3 & RF3_GOOD) hook_c_roff(TERM_YELLOW, " good");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_UNDEAD) hook_c_roff(TERM_VIOLET, "¥¢¥ó¥Ç¥Ã¥É¤Î");
-#else
- if (flags3 & RF3_UNDEAD) hook_c_roff(TERM_VIOLET, " undead");
-#endif
-#ifdef JP
-if (flags3 & RF3_AMBERITE) hook_c_roff(TERM_VIOLET, "¥¢¥ó¥Ð¡¼¤Î²¦Â²¤Î");
-#else
- if (flags3 & RF3_AMBERITE) hook_c_roff(TERM_VIOLET, " Amberite");
-#endif
-
-
- if ((flags3 & (RF3_DRAGON | RF3_DEMON | RF3_GIANT | RF3_TROLL | RF3_ORC)) || (flags2 & (RF2_QUANTUM | RF2_HUMAN)))
- {
- /* Describe the "race" */
-#ifdef JP
- if (flags3 & RF3_DRAGON) hook_c_roff(TERM_ORANGE, "¥É¥é¥´¥ó");
-#else
- if (flags3 & RF3_DRAGON) hook_c_roff(TERM_ORANGE, " dragon");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_DEMON) hook_c_roff(TERM_VIOLET, "¥Ç¡¼¥â¥ó");
-#else
- if (flags3 & RF3_DEMON) hook_c_roff(TERM_VIOLET, " demon");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_GIANT) hook_c_roff(TERM_L_UMBER, "¥¸¥ã¥¤¥¢¥ó¥È");
-#else
- if (flags3 & RF3_GIANT) hook_c_roff(TERM_L_UMBER, " giant");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_TROLL) hook_c_roff(TERM_BLUE, "¥È¥í¥ë");
-#else
- if (flags3 & RF3_TROLL) hook_c_roff(TERM_BLUE, " troll");
-#endif
-
-#ifdef JP
-if (flags3 & RF3_ORC) hook_c_roff(TERM_UMBER, "¥ª¡¼¥¯");
-#else
- if (flags3 & RF3_ORC) hook_c_roff(TERM_UMBER, " orc");
-#endif
-
-#ifdef JP
-if (flags2 & RF2_HUMAN) hook_c_roff(TERM_L_WHITE, "¿Í´Ö");
-#else
- if (flags2 & RF2_HUMAN) hook_c_roff(TERM_L_WHITE, " human");
-#endif
-
-#ifdef JP
-if (flags2 & RF2_QUANTUM) hook_c_roff(TERM_VIOLET, "ÎÌ»ÒÀ¸Êª");
-#else
- if (flags2 & RF2_QUANTUM) hook_c_roff(TERM_VIOLET, " quantum creature");
-#endif
-
- }
-#ifdef JP
-else hooked_roff("¥â¥ó¥¹¥¿¡¼");
-#else
- else hooked_roff(" creature");
-#endif
-
+ if (flags2 & RF2_ELDRITCH_HORROR) hook_c_roff(TERM_VIOLET, _("¶¸µ¤¤òͶ¤¦", " sanity-blasting"));/*nuke me*/
+ if (flags3 & RF3_ANIMAL) hook_c_roff(TERM_L_GREEN, _("¼«Á³³¦¤Î", " natural"));
+ if (flags3 & RF3_EVIL) hook_c_roff(TERM_L_DARK, _("¼Ù°¤Ê¤ë", " evil"));
+ if (flags3 & RF3_GOOD) hook_c_roff(TERM_YELLOW, _("Á±ÎɤÊ", " good"));
+ if (flags3 & RF3_UNDEAD) hook_c_roff(TERM_VIOLET, _("¥¢¥ó¥Ç¥Ã¥É¤Î", " undead"));
+ if (flags3 & RF3_AMBERITE) hook_c_roff(TERM_VIOLET, _("¥¢¥ó¥Ð¡¼¤Î²¦Â²¤Î", " Amberite"));
+
+ if ((flags3 & (RF3_DRAGON | RF3_DEMON | RF3_GIANT | RF3_TROLL | RF3_ORC)) || (flags2 & (RF2_QUANTUM | RF2_HUMAN)))
+ {
+ /* Describe the "race" */
+ if (flags3 & RF3_DRAGON) hook_c_roff(TERM_ORANGE, _("¥É¥é¥´¥ó", " dragon"));
+ if (flags3 & RF3_DEMON) hook_c_roff(TERM_VIOLET, _("¥Ç¡¼¥â¥ó", " demon"));
+ if (flags3 & RF3_GIANT) hook_c_roff(TERM_L_UMBER, _("¥¸¥ã¥¤¥¢¥ó¥È", " giant"));
+ if (flags3 & RF3_TROLL) hook_c_roff(TERM_BLUE, _("¥È¥í¥ë", " troll"));
+ if (flags3 & RF3_ORC) hook_c_roff(TERM_UMBER, _("¥ª¡¼¥¯", " orc"));
+ if (flags2 & RF2_HUMAN) hook_c_roff(TERM_L_WHITE, _("¿Í´Ö", " human"));
+ if (flags2 & RF2_QUANTUM) hook_c_roff(TERM_VIOLET, _("ÎÌ»ÒÀ¸Êª", " quantum creature"));
+ }
+ else
+ {
+ hooked_roff(_("¥â¥ó¥¹¥¿¡¼", " creature"));
+ }
#ifdef JP
hooked_roff("¤òÅݤ¹¤³¤È¤Ï");
if ((flags2 & RF2_AURA_FIRE) && (flags2 & RF2_AURA_ELEC) && (flags3 & RF3_AURA_COLD))
{
-#ifdef JP
- hook_c_roff(TERM_VIOLET, format("%^s¤Ï±ê¤Èɹ¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_VIOLET, format("%^s is surrounded by flames, ice and electricity. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_VIOLET, format(
+ _("%^s¤Ï±ê¤Èɹ¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by flames, ice and electricity. "), wd_he[msex]));
}
else if ((flags2 & RF2_AURA_FIRE) && (flags2 & RF2_AURA_ELEC))
{
-#ifdef JP
- hook_c_roff(TERM_L_RED, format("%^s¤Ï±ê¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_L_RED, format("%^s is surrounded by flames and electricity. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_L_RED, format(
+ _("%^s¤Ï±ê¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by flames and electricity. "), wd_he[msex]));
}
else if ((flags2 & RF2_AURA_FIRE) && (flags3 & RF3_AURA_COLD))
{
-#ifdef JP
- hook_c_roff(TERM_BLUE, format("%^s¤Ï±ê¤Èɹ¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_BLUE, format("%^s is surrounded by flames and ice. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_BLUE, format(
+ _("%^s¤Ï±ê¤Èɹ¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by flames and ice. "), wd_he[msex]));
}
else if ((flags3 & RF3_AURA_COLD) && (flags2 & RF2_AURA_ELEC))
{
-#ifdef JP
- hook_c_roff(TERM_L_GREEN, format("%^s¤Ïɹ¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_L_GREEN, format("%^s is surrounded by ice and electricity. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_L_GREEN, format(
+ _("%^s¤Ïɹ¤È¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by ice and electricity. "), wd_he[msex]));
}
else if (flags2 & RF2_AURA_FIRE)
{
-#ifdef JP
- hook_c_roff(TERM_RED, format("%^s¤Ï±ê¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_RED, format("%^s is surrounded by flames. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_RED, format(
+ _("%^s¤Ï±ê¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by flames. "), wd_he[msex]));
}
else if (flags3 & RF3_AURA_COLD)
{
-#ifdef JP
- hook_c_roff(TERM_BLUE, format("%^s¤Ïɹ¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_BLUE, format("%^s is surrounded by ice. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_BLUE, format(
+ _("%^s¤Ïɹ¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by ice. "), wd_he[msex]));
}
else if (flags2 & RF2_AURA_ELEC)
{
-#ifdef JP
- hook_c_roff(TERM_L_BLUE, format("%^s¤Ï¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", wd_he[msex]));
-#else
- hook_c_roff(TERM_L_BLUE, format("%^s is surrounded by electricity. ", wd_he[msex]));
-#endif
+ hook_c_roff(TERM_L_BLUE, format(
+ _("%^s¤Ï¥¹¥Ñ¡¼¥¯¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "%^s is surrounded by electricity. "), wd_he[msex]));
}
if (flags2 & RF2_REFLECTING)
- {
-#ifdef JP
- hooked_roff(format("%^s¤ÏÌð¤Î¼öʸ¤òÄ·¤ÍÊÖ¤¹¡£", wd_he[msex]));
-#else
- hooked_roff(format("%^s reflects bolt spells. ", wd_he[msex]));
-#endif
-
- }
+ hooked_roff(format(_("%^s¤ÏÌð¤Î¼öʸ¤òÄ·¤ÍÊÖ¤¹¡£", "%^s reflects bolt spells. "), wd_he[msex]));
/* Describe escorts */
if ((flags1 & RF1_ESCORT) || (flags1 & RF1_ESCORTS) || reinforce)
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏÄ̾ï¸î±Ò¤òȼ¤Ã¤Æ¸½¤ì¤ë¡£",
-#else
- hooked_roff(format("%^s usually appears with escorts. ",
-#endif
- wd_he[msex]));
+ hooked_roff(format(
+ _("%^s¤ÏÄ̾ï¸î±Ò¤òȼ¤Ã¤Æ¸½¤ì¤ë¡£", "%^s usually appears with escorts. "), wd_he[msex]));
if(reinforce)
{
-#ifdef JP
- hooked_roff("¸î±Ò¤Î¹½À®¤Ï");
+ hooked_roff(_("¸î±Ò¤Î¹½À®¤Ï", "These escorts"));
if((flags1 & RF1_ESCORT) || (flags1 & RF1_ESCORTS))
{
- hooked_roff("¾¯¤Ê¤¯¤È¤â");
- }
-#else
- hooked_roff("These escorts");
- if((flags1 & RF1_ESCORT) || (flags1 & RF1_ESCORTS))
- {
- hooked_roff(" at the least");
+ hooked_roff(_("¾¯¤Ê¤¯¤È¤â", " at the least"));
}
+#ifndef JP
hooked_roff(" contain ");
#endif
for(n = 0; n < 6; n++)
{
-#ifdef JP
if(r_ptr->reinforce_id[n] && r_ptr->reinforce_dd[n] && r_ptr->reinforce_ds[n])
{
monster_race *rf_ptr = &r_info[r_ptr->reinforce_id[n]];
if(rf_ptr->flags1 & RF1_UNIQUE)
{
- hooked_roff(format("¡¢%s", r_name + rf_ptr->name));
+ hooked_roff(format(_("¡¢%s", ", %s"), r_name + rf_ptr->name));
}
else
{
+#ifdef JP
hooked_roff(format("¡¢ %dd%d ÂΤÎ%s", r_ptr->reinforce_dd[n], r_ptr->reinforce_ds[n],
r_name + rf_ptr->name));
- }
- }
#else
- if(r_ptr->reinforce_id[n] && r_ptr->reinforce_dd[n] && r_ptr->reinforce_ds[n])
- {
- monster_race *rf_ptr = &r_info[r_ptr->reinforce_id[n]];
- if(rf_ptr->flags1 & RF1_UNIQUE)
- {
- hooked_roff(format(", %s", r_name + rf_ptr->name));
- }
- else
- {
bool plural = (r_ptr->reinforce_dd[n] * r_ptr->reinforce_ds[n] > 1);
char name[80];
strcpy(name, r_name + rf_ptr->name);
if(plural) plural_aux(name);
hooked_roff(format(",%dd%d %s", r_ptr->reinforce_dd[n], r_ptr->reinforce_ds[n], name));
+#endif
}
}
-#endif
}
-#ifdef JP
- hooked_roff("¤ÇÀ®¤êΩ¤Ã¤Æ¤¤¤ë¡£");
-#else
- hooked_roff(".");
-#endif
+ hooked_roff(_("¤ÇÀ®¤êΩ¤Ã¤Æ¤¤¤ë¡£", "."));
}
}
/* Describe friends */
else if (flags1 & RF1_FRIENDS)
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏÄ̾クÃĤǸ½¤ì¤ë¡£",
-#else
- hooked_roff(format("%^s usually appears in groups. ",
-#endif
-
- wd_he[msex]));
+ hooked_roff(format(_("%^s¤ÏÄ̾クÃĤǸ½¤ì¤ë¡£", "%^s usually appears in groups. "), wd_he[msex]));
}
/* Collect inate attacks */
vn = 0;
-#ifdef JP
- if (flags4 & RF4_SHRIEK) {vp[vn] = "ÈáÌĤǽõ¤±¤òµá¤á¤ë";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags4 & RF4_SHRIEK) {vp[vn] = "shriek for help";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
- if (flags4 & RF4_ROCKET) {vp[vn] = "¥í¥±¥Ã¥È¤òȯ¼Í¤¹¤ë";color[vn++] = TERM_UMBER;}
-#else
- if (flags4 & RF4_ROCKET) {vp[vn] = "shoot a rocket";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
- if (flags4 & RF4_SHOOT) {vp[vn] = "¼Í·â¤ò¤¹¤ë";color[vn++] = TERM_UMBER;}
-#else
- if (flags4 & RF4_SHOOT) {vp[vn] = "fire an arrow";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
- if (flags6 & (RF6_SPECIAL)) {vp[vn] = "ÆÃÊ̤ʹÔÆ°¤ò¤¹¤ë";color[vn++] = TERM_VIOLET;}
-#else
- if (flags6 & (RF6_SPECIAL)) {vp[vn] = "do something";color[vn++] = TERM_VIOLET;}
-#endif
+ if (flags4 & RF4_SHRIEK) { vp[vn] = _("ÈáÌĤǽõ¤±¤òµá¤á¤ë", "shriek for help"); color[vn++] = TERM_L_WHITE; }
+ if (flags4 & RF4_ROCKET) { vp[vn] = _("¥í¥±¥Ã¥È¤òȯ¼Í¤¹¤ë", "shoot a rocket"); color[vn++] = TERM_UMBER; }
+ if (flags4 & RF4_SHOOT) { vp[vn] = _("¼Í·â¤ò¤¹¤ë", "fire an arrow"); color[vn++] = TERM_UMBER; }
+ if (flags6 & (RF6_SPECIAL)) { vp[vn] = _("ÆÃÊ̤ʹÔÆ°¤ò¤¹¤ë", "do something"); color[vn++] = TERM_VIOLET; }
/* Describe inate attacks */
if (vn)
{
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s", wd_he[msex]));
-#endif
+ hooked_roff(format(_("%^s¤Ï", "%^s"), wd_he[msex]));
/* Scan */
}
/* End */
-#ifdef JP
- hooked_roff("¤³¤È¤¬¤¢¤ë¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¤³¤È¤¬¤¢¤ë¡£", ". "));
}
/* Collect breaths */
vn = 0;
-#ifdef JP
- if (flags4 & (RF4_BR_ACID)) {vp[vn] = "»À";color[vn++] = TERM_GREEN;}
-#else
- if (flags4 & (RF4_BR_ACID)) {vp[vn] = "acid";color[vn++] = TERM_GREEN;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_ELEC)) {vp[vn] = "°ðºÊ";color[vn++] = TERM_BLUE;}
-#else
- if (flags4 & (RF4_BR_ELEC)) {vp[vn] = "lightning";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_FIRE)) {vp[vn] = "²Ð±ê";color[vn++] = TERM_RED;}
-#else
- if (flags4 & (RF4_BR_FIRE)) {vp[vn] = "fire";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_COLD)) {vp[vn] = "Î䵤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags4 & (RF4_BR_COLD)) {vp[vn] = "frost";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_POIS)) {vp[vn] = "ÆÇ";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags4 & (RF4_BR_POIS)) {vp[vn] = "poison";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_NETH)) {vp[vn] = "ÃϹö";color[vn++] = TERM_L_DARK;}
-#else
- if (flags4 & (RF4_BR_NETH)) {vp[vn] = "nether";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_LITE)) {vp[vn] = "Á®¸÷";color[vn++] = TERM_YELLOW;}
-#else
- if (flags4 & (RF4_BR_LITE)) {vp[vn] = "light";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_DARK)) {vp[vn] = "°Å¹õ";color[vn++] = TERM_L_DARK;}
-#else
- if (flags4 & (RF4_BR_DARK)) {vp[vn] = "darkness";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_CONF)) {vp[vn] = "º®Íð";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags4 & (RF4_BR_CONF)) {vp[vn] = "confusion";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_SOUN)) {vp[vn] = "¹ì²»";color[vn++] = TERM_ORANGE;}
-#else
- if (flags4 & (RF4_BR_SOUN)) {vp[vn] = "sound";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_CHAO)) {vp[vn] = "¥«¥ª¥¹";color[vn++] = TERM_VIOLET;}
-#else
- if (flags4 & (RF4_BR_CHAO)) {vp[vn] = "chaos";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_DISE)) {vp[vn] = "Îô²½";color[vn++] = TERM_VIOLET;}
-#else
- if (flags4 & (RF4_BR_DISE)) {vp[vn] = "disenchantment";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_NEXU)) {vp[vn] = "°ø²Ìº®Íð";color[vn++] = TERM_VIOLET;}
-#else
- if (flags4 & (RF4_BR_NEXU)) {vp[vn] = "nexus";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_TIME)) {vp[vn] = "»þ´ÖµÕž";color[vn++] = TERM_L_BLUE;}
-#else
- if (flags4 & (RF4_BR_TIME)) {vp[vn] = "time";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_INER)) {vp[vn] = "ÃÙÆß";color[vn++] = TERM_SLATE;}
-#else
- if (flags4 & (RF4_BR_INER)) {vp[vn] = "inertia";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_GRAV)) {vp[vn] = "½ÅÎÏ";color[vn++] = TERM_SLATE;}
-#else
- if (flags4 & (RF4_BR_GRAV)) {vp[vn] = "gravity";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_SHAR)) {vp[vn] = "ÇËÊÒ";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags4 & (RF4_BR_SHAR)) {vp[vn] = "shards";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_PLAS)) {vp[vn] = "¥×¥é¥º¥Þ";color[vn++] = TERM_L_RED;}
-#else
- if (flags4 & (RF4_BR_PLAS)) {vp[vn] = "plasma";color[vn++] = TERM_L_RED;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_WALL)) {vp[vn] = "¥Õ¥©¡¼¥¹";color[vn++] = TERM_UMBER;}
-#else
- if (flags4 & (RF4_BR_WALL)) {vp[vn] = "force";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_MANA)) {vp[vn] = "ËâÎÏ";color[vn++] = TERM_L_BLUE;}
-#else
- if (flags4 & (RF4_BR_MANA)) {vp[vn] = "mana";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_NUKE)) {vp[vn] = "Êü¼ÍÀÇÑ´þʪ";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags4 & (RF4_BR_NUKE)) {vp[vn] = "toxic waste";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
- if (flags4 & (RF4_BR_DISI)) {vp[vn] = "ʬ²ò";color[vn++] = TERM_SLATE;}
-#else
- if (flags4 & (RF4_BR_DISI)) {vp[vn] = "disintegration";color[vn++] = TERM_SLATE;}
-#endif
-
+ if (flags4 & (RF4_BR_ACID)) { vp[vn] = _("»À", "acid"); color[vn++] = TERM_GREEN; }
+ if (flags4 & (RF4_BR_ELEC)) { vp[vn] = _("°ðºÊ", "lightning"); color[vn++] = TERM_BLUE; }
+ if (flags4 & (RF4_BR_FIRE)) { vp[vn] = _("²Ð±ê", "fire"); color[vn++] = TERM_RED; }
+ if (flags4 & (RF4_BR_COLD)) { vp[vn] = _("Î䵤", "frost"); color[vn++] = TERM_L_WHITE; }
+ if (flags4 & (RF4_BR_POIS)) { vp[vn] = _("ÆÇ", "poison"); color[vn++] = TERM_L_GREEN; }
+ if (flags4 & (RF4_BR_NETH)) { vp[vn] = _("ÃϹö", "nether"); color[vn++] = TERM_L_DARK; }
+ if (flags4 & (RF4_BR_LITE)) { vp[vn] = _("Á®¸÷", "light"); color[vn++] = TERM_YELLOW; }
+ if (flags4 & (RF4_BR_DARK)) { vp[vn] = _("°Å¹õ", "darkness"); color[vn++] = TERM_L_DARK; }
+ if (flags4 & (RF4_BR_CONF)) { vp[vn] = _("º®Íð", "confusion"); color[vn++] = TERM_L_UMBER; }
+ if (flags4 & (RF4_BR_SOUN)) { vp[vn] = _("¹ì²»", "sound"); color[vn++] = TERM_ORANGE; }
+ if (flags4 & (RF4_BR_CHAO)) { vp[vn] = _("¥«¥ª¥¹", "chaos"); color[vn++] = TERM_VIOLET; }
+ if (flags4 & (RF4_BR_DISE)) { vp[vn] = _("Îô²½", "disenchantment"); color[vn++] = TERM_VIOLET; }
+ if (flags4 & (RF4_BR_NEXU)) { vp[vn] = _("°ø²Ìº®Íð", "nexus"); color[vn++] = TERM_VIOLET; }
+ if (flags4 & (RF4_BR_TIME)) { vp[vn] = _("»þ´ÖµÕž", "time"); color[vn++] = TERM_L_BLUE; }
+ if (flags4 & (RF4_BR_INER)) { vp[vn] = _("ÃÙÆß", "inertia"); color[vn++] = TERM_SLATE; }
+ if (flags4 & (RF4_BR_GRAV)) { vp[vn] = _("½ÅÎÏ", "gravity"); color[vn++] = TERM_SLATE; }
+ if (flags4 & (RF4_BR_SHAR)) { vp[vn] = _("ÇËÊÒ", "shards"); color[vn++] = TERM_L_UMBER; }
+ if (flags4 & (RF4_BR_PLAS)) { vp[vn] = _("¥×¥é¥º¥Þ", "plasma"); color[vn++] = TERM_L_RED; }
+ if (flags4 & (RF4_BR_WALL)) { vp[vn] = _("¥Õ¥©¡¼¥¹", "force"); color[vn++] = TERM_UMBER; }
+ if (flags4 & (RF4_BR_MANA)) { vp[vn] = _("ËâÎÏ", "mana"); color[vn++] = TERM_L_BLUE; }
+ if (flags4 & (RF4_BR_NUKE)) { vp[vn] = _("Êü¼ÍÀÇÑ´þʪ", "toxic waste"); color[vn++] = TERM_L_GREEN; }
+ if (flags4 & (RF4_BR_DISI)) { vp[vn] = _("ʬ²ò", "disintegration"); color[vn++] = TERM_SLATE; }
/* Describe breaths */
if (vn)
breath = TRUE;
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ï", "%^s"), wd_he[msex]));
/* Scan */
for (n = 0; n < vn; n++)
/* Collect spells */
- vn = 0;
-#ifdef JP
-if (flags5 & (RF5_BA_ACID)) {vp[vn] = "¥¢¥·¥Ã¥É¡¦¥Ü¡¼¥ë";color[vn++] = TERM_GREEN;}
-#else
- if (flags5 & (RF5_BA_ACID)) {vp[vn] = "produce acid balls";color[vn++] = TERM_GREEN;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_ELEC)) {vp[vn] = "¥µ¥ó¥À¡¼¡¦¥Ü¡¼¥ë";color[vn++] = TERM_BLUE;}
-#else
- if (flags5 & (RF5_BA_ELEC)) {vp[vn] = "produce lightning balls";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_FIRE)) {vp[vn] = "¥Õ¥¡¥¤¥¢¡¦¥Ü¡¼¥ë";color[vn++] = TERM_RED;}
-#else
- if (flags5 & (RF5_BA_FIRE)) {vp[vn] = "produce fire balls";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_COLD)) {vp[vn] = "¥¢¥¤¥¹¡¦¥Ü¡¼¥ë";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_BA_COLD)) {vp[vn] = "produce frost balls";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_POIS)) {vp[vn] = "°½±À";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags5 & (RF5_BA_POIS)) {vp[vn] = "produce poison balls";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_NETH)) {vp[vn] = "ÃϹöµå";color[vn++] = TERM_L_DARK;}
-#else
- if (flags5 & (RF5_BA_NETH)) {vp[vn] = "produce nether balls";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_WATE)) {vp[vn] = "¥¦¥©¡¼¥¿¡¼¡¦¥Ü¡¼¥ë";color[vn++] = TERM_BLUE;}
-#else
- if (flags5 & (RF5_BA_WATE)) {vp[vn] = "produce water balls";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags4 & (RF4_BA_NUKE)) {vp[vn] = "Êü¼Íǽµå";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags4 & (RF4_BA_NUKE)) {vp[vn] = "produce balls of radiation";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_MANA)) {vp[vn] = "ËâÎϤÎÍò";color[vn++] = TERM_L_BLUE;}
-#else
- if (flags5 & (RF5_BA_MANA)) {vp[vn] = "invoke mana storms";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_DARK)) {vp[vn] = "°Å¹õ¤ÎÍò";color[vn++] = TERM_L_DARK;}
-#else
- if (flags5 & (RF5_BA_DARK)) {vp[vn] = "invoke darkness storms";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BA_LITE)) {vp[vn] = "¥¹¥¿¡¼¥Ð¡¼¥¹¥È";color[vn++] = TERM_YELLOW;}
-#else
- if (flags5 & (RF5_BA_LITE)) {vp[vn] = "invoke starburst";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
-if (flags4 & (RF4_BA_CHAO)) {vp[vn] = "½ã¥í¥°¥ë¥¹";color[vn++] = TERM_VIOLET;}
-#else
- if (flags4 & (RF4_BA_CHAO)) {vp[vn] = "invoke raw Logrus";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_HAND_DOOM)) {vp[vn] = "ÇËÌǤμê";color[vn++] = TERM_VIOLET;}
-#else
- if (flags6 & (RF6_HAND_DOOM)) {vp[vn] = "invoke the Hand of Doom";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_PSY_SPEAR)) {vp[vn] = "¸÷¤Î·õ";color[vn++] = TERM_YELLOW;}
-#else
- if (flags6 & (RF6_PSY_SPEAR)) {vp[vn] = "psycho-spear";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_DRAIN_MANA)) {vp[vn] = "ËâÎϵۼý";color[vn++] = TERM_SLATE;}
-#else
- if (flags5 & (RF5_DRAIN_MANA)) {vp[vn] = "drain mana";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_MIND_BLAST)) {vp[vn] = "Àº¿À¹¶·â";color[vn++] = TERM_L_RED;}
-#else
- if (flags5 & (RF5_MIND_BLAST)) {vp[vn] = "cause mind blasting";color[vn++] = TERM_L_RED;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BRAIN_SMASH)) {vp[vn] = "Ǿ¹¶·â";color[vn++] = TERM_RED;}
-#else
- if (flags5 & (RF5_BRAIN_SMASH)) {vp[vn] = "cause brain smashing";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_CAUSE_1)) {vp[vn] = "·Ú½ý¡Ü¼ö¤¤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_CAUSE_1)) {vp[vn] = "cause light wounds and cursing";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_CAUSE_2)) {vp[vn] = "½Å½ý¡Ü¼ö¤¤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_CAUSE_2)) {vp[vn] = "cause serious wounds and cursing";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_CAUSE_3)) {vp[vn] = "Ã×Ì¿½ý¡Ü¼ö¤¤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_CAUSE_3)) {vp[vn] = "cause critical wounds and cursing";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_CAUSE_4)) {vp[vn] = "È빦¤òÆͤ¯";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_CAUSE_4)) {vp[vn] = "cause mortal wounds";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_ACID)) {vp[vn] = "¥¢¥·¥Ã¥É¡¦¥Ü¥ë¥È";color[vn++] = TERM_GREEN;}
-#else
- if (flags5 & (RF5_BO_ACID)) {vp[vn] = "produce acid bolts";color[vn++] = TERM_GREEN;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_ELEC)) {vp[vn] = "¥µ¥ó¥À¡¼¡¦¥Ü¥ë¥È";color[vn++] = TERM_BLUE;}
-#else
- if (flags5 & (RF5_BO_ELEC)) {vp[vn] = "produce lightning bolts";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_FIRE)) {vp[vn] = "¥Õ¥¡¥¤¥¢¡¦¥Ü¥ë¥È";color[vn++] = TERM_RED;}
-#else
- if (flags5 & (RF5_BO_FIRE)) {vp[vn] = "produce fire bolts";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_COLD)) {vp[vn] = "¥¢¥¤¥¹¡¦¥Ü¥ë¥È";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags5 & (RF5_BO_COLD)) {vp[vn] = "produce frost bolts";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_NETH)) {vp[vn] = "ÃϹö¤ÎÌð";color[vn++] = TERM_L_DARK;}
-#else
- if (flags5 & (RF5_BO_NETH)) {vp[vn] = "produce nether bolts";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_WATE)) {vp[vn] = "¥¦¥©¡¼¥¿¡¼¡¦¥Ü¥ë¥È";color[vn++] = TERM_BLUE;}
-#else
- if (flags5 & (RF5_BO_WATE)) {vp[vn] = "produce water bolts";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_MANA)) {vp[vn] = "ËâÎϤÎÌð";color[vn++] = TERM_L_BLUE;}
-#else
- if (flags5 & (RF5_BO_MANA)) {vp[vn] = "produce mana bolts";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_PLAS)) {vp[vn] = "¥×¥é¥º¥Þ¡¦¥Ü¥ë¥È";color[vn++] = TERM_L_RED;}
-#else
- if (flags5 & (RF5_BO_PLAS)) {vp[vn] = "produce plasma bolts";color[vn++] = TERM_L_RED;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BO_ICEE)) {vp[vn] = "¶Ë´¨¤ÎÌð";color[vn++] = TERM_WHITE;}
-#else
- if (flags5 & (RF5_BO_ICEE)) {vp[vn] = "produce ice bolts";color[vn++] = TERM_WHITE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_MISSILE)) {vp[vn] = "¥Þ¥¸¥Ã¥¯¥ß¥µ¥¤¥ë";color[vn++] = TERM_SLATE;}
-#else
- if (flags5 & (RF5_MISSILE)) {vp[vn] = "produce magic missiles";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_SCARE)) {vp[vn] = "¶²ÉÝ";color[vn++] = TERM_SLATE;}
-#else
- if (flags5 & (RF5_SCARE)) {vp[vn] = "terrify";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_BLIND)) {vp[vn] = "Ìܤ¯¤é¤Þ¤·";color[vn++] = TERM_L_DARK;}
-#else
- if (flags5 & (RF5_BLIND)) {vp[vn] = "blind";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_CONF)) {vp[vn] = "º®Íð";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags5 & (RF5_CONF)) {vp[vn] = "confuse";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_SLOW)) {vp[vn] = "¸ºÂ®";color[vn++] = TERM_UMBER;}
-#else
- if (flags5 & (RF5_SLOW)) {vp[vn] = "slow";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
-if (flags5 & (RF5_HOLD)) {vp[vn] = "Ëãáã";color[vn++] = TERM_RED;}
-#else
- if (flags5 & (RF5_HOLD)) {vp[vn] = "paralyze";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_HASTE)) {vp[vn] = "²Ã®";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags6 & (RF6_HASTE)) {vp[vn] = "haste-self";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_HEAL)) {vp[vn] = "¼£Ìþ";color[vn++] = TERM_WHITE;}
-#else
- if (flags6 & (RF6_HEAL)) {vp[vn] = "heal-self";color[vn++] = TERM_WHITE;}
-#endif
-
-#ifdef JP
- if (flags6 & (RF6_INVULNER)) {vp[vn] = "̵Ũ²½";color[vn++] = TERM_WHITE;}
-#else
- if (flags6 & (RF6_INVULNER)) {vp[vn] = "make invulnerable";color[vn++] = TERM_WHITE;}
-#endif
-
-#ifdef JP
-if (flags4 & RF4_DISPEL) {vp[vn] = "ËâÎϾõî";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags4 & RF4_DISPEL) {vp[vn] = "dispel-magic";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_BLINK)) {vp[vn] = "¥·¥ç¡¼¥È¥Æ¥ì¥Ý¡¼¥È";color[vn++] = TERM_UMBER;}
-#else
- if (flags6 & (RF6_BLINK)) {vp[vn] = "blink-self";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_TPORT)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È";color[vn++] = TERM_ORANGE;}
-#else
- if (flags6 & (RF6_TPORT)) {vp[vn] = "teleport-self";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_WORLD)) {vp[vn] = "»þ¤ò»ß¤á¤ë";color[vn++] = TERM_L_BLUE;}
-#else
- if (flags6 & (RF6_WORLD)) {vp[vn] = "stop the time";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_TELE_TO)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È¥Ð¥Ã¥¯";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags6 & (RF6_TELE_TO)) {vp[vn] = "teleport to";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_TELE_AWAY)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È¥¢¥¦¥§¥¤";color[vn++] = TERM_UMBER;}
-#else
- if (flags6 & (RF6_TELE_AWAY)) {vp[vn] = "teleport away";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_TELE_LEVEL)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È¡¦¥ì¥Ù¥ë";color[vn++] = TERM_ORANGE;}
-#else
- if (flags6 & (RF6_TELE_LEVEL)) {vp[vn] = "teleport level";color[vn++] = TERM_ORANGE;}
-#endif
-
- if (flags6 & (RF6_DARKNESS))
- {
- if ((p_ptr->pclass != CLASS_NINJA) || (r_ptr->flags3 & (RF3_UNDEAD | RF3_HURT_LITE)) || (r_ptr->flags7 & RF7_DARK_MASK))
- {
-#ifdef JP
- vp[vn] = "°Å°Ç"; color[vn++] = TERM_L_DARK;
-#else
- vp[vn] = "create darkness"; color[vn++] = TERM_L_DARK;
-#endif
- }
- else
- {
-#ifdef JP
- vp[vn] = "Á®¸÷"; color[vn++] = TERM_YELLOW;
-#else
- vp[vn] = "create light"; color[vn++] = TERM_YELLOW;
-#endif
- }
- }
-
-#ifdef JP
-if (flags6 & (RF6_TRAPS)) {vp[vn] = "¥È¥é¥Ã¥×";color[vn++] = TERM_BLUE;}
-#else
- if (flags6 & (RF6_TRAPS)) {vp[vn] = "create traps";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_FORGET)) {vp[vn] = "µ²±¾Ãµî";color[vn++] = TERM_BLUE;}
-#else
- if (flags6 & (RF6_FORGET)) {vp[vn] = "cause amnesia";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_RAISE_DEAD)) {vp[vn] = "»à¼ÔÉü³è";color[vn++] = TERM_RED;}
-#else
- if (flags6 & (RF6_RAISE_DEAD)) {vp[vn] = "raise dead";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_MONSTER)) {vp[vn] = "¥â¥ó¥¹¥¿¡¼°ìÂξ¤´";color[vn++] = TERM_SLATE;}
-#else
- if (flags6 & (RF6_S_MONSTER)) {vp[vn] = "summon a monster";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_MONSTERS)) {vp[vn] = "¥â¥ó¥¹¥¿¡¼Ê£¿ô¾¤´";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags6 & (RF6_S_MONSTERS)) {vp[vn] = "summon monsters";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_KIN)) {vp[vn] = "µß±ç¾¤´";color[vn++] = TERM_ORANGE;}
-#else
- if (flags6 & (RF6_S_KIN)) {vp[vn] = "summon aid";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_ANT)) {vp[vn] = "¥¢¥ê¾¤´";color[vn++] = TERM_RED;}
-#else
- if (flags6 & (RF6_S_ANT)) {vp[vn] = "summon ants";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_SPIDER)) {vp[vn] = "¥¯¥â¾¤´";color[vn++] = TERM_L_DARK;}
-#else
- if (flags6 & (RF6_S_SPIDER)) {vp[vn] = "summon spiders";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_HOUND)) {vp[vn] = "¥Ï¥¦¥ó¥É¾¤´";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags6 & (RF6_S_HOUND)) {vp[vn] = "summon hounds";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_HYDRA)) {vp[vn] = "¥Ò¥É¥é¾¤´";color[vn++] = TERM_L_GREEN;}
-#else
- if (flags6 & (RF6_S_HYDRA)) {vp[vn] = "summon hydras";color[vn++] = TERM_L_GREEN;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_ANGEL)) {vp[vn] = "Å·»È°ìÂξ¤´";color[vn++] = TERM_YELLOW;}
-#else
- if (flags6 & (RF6_S_ANGEL)) {vp[vn] = "summon an angel";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_DEMON)) {vp[vn] = "¥Ç¡¼¥â¥ó°ìÂξ¤´";color[vn++] = TERM_L_RED;}
-#else
- if (flags6 & (RF6_S_DEMON)) {vp[vn] = "summon a demon";color[vn++] = TERM_L_RED;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_UNDEAD)) {vp[vn] = "¥¢¥ó¥Ç¥Ã¥É°ìÂξ¤´";color[vn++] = TERM_L_DARK;}
-#else
- if (flags6 & (RF6_S_UNDEAD)) {vp[vn] = "summon an undead";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_DRAGON)) {vp[vn] = "¥É¥é¥´¥ó°ìÂξ¤´";color[vn++] = TERM_ORANGE;}
-#else
- if (flags6 & (RF6_S_DRAGON)) {vp[vn] = "summon a dragon";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_HI_UNDEAD)) {vp[vn] = "¶¯ÎϤʥ¢¥ó¥Ç¥Ã¥É¾¤´";color[vn++] = TERM_L_DARK;}
-#else
- if (flags6 & (RF6_S_HI_UNDEAD)) {vp[vn] = "summon Greater Undead";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_HI_DRAGON)) {vp[vn] = "¸ÅÂå¥É¥é¥´¥ó¾¤´";color[vn++] = TERM_ORANGE;}
-#else
- if (flags6 & (RF6_S_HI_DRAGON)) {vp[vn] = "summon Ancient Dragons";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_CYBER)) {vp[vn] = "¥µ¥¤¥Ð¡¼¥Ç¡¼¥â¥ó¾¤´";color[vn++] = TERM_UMBER;}
-#else
- if (flags6 & (RF6_S_CYBER)) {vp[vn] = "summon Cyberdemons";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
-if (flags6 & (RF6_S_AMBERITES)) {vp[vn] = "¥¢¥ó¥Ð¡¼¤Î²¦Â²¾¤´";color[vn++] = TERM_VIOLET;}
-#else
- if (flags6 & (RF6_S_AMBERITES)) {vp[vn] = "summon Lords of Amber";color[vn++] = TERM_VIOLET;}
-#endif
+ vn = 0;
+ if (flags5 & (RF5_BA_ACID)) { vp[vn] = _("¥¢¥·¥Ã¥É¡¦¥Ü¡¼¥ë", "produce acid balls"); color[vn++] = TERM_GREEN; }
+ if (flags5 & (RF5_BA_ELEC)) { vp[vn] = _("¥µ¥ó¥À¡¼¡¦¥Ü¡¼¥ë", "produce lightning balls"); color[vn++] = TERM_BLUE; }
+ if (flags5 & (RF5_BA_FIRE)) { vp[vn] = _("¥Õ¥¡¥¤¥¢¡¦¥Ü¡¼¥ë", "produce fire balls"); color[vn++] = TERM_RED; }
+ if (flags5 & (RF5_BA_COLD)) { vp[vn] = _("¥¢¥¤¥¹¡¦¥Ü¡¼¥ë", "produce frost balls"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_BA_POIS)) { vp[vn] = _("°½±À", "produce poison balls"); color[vn++] = TERM_L_GREEN; }
+ if (flags5 & (RF5_BA_NETH)) { vp[vn] = _("ÃϹöµå", "produce nether balls"); color[vn++] = TERM_L_DARK; }
+ if (flags5 & (RF5_BA_WATE)) { vp[vn] = _("¥¦¥©¡¼¥¿¡¼¡¦¥Ü¡¼¥ë", "produce water balls"); color[vn++] = TERM_BLUE; }
+ if (flags4 & (RF4_BA_NUKE)) { vp[vn] = _("Êü¼Íǽµå", "produce balls of radiation"); color[vn++] = TERM_L_GREEN; }
+ if (flags5 & (RF5_BA_MANA)) { vp[vn] = _("ËâÎϤÎÍò", "invoke mana storms"); color[vn++] = TERM_L_BLUE; }
+ if (flags5 & (RF5_BA_DARK)) { vp[vn] = _("°Å¹õ¤ÎÍò", "invoke darkness storms"); color[vn++] = TERM_L_DARK; }
+ if (flags5 & (RF5_BA_LITE)) { vp[vn] = _("¥¹¥¿¡¼¥Ð¡¼¥¹¥È", "invoke starburst"); color[vn++] = TERM_YELLOW; }
+ if (flags4 & (RF4_BA_CHAO)) { vp[vn] = _("½ã¥í¥°¥ë¥¹", "invoke raw Logrus"); color[vn++] = TERM_VIOLET; }
+ if (flags6 & (RF6_HAND_DOOM)) { vp[vn] = _("ÇËÌǤμê", "invoke the Hand of Doom"); color[vn++] = TERM_VIOLET; }
+ if (flags6 & (RF6_PSY_SPEAR)) { vp[vn] = _("¸÷¤Î·õ", "psycho-spear"); color[vn++] = TERM_YELLOW; }
+ if (flags5 & (RF5_DRAIN_MANA)) { vp[vn] = _("ËâÎϵۼý", "drain mana"); color[vn++] = TERM_SLATE; }
+ if (flags5 & (RF5_MIND_BLAST)) { vp[vn] = _("Àº¿À¹¶·â", "cause mind blasting"); color[vn++] = TERM_L_RED; }
+ if (flags5 & (RF5_BRAIN_SMASH)) { vp[vn] = _("Ǿ¹¶·â", "cause brain smashing"); color[vn++] = TERM_RED; }
+ if (flags5 & (RF5_CAUSE_1)) { vp[vn] = _("·Ú½ý¡Ü¼ö¤¤", "cause light wounds and cursing"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_CAUSE_2)) { vp[vn] = _("½Å½ý¡Ü¼ö¤¤", "cause serious wounds and cursing"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_CAUSE_3)) { vp[vn] = _("Ã×Ì¿½ý¡Ü¼ö¤¤", "cause critical wounds and cursing"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_CAUSE_4)) { vp[vn] = _("È빦¤òÆͤ¯", "cause mortal wounds"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_BO_ACID)) { vp[vn] = _("¥¢¥·¥Ã¥É¡¦¥Ü¥ë¥È", "produce acid bolts"); color[vn++] = TERM_GREEN; }
+ if (flags5 & (RF5_BO_ELEC)) { vp[vn] = _("¥µ¥ó¥À¡¼¡¦¥Ü¥ë¥È", "produce lightning bolts"); color[vn++] = TERM_BLUE; }
+ if (flags5 & (RF5_BO_FIRE)) { vp[vn] = _("¥Õ¥¡¥¤¥¢¡¦¥Ü¥ë¥È", "produce fire bolts"); color[vn++] = TERM_RED; }
+ if (flags5 & (RF5_BO_COLD)) { vp[vn] = _("¥¢¥¤¥¹¡¦¥Ü¥ë¥È", "produce frost bolts"); color[vn++] = TERM_L_WHITE; }
+ if (flags5 & (RF5_BO_NETH)) { vp[vn] = _("ÃϹö¤ÎÌð", "produce nether bolts"); color[vn++] = TERM_L_DARK; }
+ if (flags5 & (RF5_BO_WATE)) { vp[vn] = _("¥¦¥©¡¼¥¿¡¼¡¦¥Ü¥ë¥È", "produce water bolts"); color[vn++] = TERM_BLUE; }
+ if (flags5 & (RF5_BO_MANA)) { vp[vn] = _("ËâÎϤÎÌð", "produce mana bolts"); color[vn++] = TERM_L_BLUE; }
+ if (flags5 & (RF5_BO_PLAS)) { vp[vn] = _("¥×¥é¥º¥Þ¡¦¥Ü¥ë¥È", "produce plasma bolts"); color[vn++] = TERM_L_RED; }
+ if (flags5 & (RF5_BO_ICEE)) { vp[vn] = _("¶Ë´¨¤ÎÌð", "produce ice bolts"); color[vn++] = TERM_WHITE; }
+ if (flags5 & (RF5_MISSILE)) { vp[vn] = _("¥Þ¥¸¥Ã¥¯¥ß¥µ¥¤¥ë", "produce magic missiles"); color[vn++] = TERM_SLATE; }
+ if (flags5 & (RF5_SCARE)) { vp[vn] = _("¶²ÉÝ", "terrify"); color[vn++] = TERM_SLATE; }
+ if (flags5 & (RF5_BLIND)) { vp[vn] = _("Ìܤ¯¤é¤Þ¤·", "blind"); color[vn++] = TERM_L_DARK; }
+ if (flags5 & (RF5_CONF)) { vp[vn] = _("º®Íð", "confuse"); color[vn++] = TERM_L_UMBER; }
+ if (flags5 & (RF5_SLOW)) { vp[vn] = _("¸ºÂ®", "slow"); color[vn++] = TERM_UMBER; }
+ if (flags5 & (RF5_HOLD)) { vp[vn] = _("Ëãáã", "paralyze"); color[vn++] = TERM_RED; }
+ if (flags6 & (RF6_HASTE)) { vp[vn] = _("²Ã®", "haste-self"); color[vn++] = TERM_L_GREEN; }
+ if (flags6 & (RF6_HEAL)) { vp[vn] = _("¼£Ìþ", "heal-self"); color[vn++] = TERM_WHITE; }
+ if (flags6 & (RF6_INVULNER)) { vp[vn] = _("̵Ũ²½", "make invulnerable"); color[vn++] = TERM_WHITE; }
+ if (flags4 & RF4_DISPEL) { vp[vn] = _("ËâÎϾõî", "dispel-magic"); color[vn++] = TERM_L_WHITE; }
+ if (flags6 & (RF6_BLINK)) { vp[vn] = _("¥·¥ç¡¼¥È¥Æ¥ì¥Ý¡¼¥È", "blink-self"); color[vn++] = TERM_UMBER; }
+ if (flags6 & (RF6_TPORT)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È", "teleport-self"); color[vn++] = TERM_ORANGE; }
+ if (flags6 & (RF6_WORLD)) { vp[vn] = _("»þ¤ò»ß¤á¤ë", "stop the time"); color[vn++] = TERM_L_BLUE; }
+ if (flags6 & (RF6_TELE_TO)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È¥Ð¥Ã¥¯", "teleport to"); color[vn++] = TERM_L_UMBER; }
+ if (flags6 & (RF6_TELE_AWAY)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È¥¢¥¦¥§¥¤", "teleport away"); color[vn++] = TERM_UMBER; }
+ if (flags6 & (RF6_TELE_LEVEL)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È¡¦¥ì¥Ù¥ë", "teleport level"); color[vn++] = TERM_ORANGE; }
-#ifdef JP
-if (flags6 & (RF6_S_UNIQUE)) {vp[vn] = "¥æ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¾¤´";color[vn++] = TERM_VIOLET;}
-#else
- if (flags6 & (RF6_S_UNIQUE)) {vp[vn] = "summon Unique Monsters";color[vn++] = TERM_VIOLET;}
-#endif
+ if (flags6 & (RF6_DARKNESS))
+ {
+ if ((p_ptr->pclass != CLASS_NINJA) || (r_ptr->flags3 & (RF3_UNDEAD | RF3_HURT_LITE)) || (r_ptr->flags7 & RF7_DARK_MASK))
+ {
+ vp[vn] = _("°Å°Ç", "create darkness"); color[vn++] = TERM_L_DARK;
+ }
+ else
+ {
+ vp[vn] = _("Á®¸÷", "create light"); color[vn++] = TERM_YELLOW;
+ }
+ }
+
+ if (flags6 & (RF6_TRAPS)) { vp[vn] = _("¥È¥é¥Ã¥×", "create traps"); color[vn++] = TERM_BLUE; }
+ if (flags6 & (RF6_FORGET)) { vp[vn] = _("µ²±¾Ãµî", "cause amnesia"); color[vn++] = TERM_BLUE; }
+ if (flags6 & (RF6_RAISE_DEAD)) { vp[vn] = _("»à¼ÔÉü³è", "raise dead"); color[vn++] = TERM_RED; }
+ if (flags6 & (RF6_S_MONSTER)) { vp[vn] = _("¥â¥ó¥¹¥¿¡¼°ìÂξ¤´", "summon a monster"); color[vn++] = TERM_SLATE; }
+ if (flags6 & (RF6_S_MONSTERS)) { vp[vn] = _("¥â¥ó¥¹¥¿¡¼Ê£¿ô¾¤´", "summon monsters"); color[vn++] = TERM_L_WHITE; }
+ if (flags6 & (RF6_S_KIN)) { vp[vn] = _("µß±ç¾¤´", "summon aid"); color[vn++] = TERM_ORANGE; }
+ if (flags6 & (RF6_S_ANT)) { vp[vn] = _("¥¢¥ê¾¤´", "summon ants"); color[vn++] = TERM_RED; }
+ if (flags6 & (RF6_S_SPIDER)) { vp[vn] = _("¥¯¥â¾¤´", "summon spiders"); color[vn++] = TERM_L_DARK; }
+ if (flags6 & (RF6_S_HOUND)) { vp[vn] = _("¥Ï¥¦¥ó¥É¾¤´", "summon hounds"); color[vn++] = TERM_L_UMBER; }
+ if (flags6 & (RF6_S_HYDRA)) { vp[vn] = _("¥Ò¥É¥é¾¤´", "summon hydras"); color[vn++] = TERM_L_GREEN; }
+ if (flags6 & (RF6_S_ANGEL)) { vp[vn] = _("Å·»È°ìÂξ¤´", "summon an angel"); color[vn++] = TERM_YELLOW; }
+ if (flags6 & (RF6_S_DEMON)) { vp[vn] = _("¥Ç¡¼¥â¥ó°ìÂξ¤´", "summon a demon"); color[vn++] = TERM_L_RED; }
+ if (flags6 & (RF6_S_UNDEAD)) { vp[vn] = _("¥¢¥ó¥Ç¥Ã¥É°ìÂξ¤´", "summon an undead"); color[vn++] = TERM_L_DARK; }
+ if (flags6 & (RF6_S_DRAGON)) { vp[vn] = _("¥É¥é¥´¥ó°ìÂξ¤´", "summon a dragon"); color[vn++] = TERM_ORANGE; }
+ if (flags6 & (RF6_S_HI_UNDEAD)) { vp[vn] = _("¶¯ÎϤʥ¢¥ó¥Ç¥Ã¥É¾¤´", "summon Greater Undead"); color[vn++] = TERM_L_DARK; }
+ if (flags6 & (RF6_S_HI_DRAGON)) { vp[vn] = _("¸ÅÂå¥É¥é¥´¥ó¾¤´", "summon Ancient Dragons"); color[vn++] = TERM_ORANGE; }
+ if (flags6 & (RF6_S_CYBER)) { vp[vn] = _("¥µ¥¤¥Ð¡¼¥Ç¡¼¥â¥ó¾¤´", "summon Cyberdemons"); color[vn++] = TERM_UMBER; }
+ if (flags6 & (RF6_S_AMBERITES)) { vp[vn] = _("¥¢¥ó¥Ð¡¼¤Î²¦Â²¾¤´", "summon Lords of Amber"); color[vn++] = TERM_VIOLET; }
+ if (flags6 & (RF6_S_UNIQUE)) { vp[vn] = _("¥æ¥Ë¡¼¥¯¡¦¥â¥ó¥¹¥¿¡¼¾¤´", "summon Unique Monsters"); color[vn++] = TERM_VIOLET; }
/* Describe spells */
/* Intro */
if (breath)
{
-#ifdef JP
- hooked_roff("¡¢¤Ê¤ª¤«¤Ä");
-#else
- hooked_roff(", and is also");
-#endif
-
+ hooked_roff(_("¡¢¤Ê¤ª¤«¤Ä", ", and is also"));
}
else
{
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s is", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ï", "%^s is"), wd_he[msex]));
}
#ifdef JP
/* Describe the spell frequency */
if (m > 100 || know_everything)
{
-#ifdef JP
- hooked_roff(format("(³ÎΨ:1/%d)", 100 / n));
-#else
- hooked_roff(format("; 1 time in %d", 100 / n));
-#endif
-
+ hooked_roff(format(
+ _("(³ÎΨ:1/%d)", "; 1 time in %d"), 100 / n));
}
/* Guess at the frequency */
else if (m)
{
n = ((n + 9) / 10) * 10;
-#ifdef JP
- hooked_roff(format("(³ÎΨ:Ìó1/%d)", 100 / n));
-#else
- hooked_roff(format("; about 1 time in %d", 100 / n));
-#endif
-
+ hooked_roff(format(
+ _("(³ÎΨ:Ìó1/%d)", "; about 1 time in %d"), 100 / n));
}
/* End this sentence */
-#ifdef JP
- hooked_roff("¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¡£", ". "));
}
/* Describe monster "toughness" */
if (know_armour(r_idx))
{
/* Armor */
-#ifdef JP
- hooked_roff(format("%^s¤Ï AC%d ¤ÎËɸæÎϤÈ",
-#else
- hooked_roff(format("%^s has an armor rating of %d",
-#endif
-
+ hooked_roff(format(
+ _("%^s¤Ï AC%d ¤ÎËɸæÎϤÈ", "%^s has an armor rating of %d"),
wd_he[msex], r_ptr->ac));
/* Maximized hitpoints */
if ((flags1 & RF1_FORCE_MAXHP) || (r_ptr->hside == 1))
{
u32b hp = r_ptr->hdice * (nightmare ? 2 : 1) * r_ptr->hside;
-#ifdef JP
- hooked_roff(format(" %d ¤ÎÂÎÎϤ¬¤¢¤ë¡£",
-#else
- hooked_roff(format(" and a life rating of %d. ",
-#endif
+ hooked_roff(format(
+ _(" %d ¤ÎÂÎÎϤ¬¤¢¤ë¡£", " and a life rating of %d. "),
(s16b)MIN(30000, hp)));
}
/* Variable hitpoints */
else
{
-#ifdef JP
- hooked_roff(format(" %dd%d ¤ÎÂÎÎϤ¬¤¢¤ë¡£",
-#else
- hooked_roff(format(" and a life rating of %dd%d. ",
-#endif
+ hooked_roff(format(
+ _(" %dd%d ¤ÎÂÎÎϤ¬¤¢¤ë¡£", " and a life rating of %dd%d. "),
r_ptr->hdice * (nightmare ? 2 : 1), r_ptr->hside));
}
}
/* Collect susceptibilities */
vn = 0;
-#ifdef JP
- if (flags3 & RF3_HURT_ROCK) {vp[vn] = "´ä¤ò½üµî¤¹¤ë¤â¤Î";color[vn++] = TERM_UMBER;}
-#else
- if (flags3 & RF3_HURT_ROCK) {vp[vn] = "rock remover";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
- if (flags3 & RF3_HURT_LITE) {vp[vn] = "ÌÀ¤ë¤¤¸÷";color[vn++] = TERM_YELLOW;}
-#else
- if (flags3 & RF3_HURT_LITE) {vp[vn] = "bright light";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
- if (flags3 & RF3_HURT_FIRE) {vp[vn] = "±ê";color[vn++] = TERM_RED;}
-#else
- if (flags3 & RF3_HURT_FIRE) {vp[vn] = "fire";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
- if (flags3 & RF3_HURT_COLD) {vp[vn] = "Î䵤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flags3 & RF3_HURT_COLD) {vp[vn] = "cold";color[vn++] = TERM_L_WHITE;}
-#endif
+ if (flags3 & RF3_HURT_ROCK) { vp[vn] = _("´ä¤ò½üµî¤¹¤ë¤â¤Î", "rock remover"); color[vn++] = TERM_UMBER; }
+ if (flags3 & RF3_HURT_LITE) { vp[vn] = _("ÌÀ¤ë¤¤¸÷", "bright light"); color[vn++] = TERM_YELLOW; }
+ if (flags3 & RF3_HURT_FIRE) { vp[vn] = _("±ê", "fire"); color[vn++] = TERM_RED; }
+ if (flags3 & RF3_HURT_COLD) { vp[vn] = _("Î䵤", "cold"); color[vn++] = TERM_L_WHITE; }
/* Describe susceptibilities */
if (vn)
{
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ë¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ë¤Ï", "%^s"), wd_he[msex]));
/* Scan */
for (n = 0; n < vn; n++)
}
/* End */
-#ifdef JP
- hooked_roff("¤Ç¥À¥á¡¼¥¸¤òÍ¿¤¨¤é¤ì¤ë¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¤Ç¥À¥á¡¼¥¸¤òÍ¿¤¨¤é¤ì¤ë¡£", ". "));
}
/* Collect immunities */
vn = 0;
-#ifdef JP
- if (flagsr & RFR_IM_ACID) {vp[vn] = "»À";color[vn++] = TERM_GREEN;}
-#else
- if (flagsr & RFR_IM_ACID) {vp[vn] = "acid";color[vn++] = TERM_GREEN;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_IM_ELEC) {vp[vn] = "°ðºÊ";color[vn++] = TERM_BLUE;}
-#else
- if (flagsr & RFR_IM_ELEC) {vp[vn] = "lightning";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_IM_FIRE) {vp[vn] = "±ê";color[vn++] = TERM_RED;}
-#else
- if (flagsr & RFR_IM_FIRE) {vp[vn] = "fire";color[vn++] = TERM_RED;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_IM_COLD) {vp[vn] = "Î䵤";color[vn++] = TERM_L_WHITE;}
-#else
- if (flagsr & RFR_IM_COLD) {vp[vn] = "cold";color[vn++] = TERM_L_WHITE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_IM_POIS) {vp[vn] = "ÆÇ";color[vn++] = TERM_L_GREEN;}
-#else
- if (flagsr & RFR_IM_POIS) {vp[vn] = "poison";color[vn++] = TERM_L_GREEN;}
-#endif
+ if (flagsr & RFR_IM_ACID) { vp[vn] = _("»À", "acid"); color[vn++] = TERM_GREEN; }
+ if (flagsr & RFR_IM_ELEC) { vp[vn] = _("°ðºÊ", "lightning"); color[vn++] = TERM_BLUE; }
+ if (flagsr & RFR_IM_FIRE) { vp[vn] = _("±ê", "fire"); color[vn++] = TERM_RED; }
+ if (flagsr & RFR_IM_COLD) { vp[vn] = _("Î䵤", "cold"); color[vn++] = TERM_L_WHITE; }
+ if (flagsr & RFR_IM_POIS) { vp[vn] = _("ÆÇ", "poison"); color[vn++] = TERM_L_GREEN; }
/* Collect resistances */
-#ifdef JP
- if (flagsr & RFR_RES_LITE) {vp[vn] = "Á®¸÷";color[vn++] = TERM_YELLOW;}
-#else
- if (flagsr & RFR_RES_LITE) {vp[vn] = "light";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_DARK) {vp[vn] = "°Å¹õ";color[vn++] = TERM_L_DARK;}
-#else
- if (flagsr & RFR_RES_DARK) {vp[vn] = "dark";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_NETH) {vp[vn] = "ÃϹö";color[vn++] = TERM_L_DARK;}
-#else
- if (flagsr & RFR_RES_NETH) {vp[vn] = "nether";color[vn++] = TERM_L_DARK;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_WATE) {vp[vn] = "¿å";color[vn++] = TERM_BLUE;}
-#else
- if (flagsr & RFR_RES_WATE) {vp[vn] = "water";color[vn++] = TERM_BLUE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_PLAS) {vp[vn] = "¥×¥é¥º¥Þ";color[vn++] = TERM_L_RED;}
-#else
- if (flagsr & RFR_RES_PLAS) {vp[vn] = "plasma";color[vn++] = TERM_L_RED;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_SHAR) {vp[vn] = "ÇËÊÒ";color[vn++] = TERM_L_UMBER;}
-#else
- if (flagsr & RFR_RES_SHAR) {vp[vn] = "shards";color[vn++] = TERM_L_UMBER;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_SOUN) {vp[vn] = "¹ì²»";color[vn++] = TERM_ORANGE;}
-#else
- if (flagsr & RFR_RES_SOUN) {vp[vn] = "sound";color[vn++] = TERM_ORANGE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_CHAO) {vp[vn] = "¥«¥ª¥¹";color[vn++] = TERM_VIOLET;}
-#else
- if (flagsr & RFR_RES_CHAO) {vp[vn] = "chaos";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_NEXU) {vp[vn] = "°ø²Ìº®Íð";color[vn++] = TERM_VIOLET;}
-#else
- if (flagsr & RFR_RES_NEXU) {vp[vn] = "nexus";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_DISE) {vp[vn] = "Îô²½";color[vn++] = TERM_VIOLET;}
-#else
- if (flagsr & RFR_RES_DISE) {vp[vn] = "disenchantment";color[vn++] = TERM_VIOLET;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_WALL) {vp[vn] = "¥Õ¥©¡¼¥¹";color[vn++] = TERM_UMBER;}
-#else
- if (flagsr & RFR_RES_WALL) {vp[vn] = "force";color[vn++] = TERM_UMBER;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_INER) {vp[vn] = "ÃÙÆß";color[vn++] = TERM_SLATE;}
-#else
- if (flagsr & RFR_RES_INER) {vp[vn] = "inertia";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_TIME) {vp[vn] = "»þ´ÖµÕž";color[vn++] = TERM_L_BLUE;}
-#else
- if (flagsr & RFR_RES_TIME) {vp[vn] = "time";color[vn++] = TERM_L_BLUE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_GRAV) {vp[vn] = "½ÅÎÏ";color[vn++] = TERM_SLATE;}
-#else
- if (flagsr & RFR_RES_GRAV) {vp[vn] = "gravity";color[vn++] = TERM_SLATE;}
-#endif
-
-#ifdef JP
- if (flagsr & RFR_RES_ALL) {vp[vn] = "¤¢¤é¤æ¤ë¹¶·â";color[vn++] = TERM_YELLOW;}
-#else
- if (flagsr & RFR_RES_ALL) {vp[vn] = "all";color[vn++] = TERM_YELLOW;}
-#endif
-
-#ifdef JP
- if ((flagsr & RFR_RES_TELE) && !(r_ptr->flags1 & RF1_UNIQUE)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È";color[vn++] = TERM_ORANGE;}
-#else
- if ((flagsr & RFR_RES_TELE) && !(r_ptr->flags1 & RF1_UNIQUE)) {vp[vn] = "teleportation";color[vn++] = TERM_ORANGE;}
-#endif
-
+ if (flagsr & RFR_RES_LITE) { vp[vn] = _("Á®¸÷", "light"); color[vn++] = TERM_YELLOW; }
+ if (flagsr & RFR_RES_DARK) { vp[vn] = _("°Å¹õ", "dark"); color[vn++] = TERM_L_DARK; }
+ if (flagsr & RFR_RES_NETH) { vp[vn] = _("ÃϹö", "nether"); color[vn++] = TERM_L_DARK; }
+ if (flagsr & RFR_RES_WATE) { vp[vn] = _("¿å", "water"); color[vn++] = TERM_BLUE; }
+ if (flagsr & RFR_RES_PLAS) { vp[vn] = _("¥×¥é¥º¥Þ", "plasma"); color[vn++] = TERM_L_RED; }
+ if (flagsr & RFR_RES_SHAR) { vp[vn] = _("ÇËÊÒ", "shards"); color[vn++] = TERM_L_UMBER; }
+ if (flagsr & RFR_RES_SOUN) { vp[vn] = _("¹ì²»", "sound"); color[vn++] = TERM_ORANGE; }
+ if (flagsr & RFR_RES_CHAO) { vp[vn] = _("¥«¥ª¥¹", "chaos"); color[vn++] = TERM_VIOLET; }
+ if (flagsr & RFR_RES_NEXU) { vp[vn] = _("°ø²Ìº®Íð", "nexus"); color[vn++] = TERM_VIOLET; }
+ if (flagsr & RFR_RES_DISE) { vp[vn] = _("Îô²½", "disenchantment"); color[vn++] = TERM_VIOLET; }
+ if (flagsr & RFR_RES_WALL) { vp[vn] = _("¥Õ¥©¡¼¥¹", "force"); color[vn++] = TERM_UMBER; }
+ if (flagsr & RFR_RES_INER) { vp[vn] = _("ÃÙÆß", "inertia"); color[vn++] = TERM_SLATE; }
+ if (flagsr & RFR_RES_TIME) { vp[vn] = _("»þ´ÖµÕž", "time"); color[vn++] = TERM_L_BLUE; }
+ if (flagsr & RFR_RES_GRAV) { vp[vn] = _("½ÅÎÏ", "gravity"); color[vn++] = TERM_SLATE; }
+ if (flagsr & RFR_RES_ALL) { vp[vn] = _("¤¢¤é¤æ¤ë¹¶·â", "all"); color[vn++] = TERM_YELLOW; }
+ if ((flagsr & RFR_RES_TELE) && !(r_ptr->flags1 & RF1_UNIQUE)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È", "teleportation"); color[vn++] = TERM_ORANGE; }
/* Describe immunities and resistances */
if (vn)
{
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s", wd_he[msex]));
-#endif
-
+ hooked_roff(format(_("%^s¤Ï", "%^s"), wd_he[msex]));
/* Scan */
for (n = 0; n < vn; n++)
}
/* End */
-#ifdef JP
- hooked_roff("¤ÎÂÑÀ¤ò»ý¤Ã¤Æ¤¤¤ë¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¤ÎÂÑÀ¤ò»ý¤Ã¤Æ¤¤¤ë¡£", ". "));
}
{
if (r_ptr->next_r_idx)
{
-#ifdef JP
- hooked_roff(format("%^s¤Ï·Ð¸³¤òÀѤà¤È¡¢", wd_he[msex]));
-#else
- hooked_roff(format("%^s will evolve into ", wd_he[msex]));
-#endif
+ hooked_roff(format(_("%^s¤Ï·Ð¸³¤òÀѤà¤È¡¢", "%^s will evolve into "), wd_he[msex]));
hook_c_roff(TERM_YELLOW, format("%s", r_name+r_info[r_ptr->next_r_idx].name));
-#ifdef JP
- hooked_roff(format("¤Ë¿Ê²½¤¹¤ë¡£"));
-#else
- hooked_roff(format(" when %s gets enugh experience. ", wd_he[msex]));
-#endif
+ hooked_roff(format(
+ _(("¤Ë¿Ê²½¤¹¤ë¡£"),
+ (" when %s gets enugh experience. ", wd_he[msex]))));
}
else if (!(r_ptr->flags1 & RF1_UNIQUE))
{
-#ifdef JP
- hooked_roff(format("%s¤Ï¿Ê²½¤·¤Ê¤¤¡£", wd_he[msex]));
-#else
- hooked_roff(format("%s won't evolve. ", wd_he[msex]));
-#endif
+ hooked_roff(format(_("%s¤Ï¿Ê²½¤·¤Ê¤¤¡£", "%s won't evolve. "), wd_he[msex]));
}
}
/* Collect non-effects */
vn = 0;
-#ifdef JP
- if (flags3 & RF3_NO_STUN) {vp[vn] = "Û¯Û°¤È¤·¤Ê¤¤";color[vn++] = TERM_ORANGE;}
-#else
- if (flags3 & RF3_NO_STUN) {vp[vn] = "stunned";color[vn++] = TERM_ORANGE;}
-#endif
+ if (flags3 & RF3_NO_STUN) { vp[vn] = _("Û¯Û°¤È¤·¤Ê¤¤", "stunned"); color[vn++] = TERM_ORANGE; }
-#ifdef JP
- if (flags3 & RF3_NO_FEAR) {vp[vn] = "¶²Éݤò´¶¤¸¤Ê¤¤";color[vn++] = TERM_SLATE;}
-#else
- if (flags3 & RF3_NO_FEAR) {vp[vn] = "frightened";color[vn++] = TERM_SLATE;}
-#endif
+ if (flags3 & RF3_NO_FEAR) { vp[vn] = _("¶²Éݤò´¶¤¸¤Ê¤¤", "frightened"); color[vn++] = TERM_SLATE; }
-#ifdef JP
- if (flags3 & RF3_NO_CONF) {vp[vn] = "º®Í𤷤ʤ¤";color[vn++] = TERM_L_UMBER;}
-#else
- if (flags3 & RF3_NO_CONF) {vp[vn] = "confused";color[vn++] = TERM_L_UMBER;}
-#endif
+ if (flags3 & RF3_NO_CONF) { vp[vn] = _("º®Í𤷤ʤ¤", "confused"); color[vn++] = TERM_L_UMBER; }
-#ifdef JP
- if (flags3 & RF3_NO_SLEEP) {vp[vn] = "̲¤é¤µ¤ì¤Ê¤¤";color[vn++] = TERM_BLUE;}
-#else
- if (flags3 & RF3_NO_SLEEP) {vp[vn] = "slept";color[vn++] = TERM_BLUE;}
-#endif
+ if (flags3 & RF3_NO_SLEEP) { vp[vn] = _("̲¤é¤µ¤ì¤Ê¤¤", "slept"); color[vn++] = TERM_BLUE; }
-#ifdef JP
- if ((flagsr & RFR_RES_TELE) && (r_ptr->flags1 & RF1_UNIQUE)) {vp[vn] = "¥Æ¥ì¥Ý¡¼¥È¤µ¤ì¤Ê¤¤";color[vn++] = TERM_ORANGE;}
-#else
- if ((flagsr & RFR_RES_TELE) && (r_ptr->flags1 & RF1_UNIQUE)) {vp[vn] = "teleported";color[vn++] = TERM_ORANGE;}
-#endif
+ if ((flagsr & RFR_RES_TELE) && (r_ptr->flags1 & RF1_UNIQUE)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È¤µ¤ì¤Ê¤¤", "teleported"); color[vn++] = TERM_ORANGE; }
/* Describe non-effects */
if (vn)
{
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s", wd_he[msex]));
-#endif
-
+ hooked_roff(format(
+ _("%^s¤Ï", "%^s"), wd_he[msex]));
/* Scan */
for (n = 0; n < vn; n++)
}
/* End */
-#ifdef JP
- hooked_roff("¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¡£", ". "));
}
if (r_ptr->sleep > 200)
{
-#ifdef JP
- act = "¤ò̵»ë¤·¤¬¤Á¤Ç¤¢¤ë¤¬";
-#else
- act = "prefers to ignore";
-#endif
-
+ act = _("¤ò̵»ë¤·¤¬¤Á¤Ç¤¢¤ë¤¬", "prefers to ignore");
}
else if (r_ptr->sleep > 95)
{
-#ifdef JP
- act = "¤ËÂФ·¤Æ¤Û¤È¤ó¤ÉÃí°Õ¤òʧ¤ï¤Ê¤¤¤¬";
-#else
- act = "pays very little attention to";
-#endif
-
+ act = _("¤ËÂФ·¤Æ¤Û¤È¤ó¤ÉÃí°Õ¤òʧ¤ï¤Ê¤¤¤¬", "pays very little attention to");
}
else if (r_ptr->sleep > 75)
{
-#ifdef JP
- act = "¤ËÂФ·¤Æ¤¢¤Þ¤êÃí°Õ¤òʧ¤ï¤Ê¤¤¤¬";
-#else
- act = "pays little attention to";
-#endif
-
+ act = _("¤ËÂФ·¤Æ¤¢¤Þ¤êÃí°Õ¤òʧ¤ï¤Ê¤¤¤¬", "pays little attention to");
}
else if (r_ptr->sleep > 45)
{
-#ifdef JP
- act = "¤ò¸«²á¤´¤·¤¬¤Á¤Ç¤¢¤ë¤¬";
-#else
- act = "tends to overlook";
-#endif
-
+ act = _("¤ò¸«²á¤´¤·¤¬¤Á¤Ç¤¢¤ë¤¬", "tends to overlook");
}
else if (r_ptr->sleep > 25)
{
-#ifdef JP
- act = "¤ò¤Û¤ó¤Î¾¯¤·¤Ï¸«¤Æ¤ª¤ê";
-#else
- act = "takes quite a while to see";
-#endif
-
+ act = _("¤ò¤Û¤ó¤Î¾¯¤·¤Ï¸«¤Æ¤ª¤ê", "takes quite a while to see");
}
else if (r_ptr->sleep > 10)
{
-#ifdef JP
- act = "¤ò¤·¤Ð¤é¤¯¤Ï¸«¤Æ¤ª¤ê";
-#else
- act = "takes a while to see";
-#endif
-
+ act = _("¤ò¤·¤Ð¤é¤¯¤Ï¸«¤Æ¤ª¤ê", "takes a while to see");
}
else if (r_ptr->sleep > 5)
{
-#ifdef JP
- act = "¤ò´öʬÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê";
-#else
- act = "is fairly observant of";
-#endif
-
+ act = _("¤ò´öʬÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê", "is fairly observant of");
}
else if (r_ptr->sleep > 3)
{
-#ifdef JP
- act = "¤òÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê";
-#else
- act = "is observant of";
-#endif
-
+ act = _("¤òÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê", "is observant of");
}
else if (r_ptr->sleep > 1)
{
-#ifdef JP
- act = "¤ò¤«¤Ê¤êÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê";
-#else
- act = "is very observant of";
-#endif
-
+ act = _("¤ò¤«¤Ê¤êÃí°Õ¿¼¤¯¸«¤Æ¤ª¤ê", "is very observant of");
}
else if (r_ptr->sleep > 0)
{
-#ifdef JP
- act = "¤ò·Ù²ü¤·¤Æ¤ª¤ê";
-#else
- act = "is vigilant for";
-#endif
-
+ act = _("¤ò·Ù²ü¤·¤Æ¤ª¤ê", "is vigilant for");
}
else
{
-#ifdef JP
- act = "¤ò¤«¤Ê¤ê·Ù²ü¤·¤Æ¤ª¤ê";
-#else
- act = "is ever vigilant for";
-#endif
-
+ act = _("¤ò¤«¤Ê¤ê·Ù²ü¤·¤Æ¤ª¤ê", "is ever vigilant for");
}
#ifdef JP
if (drop_gold || drop_item)
{
/* Intro */
-#ifdef JP
- hooked_roff(format("%^s¤Ï", wd_he[msex]));
-#else
- hooked_roff(format("%^s may carry", wd_he[msex]));
-
+ hooked_roff(format(
+ _("%^s¤Ï", "%^s may carry"), wd_he[msex]));
+#ifndef JP
/* No "n" needed */
sin = FALSE;
#endif
/* One drop (may need an "n") */
if (n == 1)
{
-#ifdef JP
- hooked_roff("°ì¤Ä¤Î");
-#else
- hooked_roff(" a");
+ hooked_roff(_("°ì¤Ä¤Î", " a"));
+#ifndef JP
sin = TRUE;
#endif
}
/* Two drops */
else if (n == 2)
{
-#ifdef JP
- hooked_roff("°ì¤Ä¤«Æó¤Ä¤Î");
-#else
- hooked_roff(" one or two");
-#endif
-
+ hooked_roff(
+ _("°ì¤Ä¤«Æó¤Ä¤Î", " one or two"));
}
/* Many drops */
else
{
-#ifdef JP
- hooked_roff(format(" %d ¸Ä¤Þ¤Ç¤Î", n));
-#else
- hooked_roff(format(" up to %d", n));
-#endif
-
+ hooked_roff(format(
+ _(" %d ¸Ä¤Þ¤Ç¤Î", " up to %d"), n));
}
/* Great */
if (flags1 & RF1_DROP_GREAT)
{
-#ifdef JP
- p = "ÆÃÊ̤Ê";
-#else
- p = " exceptional";
-#endif
-
+ p = _("ÆÃÊ̤Ê", " exceptional");
}
/* Good (no "n" needed) */
else if (flags1 & RF1_DROP_GOOD)
{
-#ifdef JP
- p = "¾å¼Á¤Ê";
-#else
- p = " good";
+ p = _("¾å¼Á¤Ê", " good");
+#ifndef JP
sin = FALSE;
#endif
}
/* Dump "object(s)" */
if (p) hooked_roff(p);
-#ifdef JP
- hooked_roff("¥¢¥¤¥Æ¥à");
-#else
- hooked_roff(" object");
+ hooked_roff(
+ _("¥¢¥¤¥Æ¥à", " object"));
+
+#ifndef JP
if (n != 1) hooked_roff("s");
#endif
/* Conjunction replaces variety, if needed for "gold" below */
-#ifdef JP
- p = "¤ä";
-#else
- p = " or";
-#endif
-
+ p = _("¤ä", " or");
}
/* Treasures */
}
/* End this sentence */
-#ifdef JP
- hooked_roff("¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ë¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(
+ _("¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ë¡£", ". "));
}
/* Acquire the method */
switch (method)
{
-#ifdef JP
-case RBM_HIT: p = "²¥¤ë"; break;
-#else
- case RBM_HIT: p = "hit"; break;
-#endif
-
-#ifdef JP
-case RBM_TOUCH: p = "¿¨¤ë"; break;
-#else
- case RBM_TOUCH: p = "touch"; break;
-#endif
-
-#ifdef JP
-case RBM_PUNCH: p = "¥Ñ¥ó¥Á¤¹¤ë"; break;
-#else
- case RBM_PUNCH: p = "punch"; break;
-#endif
-
-#ifdef JP
-case RBM_KICK: p = "½³¤ë"; break;
-#else
- case RBM_KICK: p = "kick"; break;
-#endif
-
-#ifdef JP
-case RBM_CLAW: p = "¤Ò¤Ã¤«¤¯"; break;
-#else
- case RBM_CLAW: p = "claw"; break;
-#endif
-
-#ifdef JP
-case RBM_BITE: p = "³ú¤à"; break;
-#else
- case RBM_BITE: p = "bite"; break;
-#endif
-
-#ifdef JP
-case RBM_STING: p = "»É¤¹"; break;
-#else
- case RBM_STING: p = "sting"; break;
-#endif
-
-#ifdef JP
-case RBM_SLASH: p = "»Â¤ë"; break;
-#else
- case RBM_SLASH: p = "slash"; break;
-#endif
-
-#ifdef JP
-case RBM_BUTT: p = "³Ñ¤ÇÆͤ¯"; break;
-#else
- case RBM_BUTT: p = "butt"; break;
-#endif
-
-#ifdef JP
-case RBM_CRUSH: p = "ÂÎÅö¤¿¤ê¤¹¤ë"; break;
-#else
- case RBM_CRUSH: p = "crush"; break;
-#endif
-
-#ifdef JP
-case RBM_ENGULF: p = "°û¤ß¹þ¤à"; break;
-#else
- case RBM_ENGULF: p = "engulf"; break;
-#endif
-
-#ifdef JP
-case RBM_CHARGE: p = "ÀÁµá½ñ¤ò¤è¤³¤¹"; break;
-#else
- case RBM_CHARGE: p = "charge"; break;
-#endif
-
-#ifdef JP
-case RBM_CRAWL: p = "ÂΤξå¤òÇ礤²ó¤ë"; break;
-#else
- case RBM_CRAWL: p = "crawl on you"; break;
-#endif
-
-#ifdef JP
-case RBM_DROOL: p = "¤è¤À¤ì¤ò¤¿¤é¤¹"; break;
-#else
- case RBM_DROOL: p = "drool on you"; break;
-#endif
-
-#ifdef JP
-case RBM_SPIT: p = "¤Ä¤Ð¤òÅǤ¯"; break;
-#else
- case RBM_SPIT: p = "spit"; break;
-#endif
-
-#ifdef JP
-case RBM_EXPLODE: p = "Çúȯ¤¹¤ë"; break;
-#else
- case RBM_EXPLODE: p = "explode"; break;
-#endif
-
-#ifdef JP
-case RBM_GAZE: p = "¤Ë¤é¤à"; break;
-#else
- case RBM_GAZE: p = "gaze"; break;
-#endif
-
-#ifdef JP
-case RBM_WAIL: p = "µã¤¶«¤Ö"; break;
-#else
- case RBM_WAIL: p = "wail"; break;
-#endif
-
-#ifdef JP
-case RBM_SPORE: p = "˦»Ò¤òÈô¤Ð¤¹"; break;
-#else
- case RBM_SPORE: p = "release spores"; break;
-#endif
-
+ case RBM_HIT: p = _("²¥¤ë", "hit"); break;
+ case RBM_TOUCH: p = _("¿¨¤ë", "touch"); break;
+ case RBM_PUNCH: p = _("¥Ñ¥ó¥Á¤¹¤ë", "punch"); break;
+ case RBM_KICK: p = _("½³¤ë", "kick"); break;
+ case RBM_CLAW: p = _("¤Ò¤Ã¤«¤¯", "claw"); break;
+ case RBM_BITE: p = _("³ú¤à", "bite"); break;
+ case RBM_STING: p = _("»É¤¹", "sting"); break;
+ case RBM_SLASH: p = _("»Â¤ë", "slash"); break;
+ case RBM_BUTT: p = _("³Ñ¤ÇÆͤ¯", "butt"); break;
+ case RBM_CRUSH: p = _("ÂÎÅö¤¿¤ê¤¹¤ë", "crush"); break;
+ case RBM_ENGULF: p = _("°û¤ß¹þ¤à", "engulf"); break;
+ case RBM_CHARGE: p = _("ÀÁµá½ñ¤ò¤è¤³¤¹", "charge"); break;
+ case RBM_CRAWL: p = _("ÂΤξå¤òÇ礤²ó¤ë", "crawl on you"); break;
+ case RBM_DROOL: p = _("¤è¤À¤ì¤ò¤¿¤é¤¹", "drool on you"); break;
+ case RBM_SPIT: p = _("¤Ä¤Ð¤òÅǤ¯", "spit"); break;
+ case RBM_EXPLODE: p = _("Çúȯ¤¹¤ë", "explode"); break;
+ case RBM_GAZE: p = _("¤Ë¤é¤à", "gaze"); break;
+ case RBM_WAIL: p = _("µã¤¶«¤Ö", "wail"); break;
+ case RBM_SPORE: p = _("˦»Ò¤òÈô¤Ð¤¹", "release spores"); break;
case RBM_XXX4: break;
-#ifdef JP
-case RBM_BEG: p = "¶â¤ò¤»¤¬¤à"; break;
-#else
- case RBM_BEG: p = "beg"; break;
-#endif
-
-#ifdef JP
-case RBM_INSULT: p = "Éî¿«¤¹¤ë"; break;
-#else
- case RBM_INSULT: p = "insult"; break;
-#endif
-
-#ifdef JP
-case RBM_MOAN: p = "¤¦¤á¤¯"; break;
-#else
- case RBM_MOAN: p = "moan"; break;
-#endif
-
-#ifdef JP
-case RBM_SHOW: p = "²Î¤¦"; break;
-#else
- case RBM_SHOW: p = "sing"; break;
-#endif
-
+ case RBM_BEG: p = _("¶â¤ò¤»¤¬¤à", "beg"); break;
+ case RBM_INSULT: p = _("Éî¿«¤¹¤ë", "insult"); break;
+ case RBM_MOAN: p = _("¤¦¤á¤¯", "moan"); break;
+ case RBM_SHOW: p = _("²Î¤¦", "sing"); break;
}
/* Acquire the effect */
switch (effect)
{
-#ifdef JP
-case RBE_SUPERHURT:
-case RBE_HURT: q = "¹¶·â¤¹¤ë"; break;
-#else
case RBE_SUPERHURT:
- case RBE_HURT: q = "attack"; break;
-#endif
-
-#ifdef JP
-case RBE_POISON: q = "ÆǤò¤¯¤é¤ï¤¹"; break;
-#else
- case RBE_POISON: q = "poison"; break;
-#endif
-
-#ifdef JP
-case RBE_UN_BONUS: q = "Îô²½¤µ¤»¤ë"; break;
-#else
- case RBE_UN_BONUS: q = "disenchant"; break;
-#endif
-
-#ifdef JP
-case RBE_UN_POWER: q = "ËâÎϤòµÛ¤¤¼è¤ë"; break;
-#else
- case RBE_UN_POWER: q = "drain charges"; break;
-#endif
-
-#ifdef JP
-case RBE_EAT_GOLD: q = "¶â¤òÅð¤à"; break;
-#else
- case RBE_EAT_GOLD: q = "steal gold"; break;
-#endif
-
-#ifdef JP
-case RBE_EAT_ITEM: q = "¥¢¥¤¥Æ¥à¤òÅð¤à"; break;
-#else
- case RBE_EAT_ITEM: q = "steal items"; break;
-#endif
-
-#ifdef JP
-case RBE_EAT_FOOD: q = "¤¢¤Ê¤¿¤Î¿©ÎÁ¤ò¿©¤Ù¤ë"; break;
-#else
- case RBE_EAT_FOOD: q = "eat your food"; break;
-#endif
-
-#ifdef JP
-case RBE_EAT_LITE: q = "ÌÀ¤«¤ê¤òµÛ¼ý¤¹¤ë"; break;
-#else
- case RBE_EAT_LITE: q = "absorb light"; break;
-#endif
-
-#ifdef JP
-case RBE_ACID: q = "»À¤òÈô¤Ð¤¹"; break;
-#else
- case RBE_ACID: q = "shoot acid"; break;
-#endif
-
-#ifdef JP
-case RBE_ELEC: q = "´¶ÅŤµ¤»¤ë"; break;
-#else
- case RBE_ELEC: q = "electrocute"; break;
-#endif
-
-#ifdef JP
-case RBE_FIRE: q = "dz¤ä¤¹"; break;
-#else
- case RBE_FIRE: q = "burn"; break;
-#endif
-
-#ifdef JP
-case RBE_COLD: q = "Åà¤é¤»¤ë"; break;
-#else
- case RBE_COLD: q = "freeze"; break;
-#endif
-
-#ifdef JP
-case RBE_BLIND: q = "ÌÕÌܤˤ¹¤ë"; break;
-#else
- case RBE_BLIND: q = "blind"; break;
-#endif
-
-#ifdef JP
-case RBE_CONFUSE: q = "º®Í𤵤»¤ë"; break;
-#else
- case RBE_CONFUSE: q = "confuse"; break;
-#endif
-
-#ifdef JP
-case RBE_TERRIFY: q = "¶²Éݤµ¤»¤ë"; break;
-#else
- case RBE_TERRIFY: q = "terrify"; break;
-#endif
-
-#ifdef JP
-case RBE_PARALYZE: q = "Ëãá㤵¤»¤ë"; break;
-#else
- case RBE_PARALYZE: q = "paralyze"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_STR: q = "ÏÓÎϤò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_STR: q = "reduce strength"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_INT: q = "ÃÎǽ¤ò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_INT: q = "reduce intelligence"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_WIS: q = "¸¤µ¤ò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_WIS: q = "reduce wisdom"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_DEX: q = "´ïÍѤµ¤ò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_DEX: q = "reduce dexterity"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_CON: q = "Âѵ×ÎϤò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_CON: q = "reduce constitution"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_CHR: q = "Ì¥ÎϤò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_CHR: q = "reduce charisma"; break;
-#endif
-
-#ifdef JP
-case RBE_LOSE_ALL: q = "Á´¥¹¥Æ¡¼¥¿¥¹¤ò¸º¾¯¤µ¤»¤ë"; break;
-#else
- case RBE_LOSE_ALL: q = "reduce all stats"; break;
-#endif
-
-#ifdef JP
-case RBE_SHATTER: q = "Ê´ºÕ¤¹¤ë"; break;
-#else
- case RBE_SHATTER: q = "shatter"; break;
-#endif
-
-#ifdef JP
-case RBE_EXP_10: q = "·Ð¸³Ãͤò¸º¾¯(10d6+)¤µ¤»¤ë"; break;
-#else
- case RBE_EXP_10: q = "lower experience (by 10d6+)"; break;
-#endif
-
-#ifdef JP
-case RBE_EXP_20: q = "·Ð¸³Ãͤò¸º¾¯(20d6+)¤µ¤»¤ë"; break;
-#else
- case RBE_EXP_20: q = "lower experience (by 20d6+)"; break;
-#endif
-
-#ifdef JP
-case RBE_EXP_40: q = "·Ð¸³Ãͤò¸º¾¯(40d6+)¤µ¤»¤ë"; break;
-#else
- case RBE_EXP_40: q = "lower experience (by 40d6+)"; break;
-#endif
-
-#ifdef JP
-case RBE_EXP_80: q = "·Ð¸³Ãͤò¸º¾¯(80d6+)¤µ¤»¤ë"; break;
-#else
- case RBE_EXP_80: q = "lower experience (by 80d6+)"; break;
-#endif
-
-#ifdef JP
-case RBE_DISEASE: q = "ɵ¤¤Ë¤¹¤ë"; break;
-#else
- case RBE_DISEASE: q = "disease"; break;
-#endif
-
-#ifdef JP
-case RBE_TIME: q = "»þ´Ö¤òµÕÌá¤ê¤µ¤»¤ë"; break;
-#else
- case RBE_TIME: q = "time"; break;
-#endif
-
-#ifdef JP
- case RBE_DR_LIFE: q = "À¸Ì¿ÎϤòµÛ¼ý¤¹¤ë"; break;
-#else
- case RBE_DR_LIFE: q = "drain life"; break;
-#endif
-
-#ifdef JP
-case RBE_DR_MANA: q = "ËâÎϤòÃ¥¤¦"; break;
-#else
- case RBE_DR_MANA: q = "drain mana force"; break;
-#endif
-
-#ifdef JP
- case RBE_INERTIA: q = "¸ºÂ®¤µ¤»¤ë"; break;
- case RBE_STUN: q = "Û¯Û°¤È¤µ¤»¤ë"; break;
-#else
- case RBE_INERTIA: q = "slow"; break;
- case RBE_STUN: q = "stun"; break;
-#endif
+ case RBE_HURT: q = _("¹¶·â¤¹¤ë", "attack"); break;
+ case RBE_POISON: q = _("ÆǤò¤¯¤é¤ï¤¹", "poison"); break;
+ case RBE_UN_BONUS: q = _("Îô²½¤µ¤»¤ë", "disenchant"); break;
+ case RBE_UN_POWER: q = _("ËâÎϤòµÛ¤¤¼è¤ë", "drain charges"); break;
+ case RBE_EAT_GOLD: q = _("¶â¤òÅð¤à", "steal gold"); break;
+ case RBE_EAT_ITEM: q = _("¥¢¥¤¥Æ¥à¤òÅð¤à", "steal items"); break;
+ case RBE_EAT_FOOD: q = _("¤¢¤Ê¤¿¤Î¿©ÎÁ¤ò¿©¤Ù¤ë", "eat your food"); break;
+ case RBE_EAT_LITE: q = _("ÌÀ¤«¤ê¤òµÛ¼ý¤¹¤ë", "absorb light"); break;
+ case RBE_ACID: q = _("»À¤òÈô¤Ð¤¹", "shoot acid"); break;
+ case RBE_ELEC: q = _("´¶ÅŤµ¤»¤ë", "electrocute"); break;
+ case RBE_FIRE: q = _("dz¤ä¤¹", "burn"); break;
+ case RBE_COLD: q = _("Åà¤é¤»¤ë", "freeze"); break;
+ case RBE_BLIND: q = _("ÌÕÌܤˤ¹¤ë", "blind"); break;
+ case RBE_CONFUSE: q = _("º®Í𤵤»¤ë", "confuse"); break;
+ case RBE_TERRIFY: q = _("¶²Éݤµ¤»¤ë", "terrify"); break;
+ case RBE_PARALYZE: q = _("Ëãá㤵¤»¤ë", "paralyze"); break;
+ case RBE_LOSE_STR: q = _("ÏÓÎϤò¸º¾¯¤µ¤»¤ë", "reduce strength"); break;
+ case RBE_LOSE_INT: q = _("ÃÎǽ¤ò¸º¾¯¤µ¤»¤ë", "reduce intelligence"); break;
+ case RBE_LOSE_WIS: q = _("¸¤µ¤ò¸º¾¯¤µ¤»¤ë", "reduce wisdom"); break;
+ case RBE_LOSE_DEX: q = _("´ïÍѤµ¤ò¸º¾¯¤µ¤»¤ë", "reduce dexterity"); break;
+ case RBE_LOSE_CON: q = _("Âѵ×ÎϤò¸º¾¯¤µ¤»¤ë", "reduce constitution"); break;
+ case RBE_LOSE_CHR: q = _("Ì¥ÎϤò¸º¾¯¤µ¤»¤ë", "reduce charisma"); break;
+ case RBE_LOSE_ALL: q = _("Á´¥¹¥Æ¡¼¥¿¥¹¤ò¸º¾¯¤µ¤»¤ë", "reduce all stats"); break;
+ case RBE_SHATTER: q = _("Ê´ºÕ¤¹¤ë", "shatter"); break;
+ case RBE_EXP_10: q = _("·Ð¸³Ãͤò¸º¾¯(10d6+)¤µ¤»¤ë", "lower experience (by 10d6+)"); break;
+ case RBE_EXP_20: q = _("·Ð¸³Ãͤò¸º¾¯(20d6+)¤µ¤»¤ë", "lower experience (by 20d6+)"); break;
+ case RBE_EXP_40: q = _("·Ð¸³Ãͤò¸º¾¯(40d6+)¤µ¤»¤ë", "lower experience (by 40d6+)"); break;
+ case RBE_EXP_80: q = _("·Ð¸³Ãͤò¸º¾¯(80d6+)¤µ¤»¤ë", "lower experience (by 80d6+)"); break;
+ case RBE_DISEASE: q = _("ɵ¤¤Ë¤¹¤ë", "disease"); break;
+ case RBE_TIME: q = _("»þ´Ö¤òµÕÌá¤ê¤µ¤»¤ë", "time"); break;
+ case RBE_DR_LIFE: q = _("À¸Ì¿ÎϤòµÛ¼ý¤¹¤ë", "drain life"); break;
+ case RBE_DR_MANA: q = _("ËâÎϤòÃ¥¤¦", "drain mana force"); break;
+ case RBE_INERTIA: q = _("¸ºÂ®¤µ¤»¤ë", "slow"); break;
+ case RBE_STUN: q = _("Û¯Û°¤È¤µ¤»¤ë", "stun"); break;
}
/* Finish sentence above */
if (r)
{
-#ifdef JP
- hooked_roff("¡£");
-#else
- hooked_roff(". ");
-#endif
-
+ hooked_roff(_("¡£", ". "));
}
/* Notice lack of attacks */
else if (flags1 & RF1_NEVER_BLOW)
{
-#ifdef JP
- hooked_roff(format("%^s¤ÏʪÍýŪ¤Ê¹¶·âÊýË¡¤ò»ý¤¿¤Ê¤¤¡£", wd_he[msex]));
-#else
- hooked_roff(format("%^s has no physical attacks. ", wd_he[msex]));
-#endif
-
+ hooked_roff(format(
+ _("%^s¤ÏʪÍýŪ¤Ê¹¶·âÊýË¡¤ò»ý¤¿¤Ê¤¤¡£",
+ "%^s has no physical attacks. "), wd_he[msex]));
}
/* Or describe the lack of knowledge */
else
{
-#ifdef JP
- hooked_roff(format("%s¹¶·â¤Ë¤Ä¤¤¤Æ¤Ï²¿¤âÃΤé¤Ê¤¤¡£", wd_his[msex]));
-#else
- hooked_roff(format("Nothing is known about %s attack. ", wd_his[msex]));
-#endif
-
+ hooked_roff(format(
+ _("%s¹¶·â¤Ë¤Ä¤¤¤Æ¤Ï²¿¤âÃΤé¤Ê¤¤¡£",
+ "Nothing is known about %s attack. "), wd_his[msex]));
}
*/
if ((flags1 & RF1_QUESTOR) && ((r_ptr->r_sights) && (r_ptr->max_num) && ((r_idx == MON_OBERON) || (r_idx == MON_SERPENT))))
{
-#ifdef JP
- hook_c_roff(TERM_VIOLET, "¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò»¦¤·¤¿¤¤¤È¤¤¤¦¶¯¤¤Íß˾¤ò´¶¤¸¤Æ¤¤¤ë...");
-#else
- hook_c_roff(TERM_VIOLET, "You feel an intense desire to kill this monster... ");
-#endif
-
+ hook_c_roff(TERM_VIOLET,
+ _("¤¢¤Ê¤¿¤Ï¤³¤Î¥â¥ó¥¹¥¿¡¼¤ò»¦¤·¤¿¤¤¤È¤¤¤¦¶¯¤¤Íß˾¤ò´¶¤¸¤Æ¤¤¤ë...",
+ "You feel an intense desire to kill this monster... "));
}
else if (flags7 & RF7_GUARDIAN)
{
-#ifdef JP
- hook_c_roff(TERM_L_RED, "¤³¤Î¥â¥ó¥¹¥¿¡¼¤Ï¥À¥ó¥¸¥ç¥ó¤Î¼ç¤Ç¤¢¤ë¡£");
-#else
- hook_c_roff(TERM_L_RED, "This monster is the master of a dungeon.");
-#endif
-
+ hook_c_roff(TERM_L_RED,
+ _("¤³¤Î¥â¥ó¥¹¥¿¡¼¤Ï¥À¥ó¥¸¥ç¥ó¤Î¼ç¤Ç¤¢¤ë¡£",
+ "This monster is the master of a dungeon."));
}