OSDN Git Service

add translation
[jnethack/source.git] / src / mail.c
index 0467096..c90ed28 100644 (file)
@@ -603,8 +603,13 @@ boolean adminmsg;
     struct flock fl = { 0 };
 #endif
     const char *msgfrom = adminmsg
+#if 0 /*JP*/
         ? "The voice of %s booms through the caverns:"
         : "This message is from '%s'.";
+#else
+        ? "%s\82Ì\90º\82ª\93´\8cA\82É\8b¿\82«\82í\82½\82Á\82½:"
+        : "\82±\82ê\82Í'%s'\82©\82ç\82Ì\83\81\83b\83Z\81[\83W\82¾\81D";
+#endif
 
     if (!mb)
         goto bail;
@@ -631,8 +636,13 @@ boolean adminmsg;
             fl.l_type = F_UNLCK;
             fcntl (fileno(mb), F_UNLCK, &fl);
 #endif
+#if 0 /*JP*/
             pline("There is a%s message on this scroll.",
                   seen_one_already ? "nother" : "");
+#else
+            pline("\82±\82Ì\8aª\95¨\82É\82Í%s\83\81\83b\83Z\81[\83W\82ª\82 \82é\81D",
+                  seen_one_already ? "\82Ü\82¾" : "");
+#endif
         }
         msg = strchr(curline, ':');
 
@@ -647,7 +657,10 @@ boolean adminmsg;
         if (adminmsg)
             verbalize(msg);
         else
+/*JP
             pline("It reads: \"%s\".", msg);
+*/
+            pline("\82»\82ê\82ð\93Ç\82ñ\82¾\81F\81u%s\81v", msg);
 
         seen_one_already = TRUE;
 #ifdef SIMPLE_MAIL
@@ -674,7 +687,10 @@ boolean adminmsg;
 bail:
     /* bail out _professionally_ */
     if (!adminmsg)
+/*JP
         pline("It appears to be all gibberish.");
+*/
+        pline("\82±\82ê\82Í\82Ü\82Á\82½\82­\82¿\82ñ\82Õ\82ñ\82©\82ñ\82Õ\82ñ\82¾\81D");
 }
 #endif /* SIMPLE_MAIL */