OSDN Git Service

add translation
[jnethack/source.git] / src / pager.c
index 4c924fb..ca5abbd 100644 (file)
@@ -1684,6 +1684,7 @@ boolean do_mons; /* True => monsters, False => objects */
 }
 
 static const char *suptext1[] = {
+#if 0 /*JP:T*/
     "%s is a member of a marauding horde of orcs",
     "rumored to have brutally attacked and plundered",
     "the ordinarily sheltered town that is located ",
@@ -1693,9 +1694,19 @@ static const char *suptext1[] = {
     "defiantly acclaim their allegiance to their",
     "leader %s in their names.",
     (char *) 0,
+#else
+    "%s\82Í\81C\83m\81[\83\80\82Ì\8dz\8eR\82Ì\89\9c\82É\88Ê\92u\82µ\82Ä\82¢\82é",
+    "\92Ê\8fí\92Ê\82è\96h\8cä\82µ\82Ä\82¢\82½\8aX\82ð\97e\8eÍ\82È\82­\8dU\8c\82\82µ\82Ä",
+    "\97ª\92D\82µ\82½\82Æ\89\\82³\82ê\82é\81C\83I\81[\83N\82Ì\8fP\8c\82\8fW\92c\82Ì\88ê\88õ\82Å\82 \82é\81D",
+    "",
+    "\82»\82Ì\88«\8e¿\82È\8fW\92c\82Ì\83\81\83\93\83o\81[\82Í\81C\82»\82Ì\83\8a\81[\83_\81[\82Å\82 \82é%s\82Ì\96¼\82Ì\89º\82É",
+    "\8cÖ\82ç\82µ\82°\82©\82Â\92§\90í\93I\82É\82»\82Ì\92\89\90½\82ð\8fÌ\8e^\82µ\82Ä\82¢\82é\81D",
+    (char *) 0,
+#endif
 };
 
 static const char *suptext2[] = {
+#if 0 /*JP:T*/
     "\"%s\" is the common dungeon name of",
     "a nefarious orc who is known to acquire property",
     "from thieves and sell it off for profit.",
@@ -1703,6 +1714,15 @@ static const char *suptext2[] = {
     "The perpetrator was last seen hanging around the",
     "stairs leading to the Gnomish Mines.",
     (char *) 0,
+#else
+    "\"%s\" \82Í\81C\93\90\91¯\82©\82ç\95¨\95i\82ð\93ü\8eè\82µ\82Ä",
+    "\97\98\89v\82ð\93¾\82é\82½\82ß\82É\94\84\82è\82³\82Î\82­\82±\82Æ\82Å\92m\82ç\82ê\82Ä\82¢\82é",
+    "\96³\96@\82È\83I\81[\83N\82Ì\88ê\94Ê\93I\82È\96À\8b{\96¼\82Å\82 \82é\81D",
+    "",
+    "\94Æ\90l\82ª\8dÅ\8cã\82É\96Ú\8c\82\82³\82ê\82½\82Ì\82Í",
+    "\83m\81[\83\80\82Ì\92Y\8dz\82Ö\91±\82­\8aK\92i\82Ì\8bß\82­\82Å\82 \82é\81D",
+    (char *) 0,
+#endif
 };
 
 void
@@ -1803,7 +1823,10 @@ doidtrap()
         boolean chesttrap = trapped_chest_at(tt, x, y);
 
         if (chesttrap || trapped_door_at(tt, x, y)) {
+/*JP
             pline("That is a trapped %s.", chesttrap ? "chest" : "door");
+*/
+            pline("\82»\82ê\82Íã©\82ª\8ed\8a|\82¯\82ç\82ê\82½%s\82¾\81D", chesttrap ? "\94 " : "\94à");
             return 0; /* trap ID'd, but no time elapses */
         }
     }
@@ -2132,11 +2155,19 @@ dowhatdoes()
     char q, *reslt;
 
     if (!once) {
+#if 0 /*JP*/
         pline("Ask about '&' or '?' to get more info.%s",
 #ifdef ALTMETA
               iflags.altmeta ? "  (For ESC, type it twice.)" :
 #endif
               "");
+#else
+        pline("\82³\82ç\82È\82é\8fî\95ñ\82É\82Â\82¢\82Ä\82Í '&' \82© '?' \82É\82Â\82¢\82Ä\82½\82¸\82Ë\82Ü\82·\81D%s",
+#ifdef ALTMETA
+              iflags.altmeta ? "  (ESC\82É\82Â\82¢\82Ä\82Í\81C2\89ñ\83^\83C\83v\82µ\82Ü\82·\81D)" :
+#endif
+              "");
+#endif
         once = TRUE;
     }
 #if defined(UNIX) || defined(VMS)