OSDN Git Service

add translation
[jnethack/source.git] / src / do_name.c
index af5a1c8..fbb0ded 100644 (file)
@@ -119,7 +119,10 @@ const char *goal;
     boolean hilite_state = FALSE;
 
     if (!goal)
+/*JP
         goal = "desired location";
+*/
+        goal = "\96Ú\93I\92n";
     if (flags.verbose) {
 /*JP
         pline("(For instructions type a ?)");
@@ -139,7 +142,10 @@ const char *goal;
 #endif
     for (;;) {
         if (show_goal_msg) {
+/*JP
             pline("Move cursor to %s:", goal);
+*/
+            pline("\83J\81[\83\\83\8b\82ð%s\82É\93®\82©\82µ\82Ä\82­\82¾\82³\82¢:", goal);
             curs(WIN_MAP, cx, cy);
             flush_screen(0);
             show_goal_msg = FALSE;
@@ -241,9 +247,15 @@ const char *goal;
             goto nxtc;
         } else if (c == '#') {
             auto_msg = !auto_msg;
+#if 0 /*JP*/
             pline("Automatic description %sis %s.",
                   flags.verbose ? "of features under cursor " : "",
                   auto_msg ? "on" : "off");
+#else
+            pline("%s\90à\96¾\8e©\93®\95\\8e¦\81F%s",
+                  flags.verbose ? "\83J\81[\83\\83\8b\82Ì\89º\82É\82 \82é\82à\82Ì\82Ì" : "",
+                  auto_msg ? "\83I\83\93" : "\83I\83t");
+#endif
             if (!auto_msg)
                 show_goal_msg = TRUE;
             msg_given = TRUE;
@@ -897,8 +909,13 @@ namefloorobj()
     }
     if (!obj) {
         /* "under you" is safe here since there's no object to hide under */
+#if 0 /*JP*/
         pline("There doesn't seem to be any object %s.",
               (cc.x == u.ux && cc.y == u.uy) ? "under you" : "there");
+#else
+        pline("%s\82É\82Í\89½\82à\82È\82¢\82æ\82¤\82¾\81D",
+              (cc.x == u.ux && cc.y == u.uy) ? "\82 \82È\82½\82Ì\89º" : "\82»\82±");
+#endif
         return;
     }
     /* note well: 'obj' might be as instance of STRANGE_OBJECT if target
@@ -927,16 +944,35 @@ namefloorobj()
         /* traditional */
         unames[4] = roguename();
         /* silly */
+/*JP
         unames[5] = "Wibbly Wobbly";
+*/
+        unames[5] = "\82¤\82ë\82¤\82ë";
+#if 0 /*JP*/
         pline("%s %s to call you \"%s.\"",
               The(buf), use_plural ? "decide" : "decides",
               unames[rn2(SIZE(unames))]);
+#else
+        pline("%s\82Í\82 \82È\82½\82ð\81u%s\81v\82Æ\8cÄ\82Ô\82±\82Æ\82É\8c\88\82ß\82½\81D",
+              buf,
+              unames[rn2(SIZE(unames))]);
+#endif
     } else if (!objtyp_is_callable(obj->otyp)) {
+#if 0 /*JP*/
         pline("%s %s can't be assigned a type name.",
               use_plural ? "Those" : "That", buf);
+#else
+        pline("%s\82É\8eí\97Þ\82Ì\96¼\91O\82ð\8a\84\82è\93\96\82Ä\82é\82±\82Æ\82Í\82Å\82«\82È\82¢\81D",
+              buf);
+#endif
     } else if (!obj->dknown) {
+#if 0 /*JP*/
         You("don't know %s %s well enough to name %s.",
             use_plural ? "those" : "that", buf, use_plural ? "them" : "it");
+#else
+        You("\96¼\91O\82ð\95t\82¯\82ç\82ê\82é\82Ù\82Ç%s\82Ì\82±\82Æ\82ð\82æ\82­\92m\82ç\82È\82¢\81D",
+            buf);
+#endif
     } else {
         docall(obj);
     }
@@ -1055,9 +1091,15 @@ boolean called;
     /* an "aligned priest" not flagged as a priest or minion should be
        "priest" or "priestess" (normally handled by priestname()) */
     if (mdat == &mons[PM_ALIGNED_PRIEST])
+/*JP
         pm_name = mtmp->female ? "priestess" : "priest";
+*/
+        pm_name = mtmp->female ? "\93ò\91m" : "\91m\97µ";
     else if (mdat == &mons[PM_HIGH_PRIEST] && mtmp->female)
+/*JP
         pm_name = "high priestess";
+*/
+        pm_name = "\96@\89¤";
 
     /* Shopkeepers: use shopkeeper name.  For normal shopkeepers, just
      * "Asidonhopo"; for unusual ones, "Asidonhopo the invisible