OSDN Git Service

add translation
[jnethack/source.git] / src / shk.c
index f49f4e0..d8734bf 100644 (file)
--- a/src/shk.c
+++ b/src/shk.c
@@ -1523,7 +1523,10 @@ dopay()
         }
         mtmp = m_at(cx, cy);
         if (!cansee(cx, cy) && (!mtmp || !canspotmon(mtmp))) {
+/*JP
             You("can't %s anyone there.", !Blind ? "see" : "sense");
+*/
+            You("\82±\82±\82É\82Í\92N\82à%s\82È\82¢\81D", !Blind ? "\8c©\82¦" : "\8a´\82\82ç\82ê");
             return 0;
         }
         if (!mtmp) {
@@ -1732,7 +1735,7 @@ dopay()
 /*JP
                 Strcat(sbuf, "you picked up in the store.");
 */
-                        Strcpy(sbuf, "\93X\82Ì\92\86\82Å\8fE\82Á\82½\82à\82Ì\82É\91Î\82µ\82Ä\81C");
+                Strcpy(sbuf, "\93X\82Ì\92\86\82Å\8fE\82Á\82½\82à\82Ì\82É\91Î\82µ\82Ä\81C");
             else
 #if 0 /*JP*/
                 Strcat(sbuf,
@@ -3464,13 +3467,9 @@ boolean peaceful, silent;
 */
                 still = "\82³\82ç\82É";
             }
-#if 0 /*JP:T*/
+#if 0 /*JP*/
             Sprintf(buf, "%sowe %s %ld %s", still, shkname(shkp),
                     value, currency(value));
-#else
-            Sprintf(buf, "%s%s\82É%ld%s\82Ì\8eØ\82è\82ð\82Â\82­\82Á\82½", still, shkname(shkp),
-                    value, currency(value));
-#endif
             if (u_count) /* u_count > 0 implies Has_contents(obj) */
                 Sprintf(eos(buf), " for %s%sits contents",
                         was_unpaid ? "it and " : "",
@@ -3478,6 +3477,10 @@ boolean peaceful, silent;
             else if (obj->oclass != COIN_CLASS)
                 Sprintf(eos(buf), " for %s",
                         (obj->quan > 1L) ? "them" : "it");
+#else
+            Sprintf(buf, "%s%s\82É%ld%s\82Ì\8eØ\82è\82ð\82Â\82­\82Á\82½", still, shkname(shkp),
+                    value, currency(value));
+#endif
 
 #if 0 /*JP*/
             You("%s!", buf); /* "You owe <shk> N zorkmids for it!" */
@@ -4038,7 +4041,7 @@ register xchar x, y;
 /*JP
             verbalize("Out of my way, scum!");
 */
-                    verbalize("\82Ç\82¯\81C\83N\83\\82Á\82½\82ê\81I");
+            verbalize("\82Ç\82¯\81C\83N\83\\82Á\82½\82ê\81I");
         if (cansee(x, y)) {
 #if 0 /*JP:T*/
             pline("%s nimbly%s catches %s.", Shknam(shkp),
@@ -4321,10 +4324,18 @@ boolean catchup; /* restoring a level */
            message for the only repair, but perhaps the shop repair
            incantation means that shk's untrap attempt will never fail */
         if (canseemon(shkp))
+#if 0 /*JP*/
             pline("%s whispers %s.", Shknam(shkp),
                   shk_closeby ? "an incantation" : "something");
+#else
+            pline("%s\82Í%s\82ð\82³\82³\82â\82¢\82½\81D", Shknam(shkp),
+                  shk_closeby ? "\8eô\95¶" : "\89½\82©");
+#endif
         else if (!Deaf && shk_closeby)
+/*JP
             You_hear("someone muttering an incantation.");
+*/
+            You_hear("\92N\82©\82ª\8eô\95\82ð\82Â\82Ô\82â\82¢\82Ä\82¢\82é\82Ì\82ð\95·\82¢\82½\81D");
         *once = 0;
     }
     if (ttmp) {