OSDN Git Service

add translation
[jnethack/source.git] / src / trap.c
index 96102e1..1b53a1d 100644 (file)
@@ -192,7 +192,10 @@ int ef_flags;
         *const msg[] = { "burnt", "rusted", "rotten", "corroded" },
 */
         *const msg[] =  { "\8fÅ\82°\82½", "\8eK\82Ñ\82½", "\95\85\82Á\82½", "\95\85\90H\82µ\82½" },
+/*JP
         *const bythe[] = { "heat", "oxidation", "decay", "corrosion" };
+*/
+        *const bythe[] = { "\94M", "\8e_\89»", "\95\85\94s", "\95\85\90H" };
     boolean vulnerable = FALSE, is_primary = TRUE,
             check_grease = (ef_flags & EF_GREASE) ? TRUE : FALSE,
             print = (ef_flags & EF_VERBOSE) ? TRUE : FALSE,
@@ -1088,7 +1091,10 @@ boolean msg;
         if (!was_Lev && Levitation)
             float_up();
         if (!was_Fly && Flying)
+/*JP
             You("can fly.");
+*/
+            You("\94ò\82×\82é\82æ\82¤\82É\82È\82Á\82½\81D");
     }
 }
 
@@ -1564,8 +1570,13 @@ unsigned trflags;
 */
                 You("\97×\82Ì\97\8e\82µ\8c\8a\82É\88Ú\93®\82µ\82½\81D");
             } else if (adj_pit) {
+#if 0 /*JP:T*/
                 You("stumble over debris%s.",
                     !rn2(5) ? " between the pits" : "");
+#else
+                You("\82Í%s\82ª\82ç\82­\82½\82Å\82Â\82Ü\82Ã\82¢\82½\81D",
+                    !rn2(5) ? "\97\8e\82µ\8c\8a\82Ì" : "");
+#endif
             } else {
 #if 0 /*JP*/
                 Strcpy(verbbuf,
@@ -1912,14 +1923,18 @@ unsigned trflags;
 
         seetrap(trap);
         if (viasitting)
+#if 0 /*JP*/
             Strcpy(verbbuf, "trigger"); /* follows "You sit down." */
+#else
+            Strcpy(verbbuf, "\82ð\88ø\82«\8bN\82±\82µ\82½"); /* follows "You sit down." */
+#endif
         else if (u.usteed)
 #if 0 /*JP*/
             Sprintf(verbbuf, "lead %s onto",
                     x_monnam(u.usteed, steed_article, (char *) 0,
                              SUPPRESS_SADDLE, FALSE));
 #else
-            Sprintf(verbbuf, "%s\82Æ\82Æ\82à\82É\94ò\82Ñ\8d\9e\82ñ\82¾",
+            Sprintf(verbbuf, "\82É%s\82Æ\82Æ\82à\82É\94ò\82Ñ\8d\9e\82ñ\82¾",
                     x_monnam(u.usteed, steed_article, (char *) 0,
                              SUPPRESS_SADDLE, FALSE));
 #endif
@@ -1929,14 +1944,14 @@ unsigned trflags;
                     Levitation ? (const char *) "float"
                                : locomotion(youmonst.data, "step"));
 #else
-            Sprintf(verbbuf,"%s",
+            Sprintf(verbbuf,"\82É%s",
                     jpast(Levitation ? (const char *)"\95\82\82«\82È\82ª\82ç\94ò\82Ñ\82±\82Þ"
                           : locomotion(youmonst.data, "\93¥\82Ý\8d\9e\82Þ")));
 #endif
 /*JP
         You("%s a polymorph trap!", verbbuf);
 */
-        You("\95Ï\89»\82Ìã©\82É%s\81I", verbbuf);
+        You("\95Ï\89»\82Ìã©%s\81I", verbbuf);
         if (Antimagic || Unchanging) {
             shieldeff(u.ux, u.uy);
 /*JP
@@ -3639,11 +3654,20 @@ float_up()
             (void) buried_ball(&cc);
             /* being chained to the floor blocks levitation from floating
                above that floor but not from enhancing carrying capacity */
+#if 0 /*JP*/
             You("feel lighter, but your %s is still chained to the %s.",
                 body_part(LEG),
                 IS_ROOM(levl[cc.x][cc.y].typ) ? "floor" : "ground");
+#else
+            You("\82·\82±\82µ\8cy\82­\82È\82Á\82½\82ª\81C\82 \82È\82½\82Ì%s\82Í\82Ü\82¾%s\82É\82Â\82È\82ª\82Á\82Ä\82¢\82é\81D",
+                body_part(LEG),
+                IS_ROOM(levl[cc.x][cc.y].typ) ? "\8f°" : "\92n\96Ê");
+#endif
         } else if (u.utraptype == WEB) {
+/*JP
             You("float up slightly, but you are still stuck in the web.");
+*/
+            You("\82·\82±\82µ\95\82\82«\8fã\82ª\82Á\82½\82ª\81C\82Ü\82¾\82­\82à\82Ì\91\83\82É\82Â\82©\82Ü\82Á\82Ä\82¢\82é\81D");
         } else { /* bear trap */
 /*JP
             You("float up slightly, but your %s is still stuck.",
@@ -3754,12 +3778,21 @@ long hmask, emask; /* might cancel timeout */
 
         float_vs_flight();
         if (trapped && u.utrap) /* u.utrap => paranoia */
+#if 0 /*JP*/
             You("are no longer trying to float up from the %s.",
                 (u.utraptype == TT_BEARTRAP) ? "trap's jaws"
                   : (u.utraptype == TT_WEB) ? "web"
                       : (u.utraptype == TT_BURIEDBALL) ? "chain"
                           : (u.utraptype == TT_LAVA) ? "lava"
                               : "ground"); /* TT_INFLOOR */
+#else
+            You("\82à\82Í\82â%s\82©\82ç\95\82\82«\8fã\82ª\82ë\82¤\82Æ\82µ\82È\82­\82È\82Á\82½\81D",
+                (u.utraptype == TT_BEARTRAP) ? "ã©\82Ì\8e\95"
+                  : (u.utraptype == TT_WEB) ? "\82­\82à\82Ì\91\83"
+                      : (u.utraptype == TT_BURIEDBALL) ? "\8d½"
+                          : (u.utraptype == TT_LAVA) ? "\97n\8aâ"
+                              : "\92n\96Ê"); /* TT_INFLOOR */
+#endif
         (void) encumber_msg(); /* carrying capacity might have changed */
         return 0;
     }
@@ -4138,7 +4171,10 @@ domagictrap()
             context.botl = TRUE;
         } else {
             /* magic vibrations still hit you */
+/*JP
             You_feel("rankled.");
+*/
+            You_feel("\82¢\82ç\82¢\82ç\82µ\82½\81D");
             incr_itimeout(&HDeaf, rn1(5, 15));
             context.botl = TRUE;
         }
@@ -5947,14 +5983,23 @@ boolean *noticed; /* set to true iff hero notices the effect; */
         which = "";
         switch (u.utraptype) {
         case TT_LAVA:
+/*JP
             trapdescr = "molten lava";
+*/
+            trapdescr = "\82Ç\82ë\82Ç\82ë\82Ì\97n\8aâ";
             break;
         case TT_INFLOOR:
             /* solidified lava, so not "floor" even if within a room */
+/*JP
             trapdescr = "ground";
+*/
+            trapdescr = "\92n\96Ê";
             break;
         case TT_BURIEDBALL:
+/*JP
             trapdescr = "your anchor";
+*/
+            trapdescr = "\82­\82³\82Ñ";
             break;
         case TT_BEARTRAP:
         case TT_PIT:
@@ -5964,7 +6009,10 @@ boolean *noticed; /* set to true iff hero notices the effect; */
         default:
             /* lint suppression in case 't' is unexpectedly Null
                or u.utraptype has new value we don't know about yet */
+/*JP
             trapdescr = "trap";
+*/
+            trapdescr = "ã©";
             break;
         }
     } else {
@@ -6677,7 +6725,7 @@ unconscious()
                               || !strncmp(nomovemsg, "You regain con", 14)
                               || !strncmp(nomovemsg, "You are consci", 14))));
 #else
-/*JP 3.6.0 \82Å\82Ì\8fo\8c»\88Ê\92u/\89ñ\90\94
+/*JP 3.6.2 \82Å\82Ì\8fo\8c»\88Ê\92u/\89ñ\90\94
  "You awake"      : potion.c(1)
   "You regain con": eat.c(1)
   "You are consci": eat.c(1)