OSDN Git Service

adjust usage of japanese function
authorSHIRAKATA Kentaro <argrath@ub32.org>
Wed, 25 Aug 2021 18:20:36 +0000 (03:20 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Fri, 3 Sep 2021 11:28:39 +0000 (20:28 +0900)
src/artifact.c
src/dig.c
src/do_wear.c

index 30ea9fa..51d2ed7 100644 (file)
@@ -2209,7 +2209,7 @@ int orc_count; /* new count (warn_obj_cnt is old count); -1 is a flag value */
 #else
                 pline("%s\82Í%s%s%s", bare_artifactname(uwep),
                       glow_color(uwep->oartifact),
-                      jconj(glow_verb(orc_count, FALSE), "\82½"),
+                      jpast(glow_verb(orc_count, FALSE)),
                       (newstr > oldstr) ? "\81I" : "\81D");
 #endif
             else if (oldstr == 0) /* quivers */
index 0708efd..09a5306 100644 (file)
--- a/src/dig.c
+++ b/src/dig.c
@@ -1235,7 +1235,7 @@ struct obj *obj;
               !res ? "Unfortunately," : "But", verb);
 #else
         pline("%s\82­\82à\82Ì\91\83\82É\82Ð\82Á\82©\82©\82Á\82Ä\82¢\82é\8aÔ\82Í%s\81D",
-              !res ? "\8ec\94O\82È\82ª\82ç" : "\82µ\82©\82µ", jconj(verb, "\82È\82¢"));
+              !res ? "\8ec\94O\82È\82ª\82ç" : "\82µ\82©\82µ", jcannot(verb));
 #endif
         return res;
     }
index 86f3f35..1d2b5f0 100644 (file)
@@ -1902,12 +1902,12 @@ struct obj *otmp;
 #if 1 /*JP*/
     const char *j;
     const char *m;
-    m = jconj(jonmsg(otmp, &j), "\82Ä\82¢\82é");
+    m = jconj(jonmsg(otmp, &j), "\82Ä");
 #endif
 /*JP
     You("are already wearing %s%c", cc, (cc == c_that_) ? '!' : '.');
 */
-    You("\82à\82¤%s%s%s%s", cc, j,  m, (cc == c_that_) ? "\81I" : "\81D");
+    You("\82à\82¤%s%s%s\82¢\82é%s", cc, j,  m, (cc == c_that_) ? "\81I" : "\81D");
 }
 
 STATIC_OVL void
@@ -2029,8 +2029,8 @@ boolean noisy;
                                                    : c_weapon);
 #else
                 {
-                    m = jconj(jonmsg(uwep, &j), "\82Ä\82¢\82é");
-                    You("\97¼\8eè\8e\9d\82¿\82Ì%s%s%s\82Ì\82Å\8f\82\82Å\90g\82ð\8eç\82ê\82È\82¢\81D",
+                    m = jconj(jonmsg(uwep, &j), "\82Ä");
+                    You("\97¼\8eè\8e\9d\82¿\82Ì%s%s%s\82¢\82é\82Ì\82Å\8f\82\82Å\90g\82ð\8eç\82ê\82È\82¢\81D",
                         is_sword(uwep) ? c_sword :
                         uwep->otyp == BATTLE_AXE ? c_axe : c_weapon,
                         j, m);