From c2ebf60360c1a3fb4e509099facc65395a054883 Mon Sep 17 00:00:00 2001 From: nothere Date: Sat, 31 Jul 2004 00:08:40 +0000 Subject: [PATCH] =?utf8?q?=E9=91=91=E5=AE=9A=E3=81=AB=E9=96=A2=E3=81=99?= =?utf8?q?=E3=82=8B=E5=A4=89=E6=9B=B4=E3=81=A8=E4=BF=AE=E6=AD=A3.=20*=20?= =?utf8?q?=E5=85=A8=E3=81=A6=E3=81=AE=E3=82=A2=E3=82=A4=E3=83=86=E3=83=A0?= =?utf8?q?=E3=81=8C=E9=91=91=E5=AE=9A=E6=B8=88=E3=81=BF=E3=81=AE=E6=99=82?= =?utf8?q?=E3=81=AF=E3=83=97=E3=83=AD=E3=83=B3=E3=83=97=E3=83=88=E3=81=8C?= =?utf8?q?=20"=E3=81=99=E3=81=B9=E3=81=A6*=E9=91=91=E5=AE=9A*=E6=B8=88?= =?utf8?q?=E3=81=BF=E3=81=A7=E3=81=99=E3=80=82"=20=20=20=E3=81=A8=E8=A1=A8?= =?utf8?q?=E7=A4=BA=E3=81=95=E3=82=8C=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?utf8?q?=E5=A4=89=E6=9B=B4.=20*=20*=E9=91=91=E5=AE=9A*=E3=81=AE=E5=A0=B4?= =?utf8?q?=E5=90=88=E3=81=AE=E5=90=84=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC?= =?utf8?q?=E3=82=B8=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6,=20"=E9=91=91?= =?utf8?q?=E5=AE=9A"=20->=20"*=E9=91=91=E5=AE=9A*".?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells3.c | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) diff --git a/src/spells3.c b/src/spells3.c index 2d822ec80..a2a49217d 100644 --- a/src/spells3.c +++ b/src/spells3.c @@ -2838,24 +2838,32 @@ bool ident_spell(bool only_equip) else item_tester_hook = item_tester_hook_identify; - if (!can_get_item()) + if (can_get_item()) + { +#ifdef JP + q = "¤É¤Î¥¢¥¤¥Æ¥à¤ò´ÕÄꤷ¤Þ¤¹¤«? "; +#else + q = "Identify which item? "; +#endif + } + else { if (only_equip) - { item_tester_hook = object_is_weapon_armour_ammo; - } else - { item_tester_hook = NULL; - } + +#ifdef JP + q = "¤¹¤Ù¤Æ´ÕÄêºÑ¤ß¤Ç¤¹¡£ "; +#else + q = "All items are identified. "; +#endif } /* Get an item */ #ifdef JP -q = "¤É¤Î¥¢¥¤¥Æ¥à¤ò´ÕÄꤷ¤Þ¤¹¤«? "; -s = "´ÕÄꤹ¤ë¤Ù¤­¥¢¥¤¥Æ¥à¤¬¤Ê¤¤¡£"; + s = "´ÕÄꤹ¤ë¤Ù¤­¥¢¥¤¥Æ¥à¤¬¤Ê¤¤¡£"; #else - q = "Identify which item? "; s = "You have nothing to identify."; #endif @@ -3012,21 +3020,33 @@ bool identify_fully(bool only_equip) else item_tester_hook = item_tester_hook_identify_fully; - if (!can_get_item()) + if (can_get_item()) + { +#ifdef JP + q = "¤É¤Î¥¢¥¤¥Æ¥à¤ò*´ÕÄê*¤·¤Þ¤¹¤«? "; +#else + q = "*Identify* which item? "; +#endif + } + else { if (only_equip) item_tester_hook = object_is_weapon_armour_ammo; else item_tester_hook = NULL; + +#ifdef JP + q = "¤¹¤Ù¤Æ*´ÕÄê*ºÑ¤ß¤Ç¤¹¡£ "; +#else + q = "All items are *identified*. "; +#endif } /* Get an item */ #ifdef JP -q = "¤É¤Î¥¢¥¤¥Æ¥à¤ò´ÕÄꤷ¤Þ¤¹¤«? "; -s = "´ÕÄꤹ¤ë¤Ù¤­¥¢¥¤¥Æ¥à¤¬¤Ê¤¤¡£"; + s = "*´ÕÄê*¤¹¤ë¤Ù¤­¥¢¥¤¥Æ¥à¤¬¤Ê¤¤¡£"; #else - q = "Identify which item? "; - s = "You have nothing to identify."; + s = "You have nothing to *identify*."; #endif if (!get_item(&item, q, s, (USE_EQUIP | USE_INVEN | USE_FLOOR))) return (FALSE); -- 2.11.0