OSDN Git Service

add translation
[jnethack/source.git] / src / zap.c
index abaa347..cd495cf 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -2123,11 +2123,19 @@ struct obj *obj, *otmp;
                     /* we don't want to force alive vs dead
                        determination for Schroedinger's Cat here,
                        so just make probing be inconclusive for it */
+#if 0 /*JP*/
                     You("aren't sure whether %s has %s or its corpse inside.",
                         the(xname(obj)),
                         /* unfortunately, we can't tell whether rndmonnam()
                            picks a form which can't leave a corpse */
                         an(Hallucination ? rndmonnam((char *) 0) : "cat"));
+#else
+                    pline("%s\82É%s\82ª\93ü\82Á\82Ä\82¢\82é\82Ì\82©\82»\82Ì\8e\80\91Ì\82ª\93ü\82Á\82Ä\82¢\82é\82Ì\82©\82í\82©\82ç\82È\82¢\81D",
+                        xname(obj),
+                        /* unfortunately, we can't tell whether rndmonnam()
+                           picks a form which can't leave a corpse */
+                        Hallucination ? rndmonnam((char *) 0) : "\94L");
+#endif
                     obj->cknown = 0;
                 } else {
                     struct obj *o;
@@ -2227,8 +2235,13 @@ struct obj *obj, *otmp;
                 } else {
                     if (cansee(ox, oy)) {
                         if (canspotmon(mtmp)) {
+#if 0 /*JP*/
                             pline("%s is resurrected!",
                                   upstart(noname_monnam(mtmp, ARTICLE_THE)));
+#else
+                            pline("%s\82Í\90\82«\95Ô\82Á\82½\81I",
+                                  upstart(noname_monnam(mtmp, ARTICLE_THE)));
+#endif
                             learn_it = TRUE;
                         } else {
                             /* saw corpse but don't see monster: maybe
@@ -2236,7 +2249,10 @@ struct obj *obj, *otmp;
                                a different spot than <ox,oy> */
                             if (!type_is_pname(&mons[corpsenm]))
                                 corpsname = The(corpsname);
+/*JP
                             pline("%s disappears.", corpsname);
+*/
+                            pline("%s\82Í\8fÁ\82¦\82½\81D", corpsname);
                         }
                     } else {
                         /* couldn't see corpse's location */
@@ -2245,7 +2261,10 @@ struct obj *obj, *otmp;
                             if (!type_is_pname(&mons[corpsenm]))
                                 corpsname = an(corpsname);
                             if (!Hallucination)
+/*JP
                                 You_hear("%s reviving.", corpsname);
+*/
+                                You_hear("%s\82ª\90\82«\95Ô\82é\89¹\82ð\95·\82¢\82½\81D", corpsname);
                             else
 /*JP
                                 You_hear("a defibrillator.");
@@ -3093,7 +3112,11 @@ boolean youattack, allow_cancel_kill, self_cancel;
                 if (!Blind)
                     pline(writing_vanishes, your);
                 else /* note: "dark" rather than "heavy" is intentional... */
+#if 0 /*JP*/
                     You_feel("%s headed.", Hallucination ? "dark" : "light");
+#else /*\82¢\82¢\96ó\8cê\82ð\8ev\82¢\82Â\82©\82È\82¢\82Ì\82Å\8c\8ao\82Å\83\81\83b\83Z\81[\83W\82ð\95Ï\82¦\82È\82¢ */
+                    You_feel("\8cy\82Í\82¸\82Ý\82¾\82Á\82½\8bC\82ª\82µ\82½\81D");
+#endif
                 u.mh = 0; /* fatal; death handled by rehumanize() */
             }
             if (Unchanging && u.mh > 0)
@@ -5626,9 +5649,11 @@ int osym, dmgtyp;
         pline("%s %s %s!", mult, xname(obj),
               destroy_strings[dindx][(cnt > 1L)]);
 #else
-        mult = (cnt == quan)
-                ? ""
-                : (cnt == 1L) ? "\82Ì\82Ð\82Æ\82Â" : "\82Ì\82¢\82­\82Â\82©";
+        mult = (cnt == 1L)
+                ? ((quan == 1L) ? ""                             /* 1 of 1 */
+                                : "\82Ì\82Ð\82Æ\82Â")                    /* 1 of N */
+                : ((cnt < quan) ? "\82Ì\82¢\82­\82Â\82©"                   /* n of N */
+                                : "\82Ì\91S\82Ä");                     /* N of N */
         pline("\82 \82È\82½\82Ì%s%s\82Í%s\81I", xname(obj), mult, 
               destroy_strings[dindx][(cnt > 1L)]);
 #endif