if (fd >= 0) {
(void) nhclose(fd);
if (wizard) {
+/*JP
if (yn("Bones file already exists. Replace it?") == 'y') {
+*/
+ if (yn("\8d\9c\83t\83@\83C\83\8b\82ª\8aù\82É\91¶\8dÝ\82µ\82Ä\82é\82æ\81D \92u\82«\8a·\82¦\82é\81H") == 'y') {
if (delete_bonesfile(&u.uz))
goto make_bones;
else
+/*JP
pline("Cannot unlink old bones.");
+*/
+ pline("\8cÃ\82¢\8d\9c\82ð\8dí\8f\9c\82Å\82«\82È\82©\82Á\82½\81D");
}
}
/* compression can change the file's name, so must
bflush(fd);
if (bytes_counted > freediskspace(bones)) { /* not enough room */
if (wizard)
+/*JP
pline("Insufficient space to create bones file.");
+*/
+ pline("\8d\9c\83t\83@\83C\83\8b\82ð\90¶\90¬\82·\82é\82½\82ß\82Ì\8f[\95ª\82È\97Ì\88æ\82ª\82È\82¢\81D");
(void) nhclose(fd);
cancel_bonesfile();
return;
if (validate(fd, bones) != 0) {
if (!wizard)
+/*JP
pline("Discarding unuseable bones; no need to panic...");
+*/
+ pline("\8eg\82¦\82È\82¢\8d\9c\82ð\8eÌ\82Ä\82½\81D\8dQ\82Ä\82é\95K\97v\82Í\82È\82¢\81D\81D\81D");
ok = FALSE;
} else {
ok = TRUE;
if (wizard) {
+/*JP
if (yn("Get bones?") == 'n') {
+*/
+ if (yn("\8d\9c\82ð\8fE\82¤\81H") == 'n') {
(void) nhclose(fd);
compress_bonesfile();
return 0;
if (strcmp(bonesid, oldbonesid) != 0) {
char errbuf[BUFSZ];
+/*JP
Sprintf(errbuf, "This is bones level '%s', not '%s'!", oldbonesid,
+*/
+ Sprintf(errbuf, "\82±\82Ì\8d\9c\82Ì\83\8c\83x\83\8b\82Í'%s'\82Å\82 \82Á\82Ä\81A'%s'\82Å\82Í\82È\82¢\81I", oldbonesid,
bonesid);
if (wizard) {
pline1(errbuf);
u.uroleplay.numbones++;
if (wizard) {
+/*JP
if (yn("Unlink bones?") == 'n') {
+*/
+ if (yn("\8d\9c\82ð\8fÁ\82·\81H") == 'n') {
compress_bonesfile();
return ok;
}