• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision8bffaff9090007ebf410a3c9b6c5aff0e5505680 (tree)
Time2019-01-11 13:22:14
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/files.c
+++ b/src/files.c
@@ -3526,20 +3526,11 @@ static void display_player_stat_info(void)
35263526 row = 3;
35273527
35283528 /* Print out the labels for the columns */
3529-#ifdef JP
3530-c_put_str(TERM_WHITE, "能力", row, stat_col+1);
3531-c_put_str(TERM_BLUE, " 基本", row, stat_col+7);
3532-c_put_str(TERM_L_BLUE, " 種 職 性 装 ", row, stat_col+13);
3533-c_put_str(TERM_L_GREEN, "合計", row, stat_col+28);
3534-c_put_str(TERM_YELLOW, "現在", row, stat_col+35);
3535-#else
3536- c_put_str(TERM_WHITE, "Stat", row, stat_col+1);
3537- c_put_str(TERM_BLUE, " Base", row, stat_col+7);
3538- c_put_str(TERM_L_BLUE, "RacClaPerMod", row, stat_col+13);
3539- c_put_str(TERM_L_GREEN, "Actual", row, stat_col+26);
3540- c_put_str(TERM_YELLOW, "Current", row, stat_col+32);
3541-#endif
3542-
3529+ c_put_str(TERM_WHITE, _("能力", "Stat"), row, stat_col+1);
3530+ c_put_str(TERM_BLUE, _(" 基本", " Base"), row, stat_col+7);
3531+ c_put_str(TERM_L_BLUE, _(" 種 職 性 装 ", "RacClaPerMod"), row, stat_col+13);
3532+ c_put_str(TERM_L_GREEN, _("合計", "Actual"), row, stat_col+28);
3533+ c_put_str(TERM_YELLOW, _("現在", "Current"), row, stat_col+35);
35433534
35443535 /* Display the stats */
35453536 for (i = 0; i < 6; i++)
--- a/src/store.c
+++ b/src/store.c
@@ -2270,7 +2270,7 @@ static void display_entry(int pos)
22702270 if(show_weights)
22712271 {
22722272 /* Only show the weight of an individual item */
2273- int wgt = o_ptr->weight;
2273+ WEIGHT wgt = o_ptr->weight;
22742274 #ifdef JP
22752275 sprintf(out_val, "%3d.%1d kg", lbtokg1(wgt) , lbtokg2(wgt));
22762276 put_str(out_val, i+6, 67);
Show on old repository browser