• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision1ca6fe39db932159cfb3580df92a39fa0ba7d435 (tree)
Time2019-01-07 13:13:03
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 メッセージ整理。 / Refactor messages.

Change Summary

Incremental Difference

--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -5874,12 +5874,10 @@ static void do_cmd_knowledge_pets(void)
58745874 fprintf(fff, "----------------------------------------------\n");
58755875 #ifdef JP
58765876 fprintf(fff, " 合計: %d 体のペット\n", t_friends);
5877- fprintf(fff, " 維持コスト: %d%% MP\n", show_upkeep);
58785877 #else
5879- fprintf(fff, " Total: %d pet%s.\n",
5880- t_friends, (t_friends == 1 ? "" : "s"));
5881- fprintf(fff, " Upkeep: %d%% mana.\n", show_upkeep);
5878+ fprintf(fff, " Total: %d pet%s.\n", t_friends, (t_friends == 1 ? "" : "s"));
58825879 #endif
5880+ fprintf(fff, _(" 維持コスト: %d%% MP\n", " Upkeep: %d%% mana.\n"), show_upkeep);
58835881
58845882
58855883 my_fclose(fff);
@@ -6564,22 +6562,12 @@ static void do_cmd_knowledge_monsters(bool *need_redraw, bool visual_only, IDX d
65646562 if (redraw)
65656563 {
65666564 clear_from(0);
6567-
6568-#ifdef JP
6569- prt(format("%s - モンスター", !visual_only ? "知識" : "表示"), 2, 0);
6570- if (direct_r_idx < 0) prt("グループ", 4, 0);
6571- prt("名前", 4, max + 3);
6572- if (p_ptr->wizard || visual_only) prt("Idx", 4, 62);
6573- prt("文字", 4, 67);
6574- if (!visual_only) prt("殺害数", 4, 72);
6575-#else
6576- prt(format("%s - monsters", !visual_only ? "Knowledge" : "Visuals"), 2, 0);
6577- if (direct_r_idx < 0) prt("Group", 4, 0);
6578- prt("Name", 4, max + 3);
6565+ prt(format(_("%s - モンスター", "%s - monsters"), !visual_only ? _("知識", "Knowledge") : _("表示", "Visuals")), 2, 0);
6566+ if (direct_r_idx < 0) prt(_("グループ", "Group"), 4, 0);
6567+ prt(_("名前", "Name"), 4, max + 3);
65796568 if (p_ptr->wizard || visual_only) prt("Idx", 4, 62);
6580- prt("Sym", 4, 68);
6581- if (!visual_only) prt("Kills", 4, 73);
6582-#endif
6569+ prt(_("文字", "Sym"), 4, 67);
6570+ if (!visual_only) prt(_("殺害数", "Kills"), 4, 72);
65836571
65846572 for (i = 0; i < 78; i++)
65856573 {
Show on old repository browser