OSDN Git Service

add translation
[jnethack/source.git] / src / do.c
index 00c98a3..7f78864 100644 (file)
--- a/src/do.c
+++ b/src/do.c
@@ -404,7 +404,10 @@ polymorph_sink()
 */
         pline_The("\97¬\82µ\91ä\82Í%s\82É\95Ï\89»\82µ\82½\81I", defsyms[sym].explanation);
     else
+/*JP
         pline_The("sink vanishes.");
+*/
+        pline("\97¬\82µ\91ä\82Í\8fÁ\82¦\82½\81D");
     newsym(u.ux, u.uy);
 }
 
@@ -992,7 +995,10 @@ doddrop()
     int result = 0;
 
     if (!invent) {
+/*JP
         You("have nothing to drop.");
+*/
+        You("\97\8e\82Æ\82·\82à\82Ì\82ð\89½\82à\8e\9d\82Á\82Ä\82¢\82È\82¢\81D");
         return 0;
     }
     add_valid_menu_class(0); /* clear any classes already there */
@@ -1194,10 +1200,18 @@ dodown()
                     (glyph_to_cmap(levl[u.ux][u.uy].glyph) == S_dnladder);
         }
         if (Is_airlevel(&u.uz))
+/*JP
             You("are floating in the %s.", surface(u.ux, u.uy));
+*/
+            You("%s\82Ì\92\86\82É\95\82\82¢\82Ä\82¢\82é\81D", surface(u.ux, u.uy));
         else if (Is_waterlevel(&u.uz))
+#if 0 /*JP*/
             You("are floating in %s.",
                 is_pool(u.ux, u.uy) ? "the water" : "a bubble of air");
+#else
+            You("%s\82Ì\92\86\82É\95\82\82¢\82Ä\82¢\82é\81D",
+                is_pool(u.ux, u.uy) ? "\90\85" : "\8bó\8bC\82Ì\96A");
+#endif
         else
 #if 0 /*JP:T*/
             floating_above(stairs_down ? "stairs" : ladder_down