From: Deskull Date: Sat, 29 Dec 2018 10:14:23 +0000 (+0900) Subject: [Refactor] #37353 メッセージ整理。 / Refactor messages. X-Git-Tag: vmacos2.2.1-7a~1035 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=661ef2309a9789f3e8f239f2190357a0414e9ff8;p=hengbandforosx%2Fhengbandosx.git [Refactor] #37353 メッセージ整理。 / Refactor messages. --- diff --git a/src/autopick.c b/src/autopick.c index 88cacbf2e..16f6056cc 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -3242,13 +3242,8 @@ static bool entry_from_choosed_object(autopick_type *entry) object_type *o_ptr; cptr q, s; -#ifdef JP - q = "どのアイテムを登録しますか? "; - s = "アイテムを持っていない。"; -#else - q = "Enter which item? "; - s = "You have nothing to enter."; -#endif + q = _("どのアイテムを登録しますか? ", "Enter which item? "); + s = _("アイテムを持っていない。", "You have nothing to enter."); o_ptr = choose_object(q, s, USE_INVEN | USE_FLOOR | USE_EQUIP, NULL); if (!o_ptr) return FALSE; @@ -3266,13 +3261,8 @@ static byte get_object_for_search(object_type **o_handle, cptr *search_strp) object_type *o_ptr; cptr q, s; -#ifdef JP - q = "どのアイテムを検索しますか? "; - s = "アイテムを持っていない。"; -#else - q = "Enter which item? "; - s = "You have nothing to enter."; -#endif + q = _("どのアイテムを検索しますか? ", "Enter which item? "); + s = _("アイテムを持っていない。", "You have nothing to enter."); o_ptr = choose_object(q, s, USE_INVEN | USE_FLOOR | USE_EQUIP, NULL); if (!o_ptr) return 0;