• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

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

Log Message

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

Change Summary

Incremental Difference

--- a/src/cmd4.c
+++ b/src/cmd4.c
@@ -7312,35 +7312,19 @@ static void do_cmd_knowledge_features(bool *need_redraw, bool visual_only, IDX d
73127312 {
73137313 clear_from(0);
73147314
7315-#ifdef JP
7316- prt("表示 - 地形", 2, 0);
7317- if (direct_f_idx < 0) prt("グループ", 4, 0);
7318- prt("名前", 4, max + 3);
7315+ prt(_("表示 - 地形", "Visuals - features"), 2, 0);
7316+ if (direct_f_idx < 0) prt(_("グループ", "Group"), 4, 0);
7317+ prt(_("名前", "Name"), 4, max + 3);
73197318 if (use_bigtile)
73207319 {
73217320 if (p_ptr->wizard || visual_only) prt("Idx", 4, 62);
7322- prt("文字 ( l/ d)", 4, 66);
7321+ prt(_("文字 ( l/ d)", "Sym ( l/ d)"), 4, 66);
73237322 }
73247323 else
73257324 {
73267325 if (p_ptr->wizard || visual_only) prt("Idx", 4, 64);
7327- prt("文字 (l/d)", 4, 68);
7328- }
7329-#else
7330- prt("Visuals - features", 2, 0);
7331- if (direct_f_idx < 0) prt("Group", 4, 0);
7332- prt("Name", 4, max + 3);
7333- if (use_bigtile)
7334- {
7335- if (p_ptr->wizard || visual_only) prt("Idx", 4, 62);
7336- prt("Sym ( l/ d)", 4, 67);
7326+ prt(_("文字 (l/d)", "Sym (l/d)"), 4, 68);
73377327 }
7338- else
7339- {
7340- if (p_ptr->wizard || visual_only) prt("Idx", 4, 64);
7341- prt("Sym (l/d)", 4, 69);
7342- }
7343-#endif
73447328
73457329 for (i = 0; i < 78; i++)
73467330 {
@@ -7399,17 +7383,10 @@ static void do_cmd_knowledge_features(bool *need_redraw, bool visual_only, IDX d
73997383 }
74007384
74017385 /* Prompt */
7402-#ifdef JP
7403- prt(format("<方向>%s, 'd'で標準光源効果%s, ESC",
7404- visual_list ? ", ENTERで決定, 'a'で対象明度変更" : ", 'v'でシンボル変更",
7405- (attr_idx || char_idx) ? ", 'c', 'p'でペースト" : ", 'c'でコピー"),
7386+ prt(format(_("<方向>%s, 'd'で標準光源効果%s, ESC", "<dir>%s, 'd' for default lighting%s, ESC"),
7387+ visual_list ? _(", ENTERで決定, 'a'で対象明度変更", ", ENTER to accept, 'a' for lighting level") : _(", 'v'でシンボル変更", ", 'v' for visuals"),
7388+ (attr_idx || char_idx) ? _(", 'c', 'p'でペースト", ", 'c', 'p' to paste") : _(", 'c'でコピー", ", 'c' to copy")),
74067389 hgt - 1, 0);
7407-#else
7408- prt(format("<dir>%s, 'd' for default lighting%s, ESC",
7409- visual_list ? ", ENTER to accept, 'a' for lighting level" : ", 'v' for visuals",
7410- (attr_idx || char_idx) ? ", 'c', 'p' to paste" : ", 'c' to copy"),
7411- hgt - 1, 0);
7412-#endif
74137390
74147391 /* Get the current feature */
74157392 f_ptr = &f_info[feat_idx[feat_cur]];
Show on old repository browser