From 01026c1c0b06f3c1e551d914fc0f83580ee35908 Mon Sep 17 00:00:00 2001 From: SHIRAKATA Kentaro Date: Thu, 26 Aug 2021 03:20:36 +0900 Subject: [PATCH] adjust usage of japanese function --- src/artifact.c | 2 +- src/dig.c | 2 +- src/do_wear.c | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/artifact.c b/src/artifact.c index 30ea9fa..51d2ed7 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -2209,7 +2209,7 @@ int orc_count; /* new count (warn_obj_cnt is old count); -1 is a flag value */ #else pline("%s‚Í%s%s%s", bare_artifactname(uwep), glow_color(uwep->oartifact), - jconj(glow_verb(orc_count, FALSE), "‚½"), + jpast(glow_verb(orc_count, FALSE)), (newstr > oldstr) ? "I" : "D"); #endif else if (oldstr == 0) /* quivers */ diff --git a/src/dig.c b/src/dig.c index 0708efd..09a5306 100644 --- a/src/dig.c +++ b/src/dig.c @@ -1235,7 +1235,7 @@ struct obj *obj; !res ? "Unfortunately," : "But", verb); #else pline("%s‚­‚à‚Ì‘ƒ‚ɂЂÁ‚©‚©‚Á‚Ä‚¢‚éŠÔ‚Í%sD", - !res ? "Žc”O‚È‚ª‚ç" : "‚µ‚©‚µ", jconj(verb, "‚È‚¢")); + !res ? "Žc”O‚È‚ª‚ç" : "‚µ‚©‚µ", jcannot(verb)); #endif return res; } diff --git a/src/do_wear.c b/src/do_wear.c index 86f3f35..1d2b5f0 100644 --- a/src/do_wear.c +++ b/src/do_wear.c @@ -1902,12 +1902,12 @@ struct obj *otmp; #if 1 /*JP*/ const char *j; const char *m; - m = jconj(jonmsg(otmp, &j), "‚Ä‚¢‚é"); + m = jconj(jonmsg(otmp, &j), "‚Ä"); #endif /*JP You("are already wearing %s%c", cc, (cc == c_that_) ? '!' : '.'); */ - You("‚à‚¤%s%s%s%s", cc, j, m, (cc == c_that_) ? "I" : "D"); + You("‚à‚¤%s%s%s‚¢‚é%s", cc, j, m, (cc == c_that_) ? "I" : "D"); } STATIC_OVL void @@ -2029,8 +2029,8 @@ boolean noisy; : c_weapon); #else { - m = jconj(jonmsg(uwep, &j), "‚Ä‚¢‚é"); - You("—¼ŽèŽ‚¿‚Ì%s%s%s‚̂ŏ‚‚Őg‚ðŽç‚ê‚È‚¢D", + m = jconj(jonmsg(uwep, &j), "‚Ä"); + You("—¼ŽèŽ‚¿‚Ì%s%s%s‚¢‚é‚̂ŏ‚‚Őg‚ðŽç‚ê‚È‚¢D", is_sword(uwep) ? c_sword : uwep->otyp == BATTLE_AXE ? c_axe : c_weapon, j, m); -- 2.11.0