From: Deskull Date: Mon, 14 Jan 2019 03:55:00 +0000 (+0900) Subject: [Refactor] #37353 メッセージ整理。(window_flag_desc) / Refactor messages. (window_flag_desc) X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=568cf1908df485de741922e331205fc828570e18 [Refactor] #37353 メッセージ整理。(window_flag_desc) / Refactor messages. (window_flag_desc) --- diff --git a/src/cmd4.c b/src/cmd4.c index ece0cc166..ba00b86bf 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -806,11 +806,9 @@ static void do_cmd_disp_nikki(void) else strcpy(tmp,subtitle[randint0(MAX_SUBTITLE-2)+1]); #ifdef JP - sprintf(nikki_title, "「%s%s%sの伝説 -%s-」", - ap_ptr->title, ap_ptr->no ? "の" : "", p_ptr->name, tmp); + sprintf(nikki_title, "「%s%s%sの伝説 -%s-」", ap_ptr->title, ap_ptr->no ? "の" : "", p_ptr->name, tmp); #else - sprintf(nikki_title, "Legend of %s %s '%s'", - ap_ptr->title, p_ptr->name, tmp); + sprintf(nikki_title, "Legend of %s %s '%s'", ap_ptr->title, p_ptr->name, tmp); #endif /* Display the file contents */ diff --git a/src/tables.c b/src/tables.c index bde47c424..45fb4be1c 100644 --- a/src/tables.c +++ b/src/tables.c @@ -4821,87 +4821,22 @@ const concptr stat_names_reduced[6] = */ const concptr window_flag_desc[32] = { -#ifdef JP - "持ち物/装備一覧", -#else - "Display inven/equip", -#endif - -#ifdef JP - "装備/持ち物一覧", -#else - "Display equip/inven", -#endif - -#ifdef JP - "呪文一覧", -#else - "Display spell list", -#endif - -#ifdef JP - "キャラクタ情報", -#else - "Display character", -#endif - -#ifdef JP - "視界内のモンスター表示", -#else - "Display monsters in sight", -#endif - + _("持ち物/装備一覧", "Display inven/equip"), + _("装備/持ち物一覧", "Display equip/inven"), + _("呪文一覧", "Display spell list"), + _("キャラクタ情報", "Display character"), + _("視界内のモンスター表示", "Display monsters in sight"), NULL, -#ifdef JP - "メッセージ", -#else - "Display messages", -#endif - -#ifdef JP - "ダンジョン全体図", -#else - "Display overhead view", -#endif - -#ifdef JP - "モンスターの思い出", -#else - "Display monster recall", -#endif - -#ifdef JP - "アイテムの詳細", -#else - "Display object recall", -#endif - -#ifdef JP - "自分の周囲を表示", -#else - "Display dungeon view", -#endif - -#ifdef JP - "記念撮影", -#else - "Display snap-shot", -#endif - + _("メッセージ", "Display messages"), + _("ダンジョン全体図", "Display overhead view"), + _("モンスターの思い出", "Display monster recall"), + _("アイテムの詳細", "Display object recall"), + _("自分の周囲を表示", "Display dungeon view"), + _("記念撮影", "Display snap-shot"), NULL, NULL, -#ifdef JP - "ボーグ・メッセージ", -#else - "Display borg messages", -#endif - -#ifdef JP - "ボーグ・ステータス", -#else - "Display borg status", -#endif - + _("ボーグ・メッセージ", "Display borg messages"), + _("ボーグ・ステータス", "Display borg status"), NULL, NULL, NULL,