From 035da9520fa899185dc371bb8fd46fe242966486 Mon Sep 17 00:00:00 2001 From: dis- Date: Tue, 4 Jun 2013 14:51:35 +0000 Subject: [PATCH] update description of reflection --- src/object1.c | 21 +++------------------ src/spells2.c | 42 ++++++------------------------------------ 2 files changed, 9 insertions(+), 54 deletions(-) diff --git a/src/object1.c b/src/object1.c index 736cd8a50..e117ece9a 100644 --- a/src/object1.c +++ b/src/object1.c @@ -1648,30 +1648,15 @@ info[i++] = " } if (have_flag(flgs, TR_REFLECT)) { -#ifdef JP -info[i++] = "¤½¤ì¤ÏÌð¤ä¥Ü¥ë¥È¤òÈ¿¼Í¤¹¤ë¡£"; -#else - info[i++] = "It reflects bolts and arrows."; -#endif - + info[i++] = _("¤½¤ì¤ÏÌð¤Î¼öʸ¤òÈ¿¼Í¤¹¤ë¡£", "It reflects bolt spells."); } if (have_flag(flgs, TR_SH_FIRE)) { -#ifdef JP -info[i++] = "¤½¤ì¤Ï±ê¤Î¥Ð¥ê¥¢¤òÄ¥¤ë¡£"; -#else - info[i++] = "It produces a fiery sheath."; -#endif - + info[i++] = _("¤½¤ì¤Ï±ê¤Î¥Ð¥ê¥¢¤òÄ¥¤ë¡£", "It produces a fiery sheath."); } if (have_flag(flgs, TR_SH_ELEC)) { -#ifdef JP -info[i++] = "¤½¤ì¤ÏÅŵ¤¤Î¥Ð¥ê¥¢¤òÄ¥¤ë¡£"; -#else - info[i++] = "It produces an electric sheath."; -#endif - + info[i++] = _("¤½¤ì¤ÏÅŵ¤¤Î¥Ð¥ê¥¢¤òÄ¥¤ë¡£", "It produces an electric sheath."); } if (have_flag(flgs, TR_SH_COLD)) { diff --git a/src/spells2.c b/src/spells2.c index 0541db532..927f7017a 100644 --- a/src/spells2.c +++ b/src/spells2.c @@ -2258,57 +2258,27 @@ info[i++] = " } if (p_ptr->reflect) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤ÏÌð¤ä¥Ü¥ë¥È¤òÈ¿¼Í¤¹¤ë¡£"; -#else - info[i++] = "You reflect arrows and bolts."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤ÏÌð¤Î¼öʸ¤òÈ¿¼Í¤¹¤ë¡£", "You reflect bolt spells."); } if (p_ptr->sh_fire) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤Ï±ê¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£"; -#else - info[i++] = "You are surrounded with a fiery aura."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤Ï±ê¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "You are surrounded with a fiery aura."); } if (p_ptr->sh_elec) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤ÏÅŵ¤¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£"; -#else - info[i++] = "You are surrounded with electricity."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤ÏÅŵ¤¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "You are surrounded with electricity."); } if (p_ptr->sh_cold) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤ÏÎ䵤¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£"; -#else - info[i++] = "You are surrounded with an aura of coldness."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤ÏÎ䵤¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "You are surrounded with an aura of coldness."); } if (p_ptr->tim_sh_holy) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤ÏÀ»¤Ê¤ë¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£"; -#else - info[i++] = "You are surrounded with a holy aura."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤ÏÀ»¤Ê¤ë¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "You are surrounded with a holy aura."); } if (p_ptr->tim_sh_touki) { -#ifdef JP -info[i++] = "¤¢¤Ê¤¿¤ÏÆ®µ¤¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£"; -#else - info[i++] = "You are surrounded with a energy aura."; -#endif - + info[i++] = _("¤¢¤Ê¤¿¤ÏÆ®µ¤¤Î¥ª¡¼¥é¤ËÊñ¤Þ¤ì¤Æ¤¤¤ë¡£", "You are surrounded with a energy aura."); } if (p_ptr->anti_magic) { -- 2.11.0