OSDN Git Service

add translation
authorSHIRAKATA Kentaro <argrath@ub32.org>
Mon, 6 Mar 2017 13:32:31 +0000 (22:32 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Sat, 28 Apr 2018 19:42:45 +0000 (04:42 +0900)
src/read.c
src/zap.c

index 1a588c0..ec39cf6 100644 (file)
@@ -2698,7 +2698,7 @@ int how;
 /*JP
             getlin("What monster do you want to genocide? [type the name]",
 */
-            getlin("\82Ç\82Ì\89ö\95¨\82ð\8bs\8eE\82µ\82Ü\82·\82©\81H[\96¼\91O\82ð\93ü\82ê\82Ä\82Ë]",
+            getlin("\82Ç\82Ì\89ö\95¨\82ð\8bs\8eE\82µ\82Ü\82·\82©\81H[\96¼\91O\82ð\93ú\96{\8cê\82Å\93ü\82ê\82Ä\82Ë]",
                    buf);
             (void) mungspaces(buf);
             /* choosing "none" preserves genocideless conduct */
index 4792f47..1d1d7a2 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -364,15 +364,28 @@ struct obj *otmp;
         } else if ((obj = which_armor(mtmp, W_SADDLE)) != 0) {
             char buf[BUFSZ];
 
+#if 0 /*JP*/
             Sprintf(buf, "%s %s", s_suffix(Monnam(mtmp)),
                     distant_name(obj, xname));
+#else
+            Sprintf(buf, "%s\82Ì%s", s_suffix(Monnam(mtmp)),
+                    distant_name(obj, xname));
+#endif
             if (cansee(mtmp->mx, mtmp->my)) {
                 if (!canspotmon(mtmp))
                     Strcpy(buf, An(distant_name(obj, xname)));
+#if 0 /*JP*/
                 pline("%s falls to the %s.", buf,
                       surface(mtmp->mx, mtmp->my));
+#else
+                pline("%s\82Í%s\82É\97\8e\82¿\82½\81D", buf,
+                      surface(mtmp->mx, mtmp->my));
+#endif
             } else if (canspotmon(mtmp)) {
+/*JP
                 pline("%s falls off.", buf);
+*/
+                pline("%s\82ª\97\8e\82¿\82½\81D", buf);
             }
             obj_extract_self(obj);
             mdrop_obj(mtmp, obj, FALSE);
@@ -2016,19 +2029,34 @@ struct obj *obj, *otmp;
             maybelearnit = cansee(obj->ox, obj->oy) || !Deaf;
             if (obj->otyp == BOULDER) {
                 if (cansee(obj->ox, obj->oy))
+/*JP
                     pline_The("boulder falls apart.");
+*/
+                    pline_The("\8aâ\82Í\82Î\82ç\82Î\82ç\82É\82È\82Á\82½\81D");
                 else
+/*JP
                     You_hear("a crumbling sound.");
+*/
+                    You_hear("\89½\82©\82ª\8dÓ\82¯\82é\89¹\82ð\95·\82¢\82½\81D");
                 fracture_rock(obj);
             } else if (obj->otyp == STATUE) {
                 if (break_statue(obj)) {
                     if (cansee(obj->ox, obj->oy)) {
                         if (Hallucination)
+/*JP
                             pline_The("%s shatters.", rndmonnam(NULL));
+*/
+                            pline_The("%s\82Í\95²\81X\82É\82È\82Á\82½\81D", rndmonnam(NULL));
                         else
+/*JP
                             pline_The("statue shatters.");
+*/
+                            pline_The("\90Î\91\9c\82Í\95²\81X\82É\82È\82Á\82½\81D");
                     } else
+/*JP
                         You_hear("a crumbling sound.");
+*/
+                        You_hear("\89½\82©\82ª\8dÓ\82¯\82é\89¹\82ð\95·\82¢\82½\81D");
                 }
             } else {
                 if (context.mon_moving
@@ -2066,13 +2094,23 @@ struct obj *obj, *otmp;
                 res = !!revive(obj, TRUE);
                 if (res && Role_if(PM_HEALER)) {
                     if (Hallucination && !Deaf) {
+/*JP
                         You_hear("the sound of a defibrillator.");
+*/
+                        You_hear("\8f\9c\8d×\93®\8aí\82Ì\89¹\82ð\95·\82¢\82½\81D");
                         learn_it = TRUE;
                     } else if (!Blind) {
+#if 0 /*JP*/
                         You("observe %s %s change dramatically.",
                             s_suffix(an(mons[corpsenm].mname)),
                             nonliving(&mons[corpsenm]) ? "motility"
                                                        : "health");
+#else
+                        You("%s\82Ì%s\82ª\8c\80\93I\82É\95Ï\89»\82·\82é\82Ì\82ð\8c©\82½\81D",
+                            s_suffix(an(mons[corpsenm].mname)),
+                            nonliving(&mons[corpsenm]) ? "\89^\93®\90«"
+                                                       : "\8c\92\8dN");
+#endif
                         learn_it = TRUE;
                     }
                     if (learn_it)
@@ -2735,16 +2773,26 @@ int amt;          /* pseudo-damage used to determine blindness duration */
             dmg = 10 + rnd(dmg - 10);
         if (dmg > 20)
             dmg = 20;
+/*JP
         pline("Ow, that light hurts%c", (dmg > 2 || u.mh <= 5) ? '!' : '.');
+*/
+        pline("\82¨\82í\81C\8cõ\82ª\92É\82¢%s", (dmg > 2 || u.mh <= 5) ? "\81I" : "\81D");
         /* [composing killer/reason is superfluous here; if fatal, cause
            of death will always be "killed while stuck in creature form"] */
         if (obj->oclass == SCROLL_CLASS || obj->oclass == SPBOOK_CLASS)
             ordinary = FALSE; /* say blasted rather than zapped */
         how = (obj->oclass != SPBOOK_CLASS)
                   ? (const char *) ansimpleoname(obj)
+/*JP
                   : "spell of light";
+*/
+                  : "\8cõ\82Ì\96\82\96@";
+#if 0 /*JP*/
         Sprintf(buf, "%s %sself with %s", ordinary ? "zapped" : "blasted",
                 uhim(), how);
+#else
+        Sprintf(buf, "\8e©\95ª\82Å%s\82ð\97\81\82Ñ\82Ä", how);
+#endif
         /* might rehumanize(); could be fatal, but only for Unchanging */
 #if 0 /*JP*/
         losehp(Maybe_Half_Phys(dmg), buf, NO_KILLER_PREFIX);
@@ -3499,10 +3547,18 @@ struct obj **pobj; /* object tossed/used, set to NULL
             if (is_pool(bhitpos.x, bhitpos.y) && !mtmp) {
                 in_skip = TRUE;
                 if (!Blind)
+#if 0 /*JP*/
                     pline("%s %s%s.", Yname2(obj), otense(obj, "skip"),
                           skipcount ? " again" : "");
+#else
+                    pline("%s\82Í%s\92µ\82Ë\82½\81D", Yname2(obj),
+                          skipcount ? "\8dÄ\82Ñ" : "");
+#endif
                 else
+/*JP
                     You_hear("%s skip.", yname(obj));
+*/
+                    You_hear("%s\82ª\92µ\82Ë\82é\89¹\82ð\95·\82¢\82½\81D", yname(obj));
                 skipcount++;
             } else if (skiprange_start > skiprange_end + 1) {
                 --skiprange_start;
@@ -3515,8 +3571,13 @@ struct obj **pobj; /* object tossed/used, set to NULL
                     skiprange(range, &skiprange_start, &skiprange_end);
             } else if (mtmp && M_IN_WATER(mtmp->data)) {
                 if ((!Blind && canseemon(mtmp)) || sensemon(mtmp))
+#if 0 /*JP*/
                     pline("%s %s over %s.", Yname2(obj), otense(obj, "pass"),
                           mon_nam(mtmp));
+#else
+                    pline("%s\82Í%s\82ð\94ò\82Ñ\89z\82¦\82½\81D", Yname2(obj),
+                          mon_nam(mtmp));
+#endif
             }
         }
 
@@ -3750,7 +3811,10 @@ int dx, dy;
         delay_output();
         if (IS_SINK(levl[bhitpos.x][bhitpos.y].typ)) {
             if (!Deaf)
+/*JP
                 pline("Klonk!");
+*/
+                pline("\83J\83\89\83\93\81I");
             break; /* boomerang falls on sink */
         }
         /* ct==0, initial position, we want next delta to be same;
@@ -4471,7 +4535,10 @@ register int dx, dy;
 */
                 pline("%s\82Í\82 \82È\82½\82Ì\82»\82Î\82ð\82©\82·\82ß\82½\81I", fltxt);
             } else if (abstype == ZT_LIGHTNING) {
+/*JP
                 Your("%s tingles.", body_part(ARM));
+*/
+                Your("%s\82Í\83q\83\8a\83q\83\8a\82µ\82½\81D", body_part(ARM));
             }
             if (abstype == ZT_LIGHTNING)
                 (void) flashburn((long) d(nd, 50));
@@ -4667,7 +4734,10 @@ long timeout UNUSED;
     y = (xchar) (where & 0xFFFF);
     x = (xchar) ((where >> 16) & 0xFFFF);
     /* melt_ice does newsym when appropriate */
+/*JP
     melt_ice(x, y, "Some ice melts away.");
+*/
+    melt_ice(x, y, "\95X\82ª\8f­\82µ\97n\82¯\82½\81D");
 }
 
 /* Burn floor scrolls, evaporate pools, etc... in a single square.
@@ -4851,13 +4921,19 @@ short exploding_wand_typ;
         if (lev->typ == IRONBARS) {
             if ((lev->wall_info & W_NONDIGGABLE) != 0) {
                 if (see_it)
+/*JP
                     Norep("The %s corrode somewhat but remain intact.",
+*/
+                    Norep("%s\82Í\8f­\82µ\92É\82ñ\82¾\82ª\82Ü\82¾\82µ\82Á\82©\82è\82µ\82Ä\82¢\82é\81D",
                           defsyms[S_bars].explanation);
                 /* but nothing actually happens... */
             } else {
                 rangemod -= 3;
                 if (see_it)
+/*JP
                     Norep("The %s melt.", defsyms[S_bars].explanation);
+*/
+                    Norep("%s\82ª\97n\82¯\82½\81D", defsyms[S_bars].explanation);
                 if (*in_rooms(x, y, SHOPBASE)) {
                     /* in case we ever have a shop bounded by bars */
                     lev->typ = ROOM;
@@ -4909,8 +4985,12 @@ short exploding_wand_typ;
            (except on rogue level) */
         newsym(x, y);
         if (see_it)
+#if 0 /*JP*/
             pline("%s %s reveals a secret door.",
                   yourzap ? "Your" : "The", zapverb);
+#else
+            pline("%s\82Å\89B\82µ\94à\82ª\96¾\82ç\82©\82É\82È\82Á\82½\81D", zapverb);
+#endif
         else if (Is_rogue_level(&u.uz))
             draft_message(FALSE); /* "You feel a draft." (open doorway) */
     }
@@ -4975,8 +5055,14 @@ short exploding_wand_typ;
                 /* Magical explosion from misc exploding wand */
                 if (exploding_wand_typ == WAN_STRIKING) {
                     new_doormask = D_BROKEN;
+/*JP
                     see_txt = "The door crashes open!";
+*/
+                    see_txt = "\94à\82Í\89ó\82ê\82Ä\8aJ\82¢\82½\81I";
+/*JP
                     sense_txt = "feel a burst of cool air.";
+*/
+                    sense_txt = "\97â\8bC\82Ì\8f[\96\9e\82ð\8a´\82\82½\81D";
                     break;
                 }
             }
@@ -5614,7 +5700,7 @@ retry:
 /*JP
     Strcpy(promptbuf, "For what do you wish");
 */
-    Strcpy(promptbuf, "\89½\82ð\82¨\96]\82Ý");
+    Strcpy(promptbuf, "(\93ú\96{\8cê\82Å)\89½\82ð\82¨\96]\82Ý");
     if (iflags.cmdassist && tries > 0)
 /*JP
         Strcat(promptbuf, " (enter 'help' for assistance)");