From 3be5d02819c7185d7cffb673ed4119a2e0303c7a Mon Sep 17 00:00:00 2001 From: SHIRAKATA Kentaro Date: Mon, 24 Jun 2019 06:11:18 +0900 Subject: [PATCH] add translation --- dat/hh | 25 +++++++++---------- src/allmain.c | 2 +- src/apply.c | 9 +++++++ src/cmd.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/do.c | 30 ++++++++++++++++++++++- src/dokick.c | 2 +- src/dothrow.c | 9 +++++++ src/eat.c | 11 +++++---- src/hack.c | 3 +++ src/invent.c | 9 ++++--- src/mail.c | 2 +- src/objnam.c | 6 ++++- src/pager.c | 31 ++++++++++++++++++++++++ src/polyself.c | 30 ++++++++++++++--------- src/restore.c | 15 ++++++++++++ src/shk.c | 25 +++++++++++++------ src/sit.c | 6 +++++ src/sounds.c | 8 +++---- src/spell.c | 3 +++ src/steed.c | 6 +++++ src/timeout.c | 14 +++++++++++ src/trap.c | 56 +++++++++++++++++++++++++++++++++++++++---- src/uhitm.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++- src/vault.c | 6 +++++ src/weapon.c | 11 +++++++++ src/wield.c | 11 +++++++++ src/zap.c | 31 +++++++++++++++++++++--- 27 files changed, 446 insertions(+), 54 deletions(-) diff --git a/dat/hh b/dat/hh index d065ce5..374aaf0 100644 --- a/dat/hh +++ b/dat/hh @@ -3,10 +3,12 @@ y k u 7 8 9 h-.-l 4-.-6 YUHJKLBN: Žw’è•ûŒü‚ɁC‰½‚©‚ɂԂ‚©‚é‚Ü‚Å•à‚­C /|\ /|\ ‚Ü‚½‚͉½‚©‚Ì’†‚Ö“ü‚éD b j n 1 2 3 g: Žw’è•ûŒü‚ɁC‰½‚©‚ªŒ©‚¦‚é‚Ü‚Å•à‚­ - numberpad G: Žw’è•ûŒü‚ɁC‰½‚©‚ªŒ©‚¦‚é‚Ü‚Å•à‚­D - ‚½‚¾‚µC’ʘH‚Ì•ªŠò‚ÅŽ~‚Ü‚ç‚È‚¢D - < up ^: ã‚É“¯‚¶D(ƒRƒ“ƒgƒ[ƒ‹‚ð‰Ÿ‚µ‚È‚ª‚ç) + numberpad + G: “¯‚¶; ‚½‚¾‚µC’ʘH‚Ì•ªŠò‚ÅŽ~‚Ü‚ç‚È‚¢D + < up ^: ã‚É“¯‚¶D(‚±‚±‚Å‚Ì^‚̓LƒƒƒŒƒbƒg‚Å‚Í‚È‚­ + ƒRƒ“ƒgƒ[ƒ‹ƒL[) > down m: ‰½‚à‚¹‚¸‚Ɉړ®‚·‚éD + F: ‰ö•¨‚ª‚¢‚é‚Ì‚ª•ª‚©‚ç‚È‚­‚Ä‚àí‚¤D number_pad ƒIƒvƒVƒ‡ƒ“‚ðƒZƒbƒg‚·‚é‚ƁCƒeƒ“ƒL[‚ňړ®‚Å‚«‚éD ƒvƒ‰ƒbƒgƒtƒH[ƒ€‚É‚æ‚Á‚ẮCShift+”ŽšCMeta-”ŽšCAlt+”Žš‚Å YUHJKLBNƒRƒ}ƒ“ƒh‚ð”­“®‚·‚é‚à‚Ì‚à‚ ‚éD @@ -15,14 +17,14 @@ b j n 1 2 3 g: ”Žš‚Ì '5' ‚Í 'G' Ú“ªŽ«‚̂悤‚É“­‚­‚ªCnumber_pad ‚ª 2 ‚ÌŽž‚Í 'g' ‚̂悤‚É“­‚­D number_pad ‚ª 3 ‚È‚ç 1,2,3 ‚Æ 7,8,9 ‚Ì–ðŠ„‚Í‹t‚É‚È‚é; 4 ‚È‚ç - 3 ‚Æ 2 ‚Ì‘g‚ݍ‡‚킹‚̂悤‚ɐU‚é•‘‚¤B + 3 ‚Æ 2 ‚Ì‘g‚ݍ‡‚킹‚̂悤‚ɐU‚é•‘‚¤D number_pad ‚ª -1 ‚È‚çC‰pŽš‚̈ړ®ƒRƒ}ƒ“ƒh‚ðŽg‚¤‚ªC'y' ‚Æ 'z' ‚ª“ü‚ê‘Ö‚í‚éD ˆê”Ê: -? help ƒwƒ‹ƒv -#quit quit ƒQ[ƒ€‚ð‚â‚ß‚éD -S save ƒQ[ƒ€‚ð(Œã‚Å‘±‚¯‚邽‚ß‚É)’†’f‚·‚éD +? help ƒwƒ‹ƒv•¶Í‚Ì•\Ž¦ +#quit quit Œ»Ý‚̃Q[ƒ€‚ð•Û‘¶‚¹‚¸‚ɃQ[ƒ€‚ð‚â‚ß‚é +S save ƒQ[ƒ€‚ð(Œã‚Å‘±‚¯‚邽‚ß‚É)•Û‘¶‚µ‚ďI—¹‚·‚é ! sh (‚à‚µ‚Å‚«‚é‚È‚ç)ƒVƒFƒ‹‚ðŽÀs‚·‚éD ^Z suspend ƒQ[ƒ€‚ð’†’f‚·‚éD O options ƒIƒvƒVƒ‡ƒ“‚ðÝ’è‚·‚éD @@ -30,17 +32,16 @@ O options \ known ¡‚Ü‚Å‚É”­Œ©‚µ‚½“¹‹ï‚̈ꗗ‚ð•\Ž¦‚·‚éD v version ƒo[ƒWƒ‡ƒ“‚ð•\Ž¦‚·‚éD V history ƒQ[ƒ€‚Ì—ðŽj‚ð•\Ž¦‚·‚éD -^A again 1‚‘O‚̃Rƒ}ƒ“ƒh‚ðŽÀs‚·‚éD(^A‚̓Rƒ“ƒgƒ[ƒ‹‚ð‰Ÿ‚µ‚È - ‚ª‚çA‚ð‰Ÿ‚·‚±‚Æ‚ðˆÓ–¡‚·‚éD) +^A again 1‚‘O‚̃Rƒ}ƒ“ƒh‚ðÄŽÀs‚·‚éD(^A‚̓Rƒ“ƒgƒ[ƒ‹-A) ^R redraw ‰æ–Ê‚ð‘‚«‚È‚¨‚·D ^P prevmsg ‘O‚̃ƒbƒZ[ƒW‚ðŒ©‚éD(^P‚ÍŒJ‚è•Ô‚µŽg‚¦‚é) -` ƒIƒŠƒWƒiƒ‹ƒ‚[ƒh‚Æ“ú–{Œêƒ‚[ƒh‚̐؂è‘Ö‚¦ # Šg’£ƒRƒ}ƒ“ƒh(#?‚Ńwƒ‹ƒv) & what-does ƒL[‚ð‰Ÿ‚µ‚Ä‹N“®‚·‚éƒRƒ}ƒ“ƒh‚ðà–¾‚·‚éD ƒQ[ƒ€: ^D kick R‚éD(”à“™) ^T 'port uŠÔˆÚ“®D(‰Â”\‚È‚ç) +^X show ‘®«‚ð•\Ž¦‚·‚é a apply “¹‹ï‚ðŽg‚¤D(‚‚é‚Í‚µCŒ®CƒJƒƒ‰“™) A armor ‘S‚Ä‚ÌŠZ‚ð’E‚®D c close ”à‚ð•Â‚ß‚éD @@ -48,9 +49,9 @@ C call d drop •¨‚ð’u‚­D d7aFa‚È‚é‚à‚Ì‚ð7ŒÂ’u‚­D D Drop Ží—Þ‚ð‘I‚ñ‚Å•¨‚ð’u‚­D e eat ‰½‚©‚ðH‚ׂéD +E engrave °‚Ì‚Ù‚±‚è‚É•¶Žš‚ð‘‚­D(E- Žw‚ðŽg‚Á‚Ä) f fire ‘•“U‚³‚ê‚Ä‚¢‚é‚à‚Ì‚ðŽË‚éD F fight •ûŒü‚ðŽw’肵í‚¤D -E engrave °‚Ì‚Ù‚±‚è‚É•¶Žš‚ð‘‚­D(E- Žw‚ðŽg‚Á‚Ä) i invent ‚ ‚È‚½‚ÌŽ‚¿•¨ˆê——D(‚ ‚È‚½‚ªŽ‚Á‚Ä‚¢‚é‚à‚Ì‘S‚Ä) I Invent Ží—Þ‚ð‘I‘ð‚µ‚ÄŽ‚¿•¨ˆê——D Iu: –¢•¥‚Ì“¹‹ïˆê——D @@ -121,9 +122,9 @@ M-w wipe `number_pad'‚̃IƒvƒVƒ‡ƒ“‚ªƒIƒ“‚È‚çCŽŸ‚̃Rƒ}ƒ“ƒh‚ª‰Â”\‚É‚È‚éD n ‚±‚ê‚É‘±‚­”Žš‚¾‚¯ŽŸ‚̃Rƒ}ƒ“ƒh‚ðŽÀs‚·‚éD +h help '?' ‚Æ“¯—lƒwƒ‹ƒv•¶Í‚̈ê‚‚ð•\Ž¦ j jump ‘¼‚̈ʒu‚É”ò‚Ñ‚¤‚‚éD k kick R‚éD(”à“™) l loot °‚̏ã‚Ì” ‚Ì’†g‚ð—ª’D‚·‚éD N name ƒAƒCƒeƒ€‚╨‚É–¼‘O‚ð‚‚¯‚éD u untrap 㩂ð‚Í‚¸‚·D(’ʏí‚Í‚µ‚©‚¯‚ç‚ꂽ•¨) - diff --git a/src/allmain.c b/src/allmain.c index eaba6ab..53dcb7d 100644 --- a/src/allmain.c +++ b/src/allmain.c @@ -543,7 +543,7 @@ int wtcap; /*JP interrupt_multi("You are in full health."); */ - interrupt_multi("‘Ì—Í‚ª‰ñ•œ‚µ‚½D"); + interrupt_multi("‘Ì—Í‚ªŠ®‘S‰ñ•œ‚µ‚½D"); } void diff --git a/src/apply.c b/src/apply.c index 0f706fc..ded4e52 100644 --- a/src/apply.c +++ b/src/apply.c @@ -528,7 +528,10 @@ register struct obj *obj; mtmp->mundetected = 0; newsym(mtmp->mx, mtmp->my); } else if (mtmp->mappearance) { +/*JP const char *what = "thing"; +*/ + const char *what = "•¨‘Ì"; switch (M_AP_TYPE(mtmp)) { case M_AP_OBJECT: @@ -1324,9 +1327,15 @@ struct obj *obj; if (mtmp->mfrozen) { if (vis) +/*JP You("discern no obvious reaction from %s.", mon_nam(mtmp)); +*/ + You("%s‚©‚ç‚Ì–¾‚ç‚©‚È”½‰ž‚ÍŽ¯•Ê‚Å‚«‚È‚©‚Á‚½D", mon_nam(mtmp)); else +/*JP You_feel("a bit silly gesturing the mirror in that direction."); +*/ + You_feel("‹¾‚ð‚»‚Ì•ûŒü‚ÉŒü‚¯‚é‚Ì‚Í‚¿‚å‚Á‚Æ‚¨‚©‚µ‚ȍs“®‚¾‚ÆŠ´‚¶‚½D"); do_react = FALSE; } if (do_react) { diff --git a/src/cmd.c b/src/cmd.c index f7efef2..e1db095 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -422,10 +422,15 @@ doextlist(VOID_ARGS) add_menu(menuwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "", MENU_UNSELECTED); +#if 0 /*JP*/ Strcpy(buf, menumode ? "Show" : "Hide"); Strcat(buf, " commands that don't autocomplete"); if (!menumode) Strcat(buf, " (those not marked with [A])"); +#else + Strcpy(buf, "Ž©“®•âŠ®‚³‚ê‚È‚¢ƒRƒ}ƒ“ƒh‚ð"); + Strcat(buf, menumode ? "•\Ž¦‚·‚é" : "•\Ž¦‚µ‚È‚¢ (‚±‚ê‚ç‚Í[A]ƒ}[ƒN‚ª‚‚©‚È‚¢)"); +#endif any.a_int = 1; add_menu(menuwin, NO_GLYPH, &any, 'a', 0, ATR_NONE, buf, MENU_UNSELECTED); @@ -437,10 +442,19 @@ doextlist(VOID_ARGS) actual list of extended commands shown via separator lines; having ':' as an explicit selector overrides the default menu behavior for it; we retain 's' as a group accelerator */ +#if 0 /*JP*/ add_menu(menuwin, NO_GLYPH, &any, ':', 's', ATR_NONE, "Search extended commands", MENU_UNSELECTED); +#else + add_menu(menuwin, NO_GLYPH, &any, ':', 's', ATR_NONE, + "Šg’£ƒRƒ}ƒ“ƒh‚ðŒŸõ‚·‚é", MENU_UNSELECTED); +#endif } else { +#if 0 /*JP*/ Strcpy(buf, "Show all, clear search"); +#else + Strcpy(buf, "‘S‚Ä•\Ž¦; ŒŸõ‚ðƒNƒŠƒA"); +#endif if (strlen(buf) + strlen(searchbuf) + strlen(" (\"\")") < QBUFSZ) Sprintf(eos(buf), " (\"%s\")", searchbuf); any.a_int = 3; @@ -454,10 +468,17 @@ doextlist(VOID_ARGS) } if (wizard) { any.a_int = 4; +#if 0 /*JP*/ add_menu(menuwin, NO_GLYPH, &any, 'z', 0, ATR_NONE, onelist ? "Show debugging commands in separate section" : "Show all alphabetically, including debugging commands", MENU_UNSELECTED); +#else + add_menu(menuwin, NO_GLYPH, &any, 'z', 0, ATR_NONE, + onelist ? "ƒfƒoƒbƒOƒRƒ}ƒ“ƒh‚͕ʂ̐߂ɕ\Ž¦‚·‚é" + : "ƒfƒoƒbƒOƒRƒ}ƒ“ƒh‚ðŠÜ‚Þ‘S‚ẴRƒ}ƒ“ƒh‚ðƒAƒ‹ƒtƒ@ƒxƒbƒg‡‚É•\Ž¦‚·‚é", + MENU_UNSELECTED); +#endif } any = zeroany; add_menu(menuwin, NO_GLYPH, &any, 0, 0, ATR_NONE, @@ -519,8 +540,13 @@ doextlist(VOID_ARGS) "", MENU_UNSELECTED); } if (*searchbuf && !n) +#if 0 /*JP*/ add_menu(menuwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "no matches", MENU_UNSELECTED); +#else + add_menu(menuwin, NO_GLYPH, &any, 0, 0, ATR_NONE, + "ˆê’v‚È‚µ", MENU_UNSELECTED); +#endif end_menu(menuwin, (char *) 0); n = select_menu(menuwin, PICK_ONE, &selected); @@ -551,8 +577,12 @@ doextlist(VOID_ARGS) searchbuf[0] = '\0'; } if (search) { +#if 0 /*JP*/ Strcpy(promptbuf, "Extended command list search phrase"); Strcat(promptbuf, "?"); +#else + Strcpy(promptbuf, "Šg’£ƒRƒ}ƒ“ƒh‚ÌŒŸõ•¶Žš—ñ‚Í?"); +#endif getlin(promptbuf, searchbuf); (void) mungspaces(searchbuf); if (searchbuf[0] == '\033') @@ -2229,8 +2259,12 @@ int final; int egdepth = observable_depth(&u.uz); (void) endgamelevelname(tmpbuf, egdepth); +#if 0 /*JP*/ Sprintf(buf, "in the endgame, on the %s%s", !strncmp(tmpbuf, "Plane", 5) ? "Elemental " : "", tmpbuf); +#else + Sprintf(buf, "ÅIŽŽ—û‚Ì%s", tmpbuf); +#endif } else if (Is_knox(&u.uz)) { /* this gives away the fact that the knox branch is only 1 level */ /*JP @@ -2260,9 +2294,15 @@ int final; /* TODO? maybe extend this bit to include various other automatic annotations from the dungeon overview code */ if (Is_rogue_level(&u.uz)) +/*JP Strcat(tmpbuf, ", a primitive area"); +*/ + Strcat(tmpbuf, ", ’Pƒ‚Ȑ¢ŠE"); else if (Is_bigroom(&u.uz) && !Blind) +/*JP Strcat(tmpbuf, ", a very big room"); +*/ + Strcat(tmpbuf, ", ‚Æ‚Ä‚à‘å‚«‚È•”‰®"); #if 0 /*JP*/ Sprintf(buf, "in %s, on %s", dgnbuf, tmpbuf); #else @@ -2305,9 +2345,14 @@ int final; long nxtlvl = newuexp(ulvl); /* long oldlvl = (ulvl > 1) ? newuexp(ulvl - 1) : 0; */ +#if 0 /*JP*/ Sprintf(eos(buf), ", %ld %s%sneeded to attain level %d", (nxtlvl - u.uexp), (u.uexp > 0) ? "more " : "", !final ? "" : "were ", (ulvl + 1)); +#else + Sprintf(eos(buf), "(ƒŒƒxƒ‹%d‚Ü‚Å%ldƒ|ƒCƒ“ƒg)", + (ulvl + 1), (nxtlvl - u.uexp)); +#endif } } you_have(buf, ""); @@ -2433,15 +2478,32 @@ int final; if (flags.pickup) { char ocl[MAXOCLASSES + 1]; +#if 0 /*JP*//*Œã‚ɉñ‚·*/ Strcpy(buf, "on"); +#endif oc_to_str(flags.pickup_types, ocl); +#if 0 /*JP*/ Sprintf(eos(buf), " for %s%s%s", *ocl ? "'" : "", *ocl ? ocl : "all types", *ocl ? "'" : ""); +#else + Sprintf(buf, "%s%s%s", + *ocl ? "'" : "", *ocl ? ocl : "‘S‚Ä‚ÌŽí—Þ", *ocl ? "'" : ""); +#endif if (flags.pickup_thrown && *ocl) /* *ocl: don't show if 'all types' */ +/*JP Strcat(buf, " plus thrown"); +*/ + Strcat(buf, "‚ɉÁ‚¦‚Ä“Š‚°‚é‚à‚Ì"); if (iflags.autopickup_exceptions[AP_GRAB] || iflags.autopickup_exceptions[AP_LEAVE]) +/*JP Strcat(buf, ", with exceptions"); +*/ + Strcat(buf, "(—áŠO‚ ‚è)"); +#if 1 /*JP*/ + Strcpy(buf, "‚ɑ΂µ‚ăIƒ“"); +#endif + } else /*JP Strcpy(buf, "off"); @@ -3228,7 +3290,11 @@ int final; /*** Vision and senses ***/ if (!Blind && (Blinded || !haseyes(youmonst.data))) +#if 0 /*JP*/ you_can("see", from_what(-BLINDED)); /* Eyes of the Overworld */ +#else /*u’´¢ŠE‚Ì–Ú‚É‚æ‚Á‚ÄŒ©‚邱‚Æ‚ª‚Å‚«‚év*/ + you_can("Œ©‚邱‚Æ‚ª", from_what(-BLINDED)); /* Eyes of the Overworld */ +#endif if (See_invisible) { if (!Blind) /*JP @@ -4386,6 +4452,7 @@ int final; * N wishes (1 for an artifact) * N wishes (M for artifacts) */ +#if 0 /*JP*/ if (u.uconduct.wisharti == u.uconduct.wishes) Sprintf(eos(buf), " (%s", (u.uconduct.wisharti > 2L) ? "all " @@ -4396,6 +4463,9 @@ int final; Sprintf(eos(buf), "for %s)", (u.uconduct.wisharti == 1L) ? "an artifact" : "artifacts"); +#else + Sprintf(eos(buf), " (¹Ší‚Í%ld‰ñ)", u.uconduct.wisharti); +#endif } you_have_X(buf); @@ -6435,9 +6505,15 @@ const char *msg; } } +#if 0 /*JP*/ Sprintf(buf, "Valid direction keys%s%s%s are:", prefixhandling ? " to " : "", prefixhandling ? dothat : "", NODIAG(u.umonnum) ? " in your current form" : ""); +#else + Sprintf(buf, "%s%s%s‚Å‚Ì—LŒø‚È•ûŒüŽw’è‚Í:", + prefixhandling ? " to " : "", prefixhandling ? dothat : "", + NODIAG(u.umonnum) ? " in your current form" : ""); +#endif putstr(win, 0, buf); show_direction_keys(win, !prefixhandling ? '.' : ' ', NODIAG(u.umonnum)); diff --git a/src/do.c b/src/do.c index e0370be..f69dc82 100644 --- a/src/do.c +++ b/src/do.c @@ -229,10 +229,17 @@ const char *verb; mtmp->mhp -= damage; if (DEADMONSTER(mtmp)) { if (canspotmon(mtmp)) +#if 0 /*JP*/ pline("%s is %s!", Monnam(mtmp), (nonliving(mtmp->data) || is_vampshifter(mtmp)) ? "destroyed" : "killed"); +#else + pline("%s‚Í%sI", Monnam(mtmp), + (nonliving(mtmp->data) + || is_vampshifter(mtmp)) + ? "“|‚³‚ꂽ" : "ŽE‚³‚ꂽ"); +#endif mondied(mtmp); } } else { @@ -1331,20 +1338,41 @@ dodown() if (trap) { const char *down_or_thru = trap->ttyp == HOLE ? "down" : "through"; +#if 0 /*JP*/ const char *actn = Flying ? "fly" : locomotion(youmonst.data, "jump"); +#else + const char *actn = ""; +#endif if (youmonst.data->msize >= MZ_HUGE) { char qbuf[QBUFSZ]; +#if 0 /*JP*/ You("don't fit %s easily.", down_or_thru); Sprintf(qbuf, "Try to squeeze %s?", down_or_thru); +#else + pline("‚±‚±‚Í‹·‚­‚ÄŠÈ’P‚ɂ͒ʂ蔲‚¯‚ç‚ê‚È‚¢D"); + Sprintf(qbuf, "‘Ì‚ð‰Ÿ‚µž‚Ý‚Ü‚·‚©?"); +#endif if (yn(qbuf) == 'y') { if (!rn2(3)) { +#if 0 /*JP*/ actn = "manage to squeeze"; +#else + actn = "‚È‚ñ‚Æ‚©"; +#endif +#if 0 /*JP*/ losehp(Maybe_Half_Phys(rnd(4)), "contusion from a small passage", KILLED_BY); +#else + losehp(Maybe_Half_Phys(rnd(4)), + "‹·‚¢“¹‚Å‚Ì‘Å‚¿g‚Å", KILLED_BY); +#endif } else { +/*JP You("were unable to fit %s.", down_or_thru); +*/ + You("’ʂ蔲‚¯‚ç‚ê‚È‚¢D"); return 0; } } else { @@ -1355,7 +1383,7 @@ dodown() You("%s %s the %s.", actn, down_or_thru, trap->ttyp == HOLE ? "hole" : "trap door"); #else - You("%sD", + You("%s%sD", actn, trap->ttyp == HOLE ? "ŒŠ‚ð~‚肽" : "—Ž‚µ”à‚ð’ʂ蔲‚¯‚½"); #endif } diff --git a/src/dokick.c b/src/dokick.c index e713a28..d6cf298 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1249,7 +1249,7 @@ dokick() /*JP You("splash some %s around.", hliquid("water")); */ - You("%s‚ð‰ñ‚è‚É‚Ü‚«‚¿‚炵‚½D", hliquid("water")); + You("%s‚ð‰ñ‚è‚É‚Ü‚«‚¿‚炵‚½D", hliquid("…")); return 1; } diff --git a/src/dothrow.c b/src/dothrow.c index 4ca9dbb..4a5cc81 100644 --- a/src/dothrow.c +++ b/src/dothrow.c @@ -852,10 +852,16 @@ int x, y; (void) drown(); return FALSE; } else if (!Is_waterlevel(&u.uz) && !stopping_short) { +/*JP Norep("You move over %s.", an(is_moat(x, y) ? "moat" : "pool")); +*/ + Norep("‚ ‚È‚½‚Í%s‚̏ã‚ðˆÚ“®‚µ‚½D", is_moat(x, y) ? "–x" : "…‚½‚Ü‚è"); } } else if (is_lava(x, y) && !stopping_short) { +/*JP Norep("You move over some lava."); +*/ + Norep("‚ ‚È‚½‚Í—nŠâ‚̏ã‚ðˆÚ“®‚µ‚½D"); } /* FIXME: @@ -1513,7 +1519,10 @@ boolean twoweap; /* used to restore twoweapon mode if wielded weapon returns */ } else if (u.uswallow) { if (tethered_weapon) { tmp_at(DISP_END, 0); +/*JP pline("%s returns to your hand!", The(xname(thrownobj))); +*/ + pline("%s‚Í‚ ‚È‚½‚ÌŽè‚É–ß‚Á‚Ä‚«‚½I", The(xname(thrownobj))); thrownobj = addinv(thrownobj); (void) encumber_msg(); /* in case addinv() autoquivered */ diff --git a/src/eat.c b/src/eat.c index 91209b5..120be30 100644 --- a/src/eat.c +++ b/src/eat.c @@ -3843,10 +3843,10 @@ boolean incr; /* Returns an object representing food. * Object may be either on floor or in inventory. */ -/*JP CHECK: 3.6.1 ‚ł̌Ăяo‚µŒ³ -apply.c:2478: if (!(corpse = floorfood("tin", 2))) -eat.c:3050: if (!(otmp = floorfood("eat", 0))) -pray.c:1659: otmp = floorfood("sacrifice", 1); +/*JP CHECK: 3.6.2 ‚ł̌Ăяo‚µŒ³ +apply.c:2500: if (!(corpse = floorfood("tin", 2))) +eat.c:3089: if (!(otmp = floorfood("eat", 0))) +pray.c:1684: otmp = floorfood("sacrifice", 1); ‚±‚̊֐”‚͉pŒê–¼‚̂܂܌Ăяo‚·‚±‚ƁB */ struct obj * @@ -3994,7 +3994,10 @@ vomit() /* A good idea from David Neves */ vomiting_dialog() gives a vomit message when its countdown reaches 0, but only if u.uhs < FAINTING (and !cantvomit()) */ if (u.uhs >= FAINTING) +/*JP Your("%s heaves convulsively!", body_part(STOMACH)); +*/ + Your("%s‚ÍŒƒ‚µ‚¢“f‚«‹C‚ð‚à‚您‚µ‚½I", body_part(STOMACH)); } /* nomul()/You_can_move_again used to be unconditional, which was diff --git a/src/hack.c b/src/hack.c index 69dab4f..fe2d8d1 100644 --- a/src/hack.c +++ b/src/hack.c @@ -1796,7 +1796,10 @@ domove_core() doing so while encumbered is feasible; if in an aquatic form, stressed or less is allowed; otherwise (magical breathing), only burdened is allowed */ +/*JP You("are carrying too much to climb out of the water."); +*/ + You("…‚©‚çã‚ª‚é‚ɂ͉ו¨‚ðŽ‚¿‚·‚¬‚Ä‚¢‚éD"); nomul(0); return; } diff --git a/src/invent.c b/src/invent.c index 52110e7..fbd0634 100644 --- a/src/invent.c +++ b/src/invent.c @@ -2245,9 +2245,9 @@ unsigned *resultflags; * If allflag then no questions are asked. Mx gives the max number * of objects to be treated. Return the number of objects treated. */ -/*JP CHECK: 3.6.0 ‚ł̌Ăяo‚µŒ³ -invent.c:1886: int cnt = askchain(&invent, olets, allflag, fn, ckfn, mx, word); -pickup.c:3145: if (askchain(objlist, (one_by_one ? (char *) 0 : selection), allflag, +/*JP CHECK: 3.6.2 ‚ł̌Ăяo‚µŒ³ +invent.c:2228: int cnt = askchain(&invent, olets, allflag, fn, ckfn, mx, word); +pickup.c:3208: if (askchain(objlist, (one_by_one ? (char *) 0 : selection), allflag, word‚É‚Í“®ŽŒ‚ª‰pŒê‚Å“ü‚éB */ int @@ -3253,7 +3253,10 @@ dounpaid() char contbuf[BUFSZ]; /* Shopkeeper knows what to charge for contents */ +/*JP Sprintf(contbuf, "%s contents", s_suffix(xname(otmp))); +*/ + Sprintf(contbuf, "%s‚Ì’†g", xname(otmp)); putstr(win, 0, xprname((struct obj *) 0, contbuf, CONTAINED_SYM, TRUE, contcost, 0L)); diff --git a/src/mail.c b/src/mail.c index e383fca..7582d3a 100644 --- a/src/mail.c +++ b/src/mail.c @@ -499,7 +499,7 @@ struct obj *otmp UNUSED; /*JP "Please disregard previous letter.", "Welcome to NetHack.", */ - "‘O‚̃[ƒ‹‚Í–Y‚ê‚Ä‚­‚¾‚³‚¢D", "NetHack‚ւ悤‚±‚»I", + "‘O‚̃[ƒ‹‚Í–Y‚ê‚Ä‚­‚¾‚³‚¢D", "JNetHack‚ւ悤‚±‚»I", #ifdef AMIGA "Only Amiga makes it possible.", "CATS have all the answers.", #endif diff --git a/src/objnam.c b/src/objnam.c index 19de3c2..76605fc 100644 --- a/src/objnam.c +++ b/src/objnam.c @@ -763,9 +763,9 @@ unsigned cxn_flags; /* bitmask of CXN_xxx values */ break; case ROCK_CLASS: if (typ == STATUE && omndx != NON_PM) { +#if 0 /*JP*/ char anbuf[10]; -#if 0 /*JP*/ Sprintf(buf, "%s%s of %s%s", (Role_if(PM_ARCHEOLOGIST) && (obj->spe & STATUE_HISTORIC)) ? "historic " @@ -3504,7 +3504,11 @@ struct obj *no_wish; int wetness, gsize = 0; struct fruit *f; int ftype = context.current_fruit; +#if 0 /*JP*/ char fruitbuf[BUFSZ], globbuf[BUFSZ]; +#else + char fruitbuf[BUFSZ]; +#endif /* Fruits may not mess up the ability to wish for real objects (since * you can leave a fruit in a bones file and it will be added to * another person's game), so they must be checked for last, after diff --git a/src/pager.c b/src/pager.c index 4c924fb..ca5abbd 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1684,6 +1684,7 @@ boolean do_mons; /* True => monsters, False => objects */ } static const char *suptext1[] = { +#if 0 /*JP:T*/ "%s is a member of a marauding horde of orcs", "rumored to have brutally attacked and plundered", "the ordinarily sheltered town that is located ", @@ -1693,9 +1694,19 @@ static const char *suptext1[] = { "defiantly acclaim their allegiance to their", "leader %s in their names.", (char *) 0, +#else + "%s‚́Cƒm[ƒ€‚̍zŽR‚̉œ‚Ɉʒu‚µ‚Ä‚¢‚é", + "’ʏí’Ê‚è–hŒä‚µ‚Ä‚¢‚½ŠX‚ð—eŽÍ‚È‚­UŒ‚‚µ‚Ä", + "—ª’D‚µ‚½‚Ɖ\‚³‚ê‚éCƒI[ƒN‚̏PŒ‚W’c‚̈êˆõ‚Å‚ ‚éD", + "", + "‚»‚̈«Ž¿‚ȏW’c‚̃ƒ“ƒo[‚́C‚»‚̃Š[ƒ_[‚Å‚ ‚é%s‚Ì–¼‚̉º‚É", + "ŒÖ‚炵‚°‚©‚Â’§í“I‚É‚»‚Ì’‰½‚ðÌŽ^‚µ‚Ä‚¢‚éD", + (char *) 0, +#endif }; static const char *suptext2[] = { +#if 0 /*JP:T*/ "\"%s\" is the common dungeon name of", "a nefarious orc who is known to acquire property", "from thieves and sell it off for profit.", @@ -1703,6 +1714,15 @@ static const char *suptext2[] = { "The perpetrator was last seen hanging around the", "stairs leading to the Gnomish Mines.", (char *) 0, +#else + "\"%s\" ‚́C“‘¯‚©‚畨•i‚ð“üŽè‚µ‚Ä", + "—˜‰v‚𓾂邽‚ß‚É”„‚肳‚΂­‚±‚Æ‚Å’m‚ç‚ê‚Ä‚¢‚é", + "–³–@‚ȃI[ƒN‚̈ê”Ê“I‚È–À‹{–¼‚Å‚ ‚éD", + "", + "”Ɛl‚ªÅŒã‚É–ÚŒ‚‚³‚ꂽ‚Ì‚Í", + "ƒm[ƒ€‚Ì’Yz‚Ö‘±‚­ŠK’i‚Ì‹ß‚­‚Å‚ ‚éD", + (char *) 0, +#endif }; void @@ -1803,7 +1823,10 @@ doidtrap() boolean chesttrap = trapped_chest_at(tt, x, y); if (chesttrap || trapped_door_at(tt, x, y)) { +/*JP pline("That is a trapped %s.", chesttrap ? "chest" : "door"); +*/ + pline("‚»‚ê‚Í㩂ªŽdŠ|‚¯‚ç‚ꂽ%s‚¾D", chesttrap ? "” " : "”à"); return 0; /* trap ID'd, but no time elapses */ } } @@ -2132,11 +2155,19 @@ dowhatdoes() char q, *reslt; if (!once) { +#if 0 /*JP*/ pline("Ask about '&' or '?' to get more info.%s", #ifdef ALTMETA iflags.altmeta ? " (For ESC, type it twice.)" : #endif ""); +#else + pline("‚³‚ç‚È‚éî•ñ‚ɂ‚¢‚Ä‚Í '&' ‚© '?' ‚ɂ‚¢‚Ä‚½‚¸‚Ë‚Ü‚·D%s", +#ifdef ALTMETA + iflags.altmeta ? " (ESC‚ɂ‚¢‚ẮC2‰ñƒ^ƒCƒv‚µ‚Ü‚·D)" : +#endif + ""); +#endif once = TRUE; } #if defined(UNIX) || defined(VMS) diff --git a/src/polyself.c b/src/polyself.c index 0d6342a..7908dbc 100644 --- a/src/polyself.c +++ b/src/polyself.c @@ -1288,7 +1288,10 @@ rehumanize() #endif done(DIED); } else if (uamul && uamul->otyp == AMULET_OF_UNCHANGING) { +/*JP Your("%s %s!", simpleonames(uamul), otense(uamul, "fail")); +*/ + Your("%s‚ÉŽ¸”s‚µ‚½I", simpleonames(uamul)); uamul->dknown = 1; makeknown(AMULET_OF_UNCHANGING); } @@ -1321,8 +1324,13 @@ rehumanize() vision_full_recalc = 1; (void) encumber_msg(); if (was_flying && !Flying && u.usteed) +#if 0 /*JP*/ You("and %s return gently to the %s.", mon_nam(u.usteed), surface(u.ux, u.uy)); +#else + You("‚Æ%s‚Í%s‚É’…’n‚µ‚½D", + mon_nam(u.usteed), surface(u.ux, u.uy)); +#endif retouch_equipment(2); if (!uarmg) selftouch(no_longer_petrify_resistant); @@ -2013,7 +2021,7 @@ struct monst *mon; int part; { static NEARDATA const char -#if 0 /*JP*/ +#if 0 /*JP:T*/ *humanoid_parts[] = { "arm", "eye", "face", "finger", "fingertip", "foot", "hand", "handed", "head", "leg", "light headed", "neck", @@ -2027,7 +2035,7 @@ int part; "”wœ", "’ܐæ", "”¯", "ŒŒ", "”x", "•@", "ˆÝ"}, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *jelly_parts[] = { "pseudopod", "dark spot", "front", "pseudopod extension", "pseudopod extremity", "pseudopod root", "grasp", "grasped", @@ -2045,7 +2053,7 @@ int part; "”g–ä", "‘̉t", "•\–Ê", "Š´ŠoŠí", "ˆÝ"}, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *animal_parts[] = { "forelimb", "eye", "face", "foreclaw", "claw tip", "rear claw", "foreclaw", "clawed", "head", @@ -2063,7 +2071,7 @@ int part; "ŒŒ", "”x", "•@", "ˆÝ"}, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *bird_parts[] = { "wing", "eye", "face", "wing", "wing tip", "foot", "wing", "winged", "head", "leg", "light headed", "neck", @@ -2077,7 +2085,7 @@ int part; "”wœ", "’ܐæ", "‰H–Ñ", "ŒŒ", "”x", "‚­‚¿‚΂µ", "ˆÝ" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *horse_parts[] = { "foreleg", "eye", "face", "forehoof", "hoof tip", "rear hoof", "forehoof", "hooved", "head", @@ -2095,7 +2103,7 @@ int part; "ŒŒ", "”x", "•@", "ˆÝ" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *sphere_parts[] = { "appendage", "optic nerve", "body", "tentacle", "tentacle tip", "lower appendage", "tentacle", "tentacled", "body", "lower tentacle", @@ -2111,7 +2119,7 @@ int part; "‰º‚̐GŽè‚̐æ", "‘@–Ñ", "¶–½—Í", "–Ô–Œ", "škŠo’†•", "“à•”" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *fungus_parts[] = { "mycelium", "visual area", "front", "hypha", "hypha", "root", "strand", "stranded", "cap area", @@ -2129,7 +2137,7 @@ int part; "‘̉t", "‚¦‚ç", "‚¦‚ç", "“à•”"}, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *vortex_parts[] = { "region", "eye", "front", "minor current", "minor current", "lower current", "swirl", "swirled", "central core", @@ -2147,7 +2155,7 @@ int part; "¶–½—Í", "’†S", "‘O‰", "“à•”" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *snake_parts[] = { "vestigial limb", "eye", "face", "large scale", "large scale tip", "rear region", "scale gap", "scale gapped", "head", "rear region", @@ -2163,7 +2171,7 @@ int part; "—Ø", "ŒŒ", "”x", "ã", "ˆÝ" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *worm_parts[] = { "anterior segment", "light sensitive cell", "clitellum", "setae", "setae", "posterior segment", "segment", "segmented", "anterior segment", @@ -2179,7 +2187,7 @@ int part; "‘Ì", "Œã•”‚ÌŠp", "Šp", "ŒŒ", "”畆", "Œû‘O—t", "ˆÝ" }, #endif -#if 0 /*JP*/ +#if 0 /*JP:T*/ *fish_parts[] = { "fin", "eye", "premaxillary", "pelvic axillary", "pelvic fin", "anal fin", "pectoral fin", "finned", "head", "peduncle", "played out", "gills", diff --git a/src/restore.c b/src/restore.c index 01c7545..ee84254 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1390,8 +1390,13 @@ winid bannerwin; /* if not WIN_ERR, clear window and show copyright in menu */ add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "", MENU_UNSELECTED); } +#if 0 /*JP*/ add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, "Select one of your saved games", MENU_UNSELECTED); +#else + add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, + "ƒZ[ƒu‚µ‚½ƒQ[ƒ€‚ðˆê‚‘I‚ñ‚¾‚­‚¾‚³‚¢", MENU_UNSELECTED); +#endif for (k = 0; saved[k]; ++k) { any.a_int = k + 1; add_menu(tmpwin, NO_GLYPH, &any, 0, 0, ATR_NONE, saved[k], @@ -1399,12 +1404,22 @@ winid bannerwin; /* if not WIN_ERR, clear window and show copyright in menu */ } clet = (k <= 'n' - 'a') ? 'n' : 0; /* new game */ any.a_int = -1; /* not >= 0 */ +#if 0 /*JP*/ add_menu(tmpwin, NO_GLYPH, &any, clet, 0, ATR_NONE, "Start a new character", MENU_UNSELECTED); +#else + add_menu(tmpwin, NO_GLYPH, &any, clet, 0, ATR_NONE, + "V‚µ‚¢ƒLƒƒƒ‰ƒNƒ^‚ÅŽn‚ß‚é", MENU_UNSELECTED); +#endif clet = (k + 1 <= 'q' - 'a') ? 'q' : 0; /* quit */ any.a_int = -2; +#if 0 /*JP*/ add_menu(tmpwin, NO_GLYPH, &any, clet, 0, ATR_NONE, "Never mind (quit)", MENU_SELECTED); +#else + add_menu(tmpwin, NO_GLYPH, &any, clet, 0, ATR_NONE, + "‚â‚ß‚é", MENU_SELECTED); +#endif /* no prompt on end_menu, as we've done our own at the top */ end_menu(tmpwin, (char *) 0); if (select_menu(tmpwin, PICK_ONE, &chosen_game) > 0) { diff --git a/src/shk.c b/src/shk.c index f49f4e0..d8734bf 100644 --- 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("‚±‚±‚É‚Í’N‚à%s‚È‚¢D", !Blind ? "Œ©‚¦" : "Š´‚¶‚ç‚ê"); return 0; } if (!mtmp) { @@ -1732,7 +1735,7 @@ dopay() /*JP Strcat(sbuf, "you picked up in the store."); */ - Strcpy(sbuf, "“X‚Ì’†‚ŏE‚Á‚½‚à‚̂ɑ΂µ‚āC"); + Strcpy(sbuf, "“X‚Ì’†‚ŏE‚Á‚½‚à‚̂ɑ΂µ‚āC"); else #if 0 /*JP*/ Strcat(sbuf, @@ -3464,13 +3467,9 @@ boolean peaceful, silent; */ still = "‚³‚ç‚É"; } -#if 0 /*JP:T*/ +#if 0 /*JP*/ Sprintf(buf, "%sowe %s %ld %s", still, shkname(shkp), value, currency(value)); -#else - Sprintf(buf, "%s%s‚É%ld%s‚ÌŽØ‚è‚ð‚‚­‚Á‚½", 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‚É%ld%s‚ÌŽØ‚è‚ð‚‚­‚Á‚½", still, shkname(shkp), + value, currency(value)); +#endif #if 0 /*JP*/ You("%s!", buf); /* "You owe N zorkmids for it!" */ @@ -4038,7 +4041,7 @@ register xchar x, y; /*JP verbalize("Out of my way, scum!"); */ - verbalize("‚Ç‚¯CƒNƒ\‚Á‚½‚êI"); + verbalize("‚Ç‚¯CƒNƒ\‚Á‚½‚êI"); 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‚Í%s‚ð‚³‚³‚â‚¢‚½D", Shknam(shkp), + shk_closeby ? "Žô•¶" : "‰½‚©"); +#endif else if (!Deaf && shk_closeby) +/*JP You_hear("someone muttering an incantation."); +*/ + You_hear("’N‚©‚ªŽô•¶‚ð‚‚Ԃ₢‚Ä‚¢‚é‚Ì‚ð•·‚¢‚½D"); *once = 0; } if (ttmp) { diff --git a/src/sit.c b/src/sit.c index 7543bf9..e32ec67 100644 --- a/src/sit.c +++ b/src/sit.c @@ -492,13 +492,19 @@ dosit() return 0; } else if (eggs_in_water(youmonst.data)) { if (!(Underwater || Is_waterlevel(&u.uz))) { +/*JP pline("A splash tetra you are not."); +*/ + pline("‚ ‚È‚½‚̓Rƒyƒ‰EƒA[ƒmƒ‹ƒfƒB‚Å‚Í‚È‚©‚Á‚½D"); return 0; } if (Upolyd && (youmonst.data == &mons[PM_GIANT_EEL] || youmonst.data == &mons[PM_ELECTRIC_EEL])) { +/*JP You("yearn for the Sargasso Sea."); +*/ + You("ƒTƒ‹ƒKƒbƒ\[ŠC‚É‚ ‚±‚ª‚ꂽD"); return 0; } } diff --git a/src/sounds.c b/src/sounds.c index 8f125b6..a5db32a 100644 --- a/src/sounds.c +++ b/src/sounds.c @@ -183,21 +183,21 @@ dosounds() /*JP You_hear("a low buzzing."); */ - You_hear("‚ԁ[‚ñ‚Æ‚¢‚¤‰¹‚ð•·‚¢‚½D"); + You_hear("‚ԁ[‚ñ‚Æ‚¢‚¤‰¹‚ð•·‚¢‚½D"); break; case 1: /*JP You_hear("an angry drone."); */ - You_hear("‹»•±‚µ‚½—Yƒoƒ`‚̉¹‚ð•·‚¢‚½D"); + You_hear("‹»•±‚µ‚½—Yƒoƒ`‚̉¹‚ð•·‚¢‚½D"); break; case 2: #if 0 /*JP*/ You_hear("bees in your %sbonnet!", uarmh ? "" : "(nonexistent) "); #else - You_hear("ƒnƒ`‚ª‚ ‚È‚½‚Ì–XŽq%s‚Ì’†‚É‚¢‚鉹‚ð•·‚¢‚½I", - uarmh ? "" : "(”í‚Á‚Ä‚È‚¢‚¯‚Ç)"); + You_hear("ƒnƒ`‚ª‚ ‚È‚½‚Ì–XŽq%s‚Ì’†‚É‚¢‚鉹‚ð•·‚¢‚½I", + uarmh ? "" : "(”í‚Á‚Ä‚È‚¢‚¯‚Ç)"); #endif break; } diff --git a/src/spell.c b/src/spell.c index 40ba03c..adc4daa 100644 --- a/src/spell.c +++ b/src/spell.c @@ -2190,7 +2190,10 @@ char *outbuf; if (turnsleft < 1L) { /* spell has expired; hero can't successfully cast it anymore */ +/*JP Strcpy(outbuf, "(gone)"); +*/ + Strcpy(outbuf, "(–Y‹p)"); } else if (turnsleft >= (long) KEEN) { /* full retention, first turn or immediately after reading book */ Strcpy(outbuf, "100%"); diff --git a/src/steed.c b/src/steed.c index 4494aa7..38de9b8 100644 --- a/src/steed.c +++ b/src/steed.c @@ -316,7 +316,10 @@ boolean force; /* Quietly force this animal */ attempting to mount a tail segment when hero was not adjacent to worm's head could trigger an impossible() in worm_cross() called from test_move(), so handle not-on-head before that */ +/*JP You("couldn't ride %s, let alone its tail.", a_monnam(mtmp)); +*/ + You("%s‚ɂ͏æ‚ê‚È‚¢C‚à‚¿‚ë‚ñK”ö‚É‚àæ‚ê‚È‚¢D", a_monnam(mtmp)); return FALSE; } if (u.uswallow || u.ustuck || u.utrap || Punished @@ -474,7 +477,10 @@ boolean force; /* Quietly force this animal */ */ You("%s‚ɏæ‚Á‚½D", mon_nam(mtmp)); if (Flying) +/*JP You("and %s take flight together.", mon_nam(mtmp)); +*/ + You("‚Æ%s‚͈ꏏ‚É‹ó‚ð”ò‚ñ‚¾D", mon_nam(mtmp)); } /* setuwep handles polearms differently when you're mounted */ if (uwep && is_pole(uwep)) diff --git a/src/timeout.c b/src/timeout.c index 9508a1f..016a0b4 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -501,9 +501,15 @@ struct kinfo *kptr; player may have genocided green slimes after being infected */ if ((mvitals[PM_GREEN_SLIME].mvflags & G_GENOD) != 0) { killer.format = KILLED_BY; +/*JP Strcpy(killer.name, "slimicide"); +*/ + Strcpy(killer.name, "ƒXƒ‰ƒCƒ€‹sŽE"); /* immediately follows "OK, so you don't die." */ +/*JP pline("Yes, you do. Green slime has been genocided..."); +*/ + pline("‚Í‚¢C‚»‚¤‚Å‚·D—΃Xƒ‰ƒCƒ€‚Í‹sŽE‚³‚ê‚Ü‚µ‚½DDD"); done(GENOCIDED); /* could be life-saved again (only in explore or wizard mode) but green slimes are gone; just stay in current form */ @@ -769,7 +775,10 @@ nh_timeout() /* timed Flying is via #wizintrinsic only */ if (was_flying && !Flying) { context.botl = 1; +/*JP You("land."); +*/ + You("’…’n‚µ‚½D"); spoteffects(TRUE); } break; @@ -778,8 +787,13 @@ nh_timeout() if (!Warn_of_mon) { context.warntype.speciesidx = NON_PM; if (context.warntype.species) { +#if 0 /*JP*/ You("are no longer warned about %s.", makeplural(context.warntype.species->mname)); +#else + You("‚à‚Í‚â%s‚ðŒx‚µ‚È‚­‚È‚Á‚½D", + makeplural(context.warntype.species->mname)); +#endif context.warntype.species = (struct permonst *) 0; } } diff --git a/src/trap.c b/src/trap.c index 96102e1..1b53a1d 100644 --- a/src/trap.c +++ b/src/trap.c @@ -192,7 +192,10 @@ int ef_flags; *const msg[] = { "burnt", "rusted", "rotten", "corroded" }, */ *const msg[] = { "Å‚°‚½", "ŽK‚Ñ‚½", "•…‚Á‚½", "•…H‚µ‚½" }, +/*JP *const bythe[] = { "heat", "oxidation", "decay", "corrosion" }; +*/ + *const bythe[] = { "”M", "Ž_‰»", "•…”s", "•…H" }; boolean vulnerable = FALSE, is_primary = TRUE, check_grease = (ef_flags & EF_GREASE) ? TRUE : FALSE, print = (ef_flags & EF_VERBOSE) ? TRUE : FALSE, @@ -1088,7 +1091,10 @@ boolean msg; if (!was_Lev && Levitation) float_up(); if (!was_Fly && Flying) +/*JP You("can fly."); +*/ + You("”ò‚ׂé‚悤‚É‚È‚Á‚½D"); } } @@ -1564,8 +1570,13 @@ unsigned trflags; */ You("—ׂ̗Ž‚µŒŠ‚Ɉړ®‚µ‚½D"); } else if (adj_pit) { +#if 0 /*JP:T*/ You("stumble over debris%s.", !rn2(5) ? " between the pits" : ""); +#else + You("‚Í%s‚ª‚ç‚­‚½‚ł‚܂¢‚½D", + !rn2(5) ? "—Ž‚µŒŠ‚Ì" : ""); +#endif } else { #if 0 /*JP*/ Strcpy(verbbuf, @@ -1912,14 +1923,18 @@ unsigned trflags; seetrap(trap); if (viasitting) +#if 0 /*JP*/ Strcpy(verbbuf, "trigger"); /* follows "You sit down." */ +#else + Strcpy(verbbuf, "‚ðˆø‚«‹N‚±‚µ‚½"); /* follows "You sit down." */ +#endif else if (u.usteed) #if 0 /*JP*/ Sprintf(verbbuf, "lead %s onto", x_monnam(u.usteed, steed_article, (char *) 0, SUPPRESS_SADDLE, FALSE)); #else - Sprintf(verbbuf, "%s‚Æ‚Æ‚à‚É”ò‚эž‚ñ‚¾", + Sprintf(verbbuf, "‚É%s‚Æ‚Æ‚à‚É”ò‚эž‚ñ‚¾", x_monnam(u.usteed, steed_article, (char *) 0, SUPPRESS_SADDLE, FALSE)); #endif @@ -1929,14 +1944,14 @@ unsigned trflags; Levitation ? (const char *) "float" : locomotion(youmonst.data, "step")); #else - Sprintf(verbbuf,"%s", + Sprintf(verbbuf,"‚É%s", jpast(Levitation ? (const char *)"•‚‚«‚È‚ª‚ç”ò‚Ñ‚±‚Þ" : locomotion(youmonst.data, "“¥‚ݍž‚Þ"))); #endif /*JP You("%s a polymorph trap!", verbbuf); */ - You("•Ï‰»‚Ì㩂É%sI", verbbuf); + You("•Ï‰»‚Ìã©%sI", verbbuf); if (Antimagic || Unchanging) { shieldeff(u.ux, u.uy); /*JP @@ -3639,11 +3654,20 @@ float_up() (void) buried_ball(&cc); /* being chained to the floor blocks levitation from floating above that floor but not from enhancing carrying capacity */ +#if 0 /*JP*/ You("feel lighter, but your %s is still chained to the %s.", body_part(LEG), IS_ROOM(levl[cc.x][cc.y].typ) ? "floor" : "ground"); +#else + You("‚·‚±‚µŒy‚­‚È‚Á‚½‚ªC‚ ‚È‚½‚Ì%s‚Í‚Ü‚¾%s‚ɂ‚Ȃª‚Á‚Ä‚¢‚éD", + body_part(LEG), + IS_ROOM(levl[cc.x][cc.y].typ) ? "°" : "’n–Ê"); +#endif } else if (u.utraptype == WEB) { +/*JP You("float up slightly, but you are still stuck in the web."); +*/ + You("‚·‚±‚µ•‚‚«ã‚ª‚Á‚½‚ªC‚Ü‚¾‚­‚à‚Ì‘ƒ‚ɂ‚©‚Ü‚Á‚Ä‚¢‚éD"); } else { /* bear trap */ /*JP You("float up slightly, but your %s is still stuck.", @@ -3754,12 +3778,21 @@ long hmask, emask; /* might cancel timeout */ float_vs_flight(); if (trapped && u.utrap) /* u.utrap => paranoia */ +#if 0 /*JP*/ You("are no longer trying to float up from the %s.", (u.utraptype == TT_BEARTRAP) ? "trap's jaws" : (u.utraptype == TT_WEB) ? "web" : (u.utraptype == TT_BURIEDBALL) ? "chain" : (u.utraptype == TT_LAVA) ? "lava" : "ground"); /* TT_INFLOOR */ +#else + You("‚à‚Í‚â%s‚©‚ç•‚‚«ã‚ª‚낤‚Æ‚µ‚È‚­‚È‚Á‚½D", + (u.utraptype == TT_BEARTRAP) ? "㩂̎•" + : (u.utraptype == TT_WEB) ? "‚­‚à‚Ì‘ƒ" + : (u.utraptype == TT_BURIEDBALL) ? "½" + : (u.utraptype == TT_LAVA) ? "—nŠâ" + : "’n–Ê"); /* TT_INFLOOR */ +#endif (void) encumber_msg(); /* carrying capacity might have changed */ return 0; } @@ -4138,7 +4171,10 @@ domagictrap() context.botl = TRUE; } else { /* magic vibrations still hit you */ +/*JP You_feel("rankled."); +*/ + You_feel("‚¢‚ç‚¢‚炵‚½D"); incr_itimeout(&HDeaf, rn1(5, 15)); context.botl = TRUE; } @@ -5947,14 +5983,23 @@ boolean *noticed; /* set to true iff hero notices the effect; */ which = ""; switch (u.utraptype) { case TT_LAVA: +/*JP trapdescr = "molten lava"; +*/ + trapdescr = "‚Ç‚ë‚Ç‚ë‚Ì—nŠâ"; break; case TT_INFLOOR: /* solidified lava, so not "floor" even if within a room */ +/*JP trapdescr = "ground"; +*/ + trapdescr = "’n–Ê"; break; case TT_BURIEDBALL: +/*JP trapdescr = "your anchor"; +*/ + trapdescr = "‚­‚³‚Ñ"; break; case TT_BEARTRAP: case TT_PIT: @@ -5964,7 +6009,10 @@ boolean *noticed; /* set to true iff hero notices the effect; */ default: /* lint suppression in case 't' is unexpectedly Null or u.utraptype has new value we don't know about yet */ +/*JP trapdescr = "trap"; +*/ + trapdescr = "ã©"; break; } } else { @@ -6677,7 +6725,7 @@ unconscious() || !strncmp(nomovemsg, "You regain con", 14) || !strncmp(nomovemsg, "You are consci", 14)))); #else -/*JP 3.6.0 ‚ł̏oŒ»ˆÊ’u/‰ñ” +/*JP 3.6.2 ‚ł̏oŒ»ˆÊ’u/‰ñ” "You awake" : potion.c(1) "You regain con": eat.c(1) "You are consci": eat.c(1) diff --git a/src/uhitm.c b/src/uhitm.c index 5d7c8b5..e7ea197 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -197,8 +197,13 @@ struct obj *wep; /* uwep for attack(), null for kick_monster() */ struct obj *obj; if (!Blind && Hallucination) +#if 0 /*JP*/ pline("A %s %s appeared!", mtmp->mtame ? "tame" : "wild", l_monnam(mtmp)); +#else + pline("%s%s‚ªŒ»‚ꂽI", + mtmp->mtame ? "Žè‚Ȃ¯‚ç‚ꂽ" : "–쐶‚Ì", l_monnam(mtmp)); +#endif else if (Blind || (is_pool(mtmp->mx, mtmp->my) && !Underwater)) /*JP pline("Wait! There's a hidden monster there!"); @@ -480,7 +485,10 @@ register struct monst *mtmp; && (m_move(mtmp, 0) == 2 /* it died */ || mtmp->mx != u.ux + u.dx || mtmp->my != u.uy + u.dy)) { /* it moved */ +/*JP You("miss wildly and stumble forwards."); +*/ + You("‘å‚«‚­ŠO‚µ‚Ä‘O‚ɂ‚܂¢‚½D"); return FALSE; } @@ -1484,20 +1492,37 @@ int dieroll; if (canspotmon(mon)) { if (saved_oname[0]) { +#if 0 /*JP*/ Sprintf(emitlightobjbuf, "%s radiance penetrates deep into", s_suffix(saved_oname)); Strcat(emitlightobjbuf, " %s!"); +#else + Sprintf(emitlightobjbuf, + "%sŒõ‚ª%%s‚ɐ[‚­ŠÑ’Ê‚µ‚½I", + s_suffix(saved_oname)); +#endif fmt = emitlightobjbuf; } else +/*JP fmt = "The light sears %s!"; +*/ + fmt = "Œõ‚Í%s‚ðÄ‚¢‚½I"; } else { +#if 0 /*JP*/ *whom = highc(*whom); /* "it" -> "It" */ +#endif +/*JP fmt = "%s is seared!"; +*/ + fmt = "%s‚͏Ă©‚ꂽI"; } /* note: s_suffix returns a modifiable buffer */ if (!noncorporeal(mdat) && !amorphous(mdat)) +/*JP whom = strcat(s_suffix(whom), " flesh"); +*/ + whom = strcat(s_suffix(whom), "“÷"); pline(fmt, whom); } /* if a "no longer poisoned" message is coming, it will be last; @@ -1907,9 +1932,15 @@ int specialdmg; /* blessed and/or silver bonus against various things */ */ pline("%s‚ÍŠ®‘S‚É”R‚¦s‚«‚½I", Monnam(mdef)); else +#if 0 /*JP*/ You("smell burning%s.", (pd == &mons[PM_PAPER_GOLEM]) ? " paper" : (pd == &mons[PM_STRAW_GOLEM]) ? " straw" : ""); +#else + You("%s‚ª”R‚¦‚é‚É‚¨‚¢‚ª‚µ‚½D", + (pd == &mons[PM_PAPER_GOLEM]) ? "Ž†" + : (pd == &mons[PM_STRAW_GOLEM]) ? "‚í‚ç" : "‰½‚©"); +#endif xkilled(mdef, XKILL_NOMSG | XKILL_NOCORPSE); tmp = 0; break; @@ -2881,7 +2912,9 @@ register struct monst *mon; if (dhit) { int compat, specialdmg; long silverhit = 0L; +#if 0 /*JP*//* ‚·‚ׂāuUŒ‚‚µ‚½v‚É‚·‚é */ const char *verb = 0; /* verb or body part */ +#endif if (!u.uswallow && (compat = could_seduce(&youmonst, mon, mattk)) != 0) { @@ -2909,7 +2942,9 @@ register struct monst *mon; case AT_CLAW: case AT_TUCH: /* verb=="claws" may be overridden below */ +#if 0 /*JP*/ verb = (mattk->aatyp == AT_TUCH) ? "touch" : "claws"; +#endif /* decide if silver-hater will be hit by silver ring(s); for 'multi_claw' where attacks alternate right/left, assume 'even' claw or touch attacks use right hand @@ -2930,35 +2965,49 @@ register struct monst *mon; case AT_TENT: /* assumes mind flayer's tentacles-on-head rather than sea monster's tentacle-as-arm */ +#if 0 /*JP*/ verb = "tentacles"; +#endif break; case AT_KICK: +#if 0 /*JP*/ verb = "kick"; +#endif specialdmg = special_dmgval(&youmonst, mon, W_ARMF, &silverhit); break; case AT_BUTT: +#if 0 /*JP*/ verb = "head butt"; /* mbodypart(mon,HEAD)=="head" */ /* hypothetical; if any form with a head-butt attack could wear a helmet, it would hit shades when wearing a blessed (or silver) one */ +#endif specialdmg = special_dmgval(&youmonst, mon, W_ARMH, &silverhit); break; case AT_BITE: +#if 0 /*JP*/ verb = "bite"; +#endif break; case AT_STNG: +#if 0 /*JP*/ verb = "sting"; +#endif break; default: +#if 0 /*JP*/ verb = "hit"; +#endif break; } if (mon->data == &mons[PM_SHADE] && !specialdmg) { +#if 0 /*JP*/ if (!strcmp(verb, "hit") || (mattk->aatyp == AT_CLAW && humanoid(mon->data))) verb = "attack"; +#endif #if 0 /*JP*/ Your("%s %s harmlessly through %s.", verb, vtense(verb, "pass"), mon_nam(mon)); @@ -2973,9 +3022,15 @@ register struct monst *mon; */ Your("GŽè‚ª%s‚̑̉t‚ð‹z‚¢‚Æ‚Á‚½D", mon_nam(mon)); } else { +#if 0 /*JP*/ if (mattk->aatyp == AT_CLAW) verb = "hit"; /* not "claws" */ +#endif +#if 0 /*JP*/ You("%s %s.", verb, mon_nam(mon)); +#else + You("%s‚ðUŒ‚‚µ‚½D", mon_nam(mon)); +#endif if (silverhit && flags.verbose) silver_sears(&youmonst, mon, silverhit); } @@ -3033,13 +3088,19 @@ register struct monst *mon; unconcerned = FALSE; } if (mon->data == &mons[PM_SHADE]) { +#if 0 /*JP*/ const char *verb = byhand ? "grasp" : "hug"; +#endif /* hugging a shade; successful if blessed outermost armor for normal hug, or blessed gloves or silver ring(s) for choking hug; deals damage but never grabs hold */ if (specialdmg) { +#if 0 /*JP*/ You("%s %s%s", verb, mon_nam(mon), exclam(specialdmg)); +#else + You("%s‚ð‚‚©‚ñ‚¾%s", mon_nam(mon), exclam(specialdmg)); +#endif if (silverhit && flags.verbose) silver_sears(&youmonst, mon, silverhit); sum[i] = damageum(mon, mattk, specialdmg); @@ -3308,7 +3369,7 @@ boolean wep_was_destroyed; /*JP pline("A hail of magic missiles narrowly misses you!"); */ - pline("–‚–@‚Ì–î‚̉J‚ð‚È‚ñ‚Æ‚©‚©‚킵‚½I"); + pline("–‚–@‚Ì–î‚̉J‚ª‚©‚·‚ß‚Ä‚¢‚Á‚½I"); } else { /*JP You("are hit by magic missiles appearing from thin air!"); diff --git a/src/vault.c b/src/vault.c index 1ce00a1..d0beb60 100644 --- a/src/vault.c +++ b/src/vault.c @@ -263,7 +263,10 @@ struct monst *grd; && um_dist(grd->mx, grd->my, 1)) { if (grd->mpeaceful) { if (canspotmon(grd)) /* see or sense via telepathy */ +/*JP pline("%s becomes irate.", Monnam(grd)); +*/ + pline("%s‚ÍŒƒ“{‚µ‚½D", Monnam(grd)); grd->mpeaceful = 0; /* bypass setmangry() */ } /* if arriving outside guard's temporary corridor, give the @@ -1192,7 +1195,10 @@ register struct monst *grd; /* We're stuck, so try to find a new destination. */ if (!find_guard_dest(grd, &egrd->gdx, &egrd->gdy) || (egrd->gdx == gx && egrd->gdy == gy)) { +/*JP pline("%s, confused, disappears.", Monnam(grd)); +*/ + pline("%s‚͍¬—‚µCÁ‚¦‚½D", Monnam(grd)); disappear_msg_seen = TRUE; goto cleanup; } else diff --git a/src/weapon.c b/src/weapon.c index 99c1fc1..b6c4c04 100644 --- a/src/weapon.c +++ b/src/weapon.c @@ -476,7 +476,9 @@ struct monst *magr UNUSED; struct monst *mdef; long silverhit; { +#if 0 /*JP*/ char rings[20]; /* plenty of room for "rings" */ +#endif int ltyp = ((uleft && (silverhit & W_RINGL) != 0L) ? uleft->otyp : STRANGE_OBJECT), rtyp = ((uright && (silverhit & W_RINGR) != 0L) @@ -494,6 +496,7 @@ long silverhit; silver [see hmonas(uhitm.c) for explanation of 'multi_claw'] */ both = ((ltyp == rtyp && uleft->dknown == uright->dknown) || (l_ag && r_ag)); +#if 0 /*JP*/ Sprintf(rings, "ring%s", both ? "s" : ""); Your("%s%s %s %s!", (l_ag || r_ag) ? "silver " @@ -501,6 +504,14 @@ long silverhit; : ((silverhit & W_RINGL) != 0L) ? "left " : "right ", rings, vtense(rings, "sear"), mon_nam(mdef)); +#else + Your("%sŽw—Ö‚ª%s‚ðÄ‚¢‚½I", + (l_ag || r_ag) ? "‹â‚Ì" + : both ? "" + : ((silverhit & W_RINGL) != 0L) ? "¶‚Ì" + : "‰E‚Ì", + mon_nam(mdef)); +#endif } } diff --git a/src/wield.c b/src/wield.c index 35353b5..465c2dd 100644 --- a/src/wield.c +++ b/src/wield.c @@ -223,7 +223,10 @@ struct obj *wep; wep->owornmask |= W_WEP; if (wep->otyp == AKLYS && (wep->owornmask & W_WEP) != 0) +/*JP You("secure the tether."); +*/ + You("‚Ђà‚ð‚µ‚Á‚©‚è‚ƌŒ肵‚½D"); prinv((char *) 0, wep, 0L); wep->owornmask = dummy; } @@ -922,12 +925,20 @@ register int amount; if (amount >= 0 && uwep && will_weld(uwep)) { /* cursed tin opener */ if (!Blind) { +#if 0 /*JP*/ Sprintf(buf, "%s with %s aura.", Yobjnam2(uwep, "glow"), an(hcolor(NH_AMBER))); +#else + Sprintf(buf, "%s‚Í%sƒI[ƒ‰‚ɂ‚‚܂ꂽD", + xname(uwep), hcolor(NH_AMBER)); +#endif uwep->bknown = !Hallucination; } else { /* cursed tin opener is wielded in right hand */ +/*JP Sprintf(buf, "Your right %s tingles.", body_part(HAND)); +*/ + Sprintf(buf, "‚ ‚È‚½‚̉E%s‚Í‚¿‚­‚¿‚­‚µ‚½D", body_part(HAND)); } uncurse(uwep); update_inventory(); diff --git a/src/zap.c b/src/zap.c index abaa347..cd495cf 100644 --- a/src/zap.c +++ b/src/zap.c @@ -2123,11 +2123,19 @@ struct obj *obj, *otmp; /* we don't want to force alive vs dead determination for Schroedinger's Cat here, so just make probing be inconclusive for it */ +#if 0 /*JP*/ You("aren't sure whether %s has %s or its corpse inside.", the(xname(obj)), /* unfortunately, we can't tell whether rndmonnam() picks a form which can't leave a corpse */ an(Hallucination ? rndmonnam((char *) 0) : "cat")); +#else + pline("%s‚É%s‚ª“ü‚Á‚Ä‚¢‚é‚Ì‚©‚»‚ÌŽ€‘Ì‚ª“ü‚Á‚Ä‚¢‚é‚Ì‚©‚í‚©‚ç‚È‚¢D", + xname(obj), + /* unfortunately, we can't tell whether rndmonnam() + picks a form which can't leave a corpse */ + Hallucination ? rndmonnam((char *) 0) : "”L"); +#endif obj->cknown = 0; } else { struct obj *o; @@ -2227,8 +2235,13 @@ struct obj *obj, *otmp; } else { if (cansee(ox, oy)) { if (canspotmon(mtmp)) { +#if 0 /*JP*/ pline("%s is resurrected!", upstart(noname_monnam(mtmp, ARTICLE_THE))); +#else + pline("%s‚͐¶‚«•Ô‚Á‚½I", + upstart(noname_monnam(mtmp, ARTICLE_THE))); +#endif learn_it = TRUE; } else { /* saw corpse but don't see monster: maybe @@ -2236,7 +2249,10 @@ struct obj *obj, *otmp; a different spot than */ if (!type_is_pname(&mons[corpsenm])) corpsname = The(corpsname); +/*JP pline("%s disappears.", corpsname); +*/ + pline("%s‚͏Á‚¦‚½D", corpsname); } } else { /* couldn't see corpse's location */ @@ -2245,7 +2261,10 @@ struct obj *obj, *otmp; if (!type_is_pname(&mons[corpsenm])) corpsname = an(corpsname); if (!Hallucination) +/*JP You_hear("%s reviving.", corpsname); +*/ + You_hear("%s‚ª¶‚«•Ô‚鉹‚ð•·‚¢‚½D", corpsname); else /*JP You_hear("a defibrillator."); @@ -3093,7 +3112,11 @@ boolean youattack, allow_cancel_kill, self_cancel; if (!Blind) pline(writing_vanishes, your); else /* note: "dark" rather than "heavy" is intentional... */ +#if 0 /*JP*/ You_feel("%s headed.", Hallucination ? "dark" : "light"); +#else /*‚¢‚¢–óŒê‚ðŽv‚¢‚‚©‚È‚¢‚Ì‚ÅŒ¶Šo‚сƒbƒZ[ƒW‚ð•Ï‚¦‚È‚¢ */ + You_feel("Œy‚Í‚¸‚Ý‚¾‚Á‚½‹C‚ª‚µ‚½D"); +#endif u.mh = 0; /* fatal; death handled by rehumanize() */ } if (Unchanging && u.mh > 0) @@ -5626,9 +5649,11 @@ int osym, dmgtyp; pline("%s %s %s!", mult, xname(obj), destroy_strings[dindx][(cnt > 1L)]); #else - mult = (cnt == quan) - ? "" - : (cnt == 1L) ? "‚̂ЂƂÂ" : "‚Ì‚¢‚­‚‚©"; + mult = (cnt == 1L) + ? ((quan == 1L) ? "" /* 1 of 1 */ + : "‚̂ЂƂÂ") /* 1 of N */ + : ((cnt < quan) ? "‚Ì‚¢‚­‚‚©" /* n of N */ + : "‚Ì‘S‚Ä"); /* N of N */ pline("‚ ‚È‚½‚Ì%s%s‚Í%sI", xname(obj), mult, destroy_strings[dindx][(cnt > 1L)]); #endif -- 2.11.0