• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

JNetHackのソースをいじくったものを置いておくための場所


Commit MetaInfo

Révision9f85cf9d094ee479f1bbda33d20c0b5a4ea2bcf3 (tree)
l'heure2018-04-29 04:42:45
AuteurSHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Message de Log

add translation

Change Summary

Modification

--- a/src/read.c
+++ b/src/read.c
@@ -2698,7 +2698,7 @@ int how;
26982698 /*JP
26992699 getlin("What monster do you want to genocide? [type the name]",
27002700 */
2701- getlin("どの怪物を虐殺しますか?[名前を入れてね]",
2701+ getlin("どの怪物を虐殺しますか?[名前を日本語で入れてね]",
27022702 buf);
27032703 (void) mungspaces(buf);
27042704 /* choosing "none" preserves genocideless conduct */
--- a/src/zap.c
+++ b/src/zap.c
@@ -364,15 +364,28 @@ struct obj *otmp;
364364 } else if ((obj = which_armor(mtmp, W_SADDLE)) != 0) {
365365 char buf[BUFSZ];
366366
367+#if 0 /*JP*/
367368 Sprintf(buf, "%s %s", s_suffix(Monnam(mtmp)),
368369 distant_name(obj, xname));
370+#else
371+ Sprintf(buf, "%sの%s", s_suffix(Monnam(mtmp)),
372+ distant_name(obj, xname));
373+#endif
369374 if (cansee(mtmp->mx, mtmp->my)) {
370375 if (!canspotmon(mtmp))
371376 Strcpy(buf, An(distant_name(obj, xname)));
377+#if 0 /*JP*/
372378 pline("%s falls to the %s.", buf,
373379 surface(mtmp->mx, mtmp->my));
380+#else
381+ pline("%sは%sに落ちた.", buf,
382+ surface(mtmp->mx, mtmp->my));
383+#endif
374384 } else if (canspotmon(mtmp)) {
385+/*JP
375386 pline("%s falls off.", buf);
387+*/
388+ pline("%sが落ちた.", buf);
376389 }
377390 obj_extract_self(obj);
378391 mdrop_obj(mtmp, obj, FALSE);
@@ -2016,19 +2029,34 @@ struct obj *obj, *otmp;
20162029 maybelearnit = cansee(obj->ox, obj->oy) || !Deaf;
20172030 if (obj->otyp == BOULDER) {
20182031 if (cansee(obj->ox, obj->oy))
2032+/*JP
20192033 pline_The("boulder falls apart.");
2034+*/
2035+ pline_The("岩はばらばらになった.");
20202036 else
2037+/*JP
20212038 You_hear("a crumbling sound.");
2039+*/
2040+ You_hear("何かが砕ける音を聞いた.");
20222041 fracture_rock(obj);
20232042 } else if (obj->otyp == STATUE) {
20242043 if (break_statue(obj)) {
20252044 if (cansee(obj->ox, obj->oy)) {
20262045 if (Hallucination)
2046+/*JP
20272047 pline_The("%s shatters.", rndmonnam(NULL));
2048+*/
2049+ pline_The("%sは粉々になった.", rndmonnam(NULL));
20282050 else
2051+/*JP
20292052 pline_The("statue shatters.");
2053+*/
2054+ pline_The("石像は粉々になった.");
20302055 } else
2056+/*JP
20312057 You_hear("a crumbling sound.");
2058+*/
2059+ You_hear("何かが砕ける音を聞いた.");
20322060 }
20332061 } else {
20342062 if (context.mon_moving
@@ -2066,13 +2094,23 @@ struct obj *obj, *otmp;
20662094 res = !!revive(obj, TRUE);
20672095 if (res && Role_if(PM_HEALER)) {
20682096 if (Hallucination && !Deaf) {
2097+/*JP
20692098 You_hear("the sound of a defibrillator.");
2099+*/
2100+ You_hear("除細動器の音を聞いた.");
20702101 learn_it = TRUE;
20712102 } else if (!Blind) {
2103+#if 0 /*JP*/
20722104 You("observe %s %s change dramatically.",
20732105 s_suffix(an(mons[corpsenm].mname)),
20742106 nonliving(&mons[corpsenm]) ? "motility"
20752107 : "health");
2108+#else
2109+ You("%sの%sが劇的に変化するのを見た.",
2110+ s_suffix(an(mons[corpsenm].mname)),
2111+ nonliving(&mons[corpsenm]) ? "運動性"
2112+ : "健康");
2113+#endif
20762114 learn_it = TRUE;
20772115 }
20782116 if (learn_it)
@@ -2735,16 +2773,26 @@ int amt; /* pseudo-damage used to determine blindness duration */
27352773 dmg = 10 + rnd(dmg - 10);
27362774 if (dmg > 20)
27372775 dmg = 20;
2776+/*JP
27382777 pline("Ow, that light hurts%c", (dmg > 2 || u.mh <= 5) ? '!' : '.');
2778+*/
2779+ pline("おわ,光が痛い%s", (dmg > 2 || u.mh <= 5) ? "!" : ".");
27392780 /* [composing killer/reason is superfluous here; if fatal, cause
27402781 of death will always be "killed while stuck in creature form"] */
27412782 if (obj->oclass == SCROLL_CLASS || obj->oclass == SPBOOK_CLASS)
27422783 ordinary = FALSE; /* say blasted rather than zapped */
27432784 how = (obj->oclass != SPBOOK_CLASS)
27442785 ? (const char *) ansimpleoname(obj)
2786+/*JP
27452787 : "spell of light";
2788+*/
2789+ : "光の魔法";
2790+#if 0 /*JP*/
27462791 Sprintf(buf, "%s %sself with %s", ordinary ? "zapped" : "blasted",
27472792 uhim(), how);
2793+#else
2794+ Sprintf(buf, "自分で%sを浴びて", how);
2795+#endif
27482796 /* might rehumanize(); could be fatal, but only for Unchanging */
27492797 #if 0 /*JP*/
27502798 losehp(Maybe_Half_Phys(dmg), buf, NO_KILLER_PREFIX);
@@ -3499,10 +3547,18 @@ struct obj **pobj; /* object tossed/used, set to NULL
34993547 if (is_pool(bhitpos.x, bhitpos.y) && !mtmp) {
35003548 in_skip = TRUE;
35013549 if (!Blind)
3550+#if 0 /*JP*/
35023551 pline("%s %s%s.", Yname2(obj), otense(obj, "skip"),
35033552 skipcount ? " again" : "");
3553+#else
3554+ pline("%sは%s跳ねた.", Yname2(obj),
3555+ skipcount ? "再び" : "");
3556+#endif
35043557 else
3558+/*JP
35053559 You_hear("%s skip.", yname(obj));
3560+*/
3561+ You_hear("%sが跳ねる音を聞いた.", yname(obj));
35063562 skipcount++;
35073563 } else if (skiprange_start > skiprange_end + 1) {
35083564 --skiprange_start;
@@ -3515,8 +3571,13 @@ struct obj **pobj; /* object tossed/used, set to NULL
35153571 skiprange(range, &skiprange_start, &skiprange_end);
35163572 } else if (mtmp && M_IN_WATER(mtmp->data)) {
35173573 if ((!Blind && canseemon(mtmp)) || sensemon(mtmp))
3574+#if 0 /*JP*/
35183575 pline("%s %s over %s.", Yname2(obj), otense(obj, "pass"),
35193576 mon_nam(mtmp));
3577+#else
3578+ pline("%sは%sを飛び越えた.", Yname2(obj),
3579+ mon_nam(mtmp));
3580+#endif
35203581 }
35213582 }
35223583
@@ -3750,7 +3811,10 @@ int dx, dy;
37503811 delay_output();
37513812 if (IS_SINK(levl[bhitpos.x][bhitpos.y].typ)) {
37523813 if (!Deaf)
3814+/*JP
37533815 pline("Klonk!");
3816+*/
3817+ pline("カラン!");
37543818 break; /* boomerang falls on sink */
37553819 }
37563820 /* ct==0, initial position, we want next delta to be same;
@@ -4471,7 +4535,10 @@ register int dx, dy;
44714535 */
44724536 pline("%sはあなたのそばをかすめた!", fltxt);
44734537 } else if (abstype == ZT_LIGHTNING) {
4538+/*JP
44744539 Your("%s tingles.", body_part(ARM));
4540+*/
4541+ Your("%sはヒリヒリした.", body_part(ARM));
44754542 }
44764543 if (abstype == ZT_LIGHTNING)
44774544 (void) flashburn((long) d(nd, 50));
@@ -4667,7 +4734,10 @@ long timeout UNUSED;
46674734 y = (xchar) (where & 0xFFFF);
46684735 x = (xchar) ((where >> 16) & 0xFFFF);
46694736 /* melt_ice does newsym when appropriate */
4737+/*JP
46704738 melt_ice(x, y, "Some ice melts away.");
4739+*/
4740+ melt_ice(x, y, "氷が少し溶けた.");
46714741 }
46724742
46734743 /* Burn floor scrolls, evaporate pools, etc... in a single square.
@@ -4851,13 +4921,19 @@ short exploding_wand_typ;
48514921 if (lev->typ == IRONBARS) {
48524922 if ((lev->wall_info & W_NONDIGGABLE) != 0) {
48534923 if (see_it)
4924+/*JP
48544925 Norep("The %s corrode somewhat but remain intact.",
4926+*/
4927+ Norep("%sは少し痛んだがまだしっかりしている.",
48554928 defsyms[S_bars].explanation);
48564929 /* but nothing actually happens... */
48574930 } else {
48584931 rangemod -= 3;
48594932 if (see_it)
4933+/*JP
48604934 Norep("The %s melt.", defsyms[S_bars].explanation);
4935+*/
4936+ Norep("%sが溶けた.", defsyms[S_bars].explanation);
48614937 if (*in_rooms(x, y, SHOPBASE)) {
48624938 /* in case we ever have a shop bounded by bars */
48634939 lev->typ = ROOM;
@@ -4909,8 +4985,12 @@ short exploding_wand_typ;
49094985 (except on rogue level) */
49104986 newsym(x, y);
49114987 if (see_it)
4988+#if 0 /*JP*/
49124989 pline("%s %s reveals a secret door.",
49134990 yourzap ? "Your" : "The", zapverb);
4991+#else
4992+ pline("%sで隠し扉が明らかになった.", zapverb);
4993+#endif
49144994 else if (Is_rogue_level(&u.uz))
49154995 draft_message(FALSE); /* "You feel a draft." (open doorway) */
49164996 }
@@ -4975,8 +5055,14 @@ short exploding_wand_typ;
49755055 /* Magical explosion from misc exploding wand */
49765056 if (exploding_wand_typ == WAN_STRIKING) {
49775057 new_doormask = D_BROKEN;
5058+/*JP
49785059 see_txt = "The door crashes open!";
5060+*/
5061+ see_txt = "扉は壊れて開いた!";
5062+/*JP
49795063 sense_txt = "feel a burst of cool air.";
5064+*/
5065+ sense_txt = "冷気の充満を感じた.";
49805066 break;
49815067 }
49825068 }
@@ -5614,7 +5700,7 @@ retry:
56145700 /*JP
56155701 Strcpy(promptbuf, "For what do you wish");
56165702 */
5617- Strcpy(promptbuf, "何をお望み");
5703+ Strcpy(promptbuf, "(日本語で)何をお望み");
56185704 if (iflags.cmdassist && tries > 0)
56195705 /*JP
56205706 Strcat(promptbuf, " (enter 'help' for assistance)");