OSDN Git Service

[Fix] #39492 Applied patch for fix English version.
authordeskull <deskull@users.sourceforge.jp>
Sat, 31 Aug 2019 10:59:01 +0000 (19:59 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 31 Aug 2019 10:59:01 +0000 (19:59 +0900)
src/autopick.c
src/cmd/cmd-smith.c
src/mind.c
src/monster1.c

index 9931614..e91e1eb 100644 (file)
@@ -157,7 +157,7 @@ static GAME_TEXT KEY_COLLECTING[] = "collecting";
 static GAME_TEXT KEY_ARTIFACT[] = "artifact";
 static GAME_TEXT KEY_EGO[] = "ego";
 static GAME_TEXT KEY_GOOD[] = "good";
-static GAME_TEXT KEY_nameLESS[] = "nameless";
+static GAME_TEXT KEY_NAMELESS[] = "nameless";
 static GAME_TEXT KEY_AVERAGE[] = "average";
 static GAME_TEXT KEY_WORTHLESS[] = "worthless";
 static GAME_TEXT KEY_RARE[] = "rare";
index 8c127d2..c6dd994 100644 (file)
@@ -1313,7 +1313,11 @@ static void add_essence(player_type *creature_ptr, ESSENCE_IDX mode)
 
        take_turn(creature_ptr, 100);
 
-       msg_format(_("%sに%sの能力を付加しました。", "You have added ability of %s to %s."), o_name, es_ptr->add_name);
+#ifdef JP
+       msg_format("%sに%sの能力を付加しました。", o_name, es_ptr->add_name);
+#else
+       msg_format("You have added ability of %s to %s.", es_ptr->add_name, o_name);
+#endif
        creature_ptr->update |= (PU_COMBINE | PU_REORDER);
        creature_ptr->window |= (PW_INVEN);
 }
index 80d3750..3a092e3 100644 (file)
@@ -1881,7 +1881,7 @@ void do_cmd_mind(void)
        if (randint0(100) < chance)
        {
                if (flush_failure) flush();
-               msg_format(_("%sの集中に失敗した!", "You failed to concentrate hard enough!"), p);
+               msg_format(_("%sの集中に失敗した!", "You failed to concentrate hard enough for %s!"), p);
 
                sound(SOUND_FAIL);
 
index 239e8d6..74871fa 100644 (file)
@@ -660,14 +660,12 @@ static void roff_aux(MONRACE_IDX r_idx, BIT_FLAGS mode)
                                (long)1000 / (p_ptr->max_plv + 2) + 5) / 10);
 
 #ifdef JP
-                       hooked_roff(format(" %d レベルのキャラクタにとって 約%ld.%02ld ポイントの経験となる。",
-                               p_ptr->lev, (long)i, (long)j ));
+                       hooked_roff(format(" %d レベルのキャラクタにとって 約%ld.%02ld ポイントの経験となる。", p_ptr->lev, (long)i, (long)j ));
 #else
 
                        /* Mention the experience */
                        hooked_roff(format(" is worth about %ld.%02ld point%s for level %d player",
-                               (long)i, (long)j,
-                               (((i == 1) && (j == 0)) ? "" : "s")), p_ptr->lev);
+                               (long)i, (long)j, ((i == 1) && (j == 0)) ? "" : "s" , p_ptr->lev));
 
                        /* Take account of annoying English */
                        p = "th";