• R/O
  • SSH
  • HTTPS

jband: Commit


Commit MetaInfo

Revision131 (tree)
Time2009-06-28 18:09:21
Authorpaulblay

Log Message

More translation work.

Change Summary

Incremental Difference

--- trunk/JBand/src/cmd4.cpp (revision 130)
+++ trunk/JBand/src/cmd4.cpp (revision 131)
@@ -66,12 +66,12 @@
6666 if (!prefs_save(buf, dump, title))
6767 {
6868 prt(__T(""), 0, 0);
69- msg_print(LS(__T("Failed"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
69+ msg_print(LS(__T("Failed"),__T("[未訳]Failed")));
7070 return;
7171 }
7272 /* Message */
7373 prt(__T(""), 0, 0);
74- msg_print(format(__T("Dumped %s"), _tcsstr(title, __T(" ")) + 1));
74+ msg_format(__T("Dumped %s"), _tcsstr(title, __T(" ")) + 1);
7575 }
7676
7777 static void do_cmd_pref_file_hack(long row);
--- trunk/JBand/src/monster/melee1.cpp (revision 130)
+++ trunk/JBand/src/monster/melee1.cpp (revision 131)
@@ -2,6 +2,9 @@
22 /*
33 * Debug Status: Not checked.
44 * - Fixed __T on this page.
5+ *
6+ * Translation Status:
7+ * - Started putting in 未訳 tags.
58 */
69 /*
710 * File: melee1.c
@@ -84,16 +87,16 @@
8487 /*
8588 * Hack -- possible "insult" messages
8689 */
87-static const _TCHAR *desc_insult[MAX_DESC_INSULT] =
90+static const _TCHAR *desc_insult[MAX_DESC_INSULT][2] =
8891 {
89- __T("insults you!"),
90- __T("insults your mother!"),
91- __T("gives you the finger!"),
92- __T("humiliates you!"),
93- __T("defiles you!"),
94- __T("dances around you!"),
95- __T("makes obscene gestures!"),
96- __T("moons you!!!")
92+ {__T("insults you!"),__T("があなたのことを罵った。")},
93+ {__T("insults your mother!"),__T("があなたの母を罵った。")},
94+ {__T("gives you the finger!"),__T("が無礼な身振りをした。")},
95+ {__T("humiliates you!"),__T("があなたを侮辱した。")},
96+ {__T("defiles you!"),__T("[未訳]defiles you!")},
97+ {__T("dances around you!"),__T("[未訳]dances around you!")},
98+ {__T("makes obscene gestures!"),__T("[未訳]makes obscene gestures!")},
99+ {__T("moons you!!!"),__T("[未訳]moons you!!!")}
97100 };
98101
99102 #define MAX_DESC_MOAN 8
@@ -101,16 +104,16 @@
101104 /*
102105 * Hack -- possible "insult" messages
103106 */
104-static const _TCHAR *desc_moan[MAX_DESC_MOAN] =
107+static const _TCHAR *desc_moan[MAX_DESC_MOAN][2] =
105108 {
106- __T("wants his mushrooms back."),
107- __T("tells you to get off his land."),
108- __T("looks for his dogs. "),
109- __T("says 'Did you kill my Fang?' "),
110- __T("asks 'Do you want to buy any mushrooms?' "),
111- __T("seems sad about something."),
112- __T("asks if you have seen his dogs."),
113- __T("mumbles something about mushrooms.")
109+ {__T("wants his mushrooms back."),__T("はキノコを返して欲しい。")}, /* Translation TBC */
110+ {__T("tells you to get off his land."),__T("が出て行け!と叫んだ。")},
111+ {__T("looks for his dogs. "),__T("は飼い犬たちを探している。")},
112+ {__T("says 'Did you kill my Fang?' "),__T("キバを殺したか!?と言った。")},
113+ {__T("asks 'Do you want to buy any mushrooms?' "),__T("キノコを買ってくれますか。")},
114+ {__T("seems sad about something."),__T("は何とか悲しんでるようだ。")},
115+ {__T("asks if you have seen his dogs."),__T("犬を見ませんかと聞いた。")},
116+ {__T("mumbles something about mushrooms."),__T("[未訳]mumbles something about mushrooms.")}
114117 };
115118
116119 /*
@@ -238,9 +241,8 @@
238241 {
239242 l_ptr->flags[2] |= (RF2_EVIL);
240243 }
241-
242244 /* Message */
243- msg_format(__T("%^s is repelled."), m_name);
245+ msg_format(LS(__T("%^s is repelled."),__T("[未訳]%^s is repelled.")), m_name);
244246
245247 /* Hack -- Next attack */
246248 continue;
@@ -256,7 +258,7 @@
256258 {
257259 case RBM_HIT:
258260 {
259- act = __T("hits you.");
261+ act = LS(__T("hits you."),__T("[未訳]hits you."));
260262 do_cut = do_stun = 1;
261263 sound_msg = MSG_MON_HIT;
262264 break;
@@ -263,13 +265,13 @@
263265 }
264266 case RBM_TOUCH:
265267 {
266- act = __T("touches you.");
268+ act = LS(__T("touches you."),__T("[未訳]xxxx"));
267269 sound_msg = MSG_MON_TOUCH;
268270 break;
269271 }
270272 case RBM_PUNCH:
271273 {
272- act = __T("punches you.");
274+ act = LS(__T("punches you."),__T("[未訳]xxxx"));
273275 do_stun = 1;
274276 sound_msg = MSG_MON_PUNCH;
275277 break;
@@ -276,7 +278,7 @@
276278 }
277279 case RBM_KICK:
278280 {
279- act = __T("kicks you.");
281+ act = LS(__T("kicks you."),__T("[未訳]xxxx"));
280282 do_stun = 1;
281283 sound_msg = MSG_MON_KICK;
282284 break;
@@ -283,7 +285,7 @@
283285 }
284286 case RBM_CLAW:
285287 {
286- act = __T("claws you.");
288+ act = LS(__T("claws you."),__T("[未訳]xxxx"));
287289 do_cut = 1;
288290 sound_msg = MSG_MON_CLAW;
289291 break;
@@ -290,7 +292,7 @@
290292 }
291293 case RBM_BITE:
292294 {
293- act = __T("bites you.");
295+ act = LS(__T("bites you."),__T("[未訳]xxxx"));
294296 do_cut = 1;
295297 sound_msg = MSG_MON_BITE;
296298 break;
@@ -297,18 +299,18 @@
297299 }
298300 case RBM_STING:
299301 {
300- act = __T("stings you.");
302+ act = LS(__T("stings you."),__T("[未訳]xxxx"));
301303 sound_msg = MSG_MON_STING;
302304 break;
303305 }
304306 case RBM_XXX1:
305307 {
306- act = __T("XXX1's you.");
308+ act = LS(__T("XXX1's you."),__T("[未訳]xxxx"));
307309 break;
308310 }
309311 case RBM_BUTT:
310312 {
311- act = __T("butts you.");
313+ act = LS(__T("butts you."),__T("[未訳]xxxx"));
312314 do_stun = 1;
313315 sound_msg = MSG_MON_BUTT;
314316 break;
@@ -315,7 +317,7 @@
315317 }
316318 case RBM_CRUSH:
317319 {
318- act = __T("crushes you.");
320+ act = LS(__T("crushes you."),__T("[未訳]xxxx"));
319321 do_stun = 1;
320322 sound_msg = MSG_MON_CRUSH;
321323 break;
@@ -322,76 +324,76 @@
322324 }
323325 case RBM_ENGULF:
324326 {
325- act = __T("engulfs you.");
327+ act = LS(__T("engulfs you."),__T("[未訳]xxxx"));
326328 sound_msg = MSG_MON_ENGULF;
327329 break;
328330 }
329331 case RBM_XXX2:
330332 {
331- act = __T("XXX2's you.");
333+ act = LS(__T("XXX2's you."),__T("[未訳]xxxx"));
332334 break;
333335 }
334336 case RBM_CRAWL:
335337 {
336- act = __T("crawls on you.");
338+ act = LS(__T("crawls on you."),__T("[未訳]xxxx"));
337339 sound_msg = MSG_MON_CRAWL;
338340 break;
339341 }
340342 case RBM_DROOL:
341343 {
342- act = __T("drools on you.");
344+ act = LS(__T("drools on you."),__T("[未訳]xxxx"));
343345 sound_msg = MSG_MON_DROOL;
344346 break;
345347 }
346348 case RBM_SPIT:
347349 {
348- act = __T("spits on you.");
350+ act = LS(__T("spits on you."),__T("[未訳]xxxx"));
349351 sound_msg = MSG_MON_SPIT;
350352 break;
351353 }
352354 case RBM_XXX3:
353355 {
354- act = __T("XXX3's on you.");
356+ act = LS(__T("XXX3's on you."),__T("[未訳]xxxx"));
355357 break;
356358 }
357359 case RBM_GAZE:
358360 {
359- act = __T("gazes at you.");
361+ act = LS(__T("gazes at you."),__T("[未訳]xxxx"));
360362 sound_msg = MSG_MON_GAZE;
361363 break;
362364 }
363365 case RBM_WAIL:
364366 {
365- act = __T("wails at you.");
367+ act = LS(__T("wails at you."),__T("[未訳]xxxx"));
366368 sound_msg = MSG_MON_WAIL;
367369 break;
368370 }
369371 case RBM_SPORE:
370372 {
371- act = __T("releases spores at you.");
373+ act = LS(__T("releases spores at you."),__T("[未訳]xxxx"));
372374 sound_msg = MSG_MON_SPORE;
373375 break;
374376 }
375377 case RBM_XXX4:
376378 {
377- act = __T("projects XXX4's at you.");
379+ act = LS(__T("projects XXX4's at you."),__T("[未訳]xxxx"));
378380 break;
379381 }
380382 case RBM_BEG:
381383 {
382- act = __T("begs you for money.");
384+ act = LS(__T("begs you for money."),__T("[未訳]xxxx"));
383385 sound_msg = MSG_MON_BEG;
384386 break;
385387 }
386388 case RBM_INSULT:
387389 {
388- act = desc_insult[randint0(MAX_DESC_INSULT)];
390+ act = desc_insult[randint0(MAX_DESC_INSULT)][arg_language];
389391 sound_msg = MSG_MON_INSULT;
390392 break;
391393 }
392394 case RBM_MOAN:
393395 {
394- act = desc_moan[randint0(MAX_DESC_MOAN)];
396+ act = desc_moan[randint0(MAX_DESC_MOAN)][arg_language];
395397 sound_msg = MSG_MON_MOAN;
396398 break;
397399 }
@@ -398,7 +400,7 @@
398400
399401 case RBM_XXX5:
400402 {
401- act = __T("XXX5's you.");
403+ act = LS(__T("XXX5's you."),__T("[未訳]xxxx"));
402404 break;
403405 }
404406 }
@@ -520,7 +522,7 @@
520522 {
521523 int heal = rlev * drained;
522524
523- msg_print(LS(__T("Energy drains from your pack!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
525+ msg_print(LS(__T("Energy drains from your pack!"),__T("[未訳]Energy drains from your pack!")));
524526
525527 obvious = TRUE;
526528
@@ -560,7 +562,7 @@
560562 p_ptr->lev)))
561563 {
562564 /* Saving throw message */
563- msg_print(LS(__T("You quickly protect your money pouch!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
565+ msg_print(LS(__T("You quickly protect your money pouch!"),__T("[未訳]You quickly protect your money pouch!")));
564566
565567 /* Occasional blink anyway */
566568 if (randint0(3)) blinked = TRUE;
@@ -574,17 +576,17 @@
574576 p_ptr->au -= gold;
575577 if (gold <= 0)
576578 {
577- msg_print(LS(__T("Nothing was stolen."),__T("[未訳]Untranslated text. Copy or Translate from English.")));
579+ msg_print(LS(__T("Nothing was stolen."),__T("[未訳]Nothing was stolen.")));
578580 }
579581 else if (p_ptr->au)
580582 {
581- msg_print(LS(__T("Your purse feels lighter."),__T("[未訳]Untranslated text. Copy or Translate from English.")));
582- msg_format(__T("%ld coins were stolen!"), (long)gold);
583+ msg_print(LS(__T("Your purse feels lighter."),__T("[未訳]Your purse feels lighter.")));
584+ msg_format(LS(__T("%ld coins were stolen!"),__T("[未訳]%ld coins were stolen!")), (long)gold);
583585 }
584586 else
585587 {
586- msg_print(LS(__T("Your purse feels lighter."),__T("[未訳]Untranslated text. Copy or Translate from English.")));
587- msg_print(__T("All of your coins were stolen!"));
588+ msg_print(LS(__T("Your purse feels lighter."),__T("[未訳]Your purse feels lighter.")));
589+ msg_print(LS(__T("All of your coins were stolen!"),__T("[未訳]All of your coins were stolen!")));
588590 }
589591
590592 /* Redraw gold */
@@ -606,7 +608,7 @@
606608 p_ptr->lev)))
607609 {
608610 /* Saving throw message */
609- msg_print(LS(__T("You grab hold of your backpack!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
611+ msg_print(LS(__T("You grab hold of your backpack!"),__T("[未訳]You grab hold of your backpack!")));
610612
611613 /* Occasional "blink" anyway */
612614 blinked = TRUE;
@@ -737,7 +739,7 @@
737739 /* Notice */
738740 if (!p_ptr->timed[TMD_BLIND])
739741 {
740- msg_print(LS(__T("Your light dims."),__T("[未訳]Untranslated text. Copy or Translate from English.")));
742+ msg_print(LS(__T("Your light dims."),__T("[未訳]Your light dims.")));
741743 obvious = TRUE;
742744 }
743745
@@ -752,7 +754,7 @@
752754 obvious = TRUE;
753755
754756 /* Message */
755- msg_print(LS(__T("You are covered in acid!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
757+ msg_print(LS(__T("You are covered in acid!"),__T("[未訳]You are covered in acid!")));
756758
757759 /* Special damage */
758760 acid_dam(damage, ddesc);
@@ -768,7 +770,7 @@
768770 obvious = TRUE;
769771
770772 /* Message */
771- msg_print(LS(__T("You are struck by electricity!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
773+ msg_print(LS(__T("You are struck by electricity!"),__T("[未訳]You are struck by electricity!")));
772774
773775 /* Take damage (special) */
774776 elec_dam(damage, ddesc);
@@ -784,7 +786,7 @@
784786 obvious = TRUE;
785787
786788 /* Message */
787- msg_print(LS(__T("You are enveloped in flames!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
789+ msg_print(LS(__T("You are enveloped in flames!"),__T("[未訳]You are enveloped in flames!")));
788790
789791 /* Take damage (special) */
790792 fire_dam(damage, ddesc);
@@ -800,7 +802,7 @@
800802 obvious = TRUE;
801803
802804 /* Message */
803- msg_print(LS(__T("You are covered with frost!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
805+ msg_print(LS(__T("You are covered with frost!"),__T("[未訳]You are covered with frost!")));
804806
805807 /* Take damage (special) */
806808 cold_dam(damage, ddesc);
@@ -862,13 +864,13 @@
862864 /* Increase "afraid" */
863865 if (p_ptr->state.resist_fear)
864866 {
865- msg_print(LS(__T("You stand your ground!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
867+ msg_print(LS(__T("You stand your ground!"),__T("[未訳]You stand your ground!")));
866868 object_notice_flag(1, TR1_RES_FEAR);
867869 obvious = TRUE;
868870 }
869871 else if (randint0(100) < p_ptr->state.skills[SKILL_SAVE])
870872 {
871- msg_print(LS(__T("You stand your ground!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
873+ msg_print(LS(__T("You stand your ground!"),__T("[未訳]You stand your ground!")));
872874 obvious = TRUE;
873875 }
874876 else
@@ -893,13 +895,13 @@
893895 /* Increase "paralyzed" */
894896 if (p_ptr->state.free_act)
895897 {
896- msg_print(LS(__T("You are unaffected!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
898+ msg_print(LS(__T("You are unaffected!"),__T("[未訳]You are unaffected!")));
897899 object_notice_flag(2, TR2_FREE_ACT);
898900 obvious = TRUE;
899901 }
900902 else if (randint0(100) < p_ptr->state.skills[SKILL_SAVE])
901903 {
902- msg_print(LS(__T("You resist the effects!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
904+ msg_print(LS(__T("You resist the effects!"),__T("[未訳]You resist the effects!")));
903905 obvious = TRUE;
904906 }
905907 else
@@ -907,7 +909,6 @@
907909 if (inc_timed(TMD_PARALYZED, 3 + randint1(rlev), TRUE))
908910 obvious = TRUE;
909911 }
910-
911912 /* Learn about the player */
912913 update_smart_learn(m_idx, DRS_FREE);
913914
@@ -1024,7 +1025,7 @@
10241025
10251026 if (p_ptr->state.hold_life && (randint0(100) < 95))
10261027 {
1027- msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1028+ msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]You keep hold of your life force!")));
10281029 object_notice_flag(2, TR2_HOLD_LIFE);
10291030 }
10301031 else
@@ -1032,13 +1033,13 @@
10321033 s32b d = damroll(10, 6) + (p_ptr->exp/100) * MON_DRAIN_LIFE;
10331034 if (p_ptr->state.hold_life)
10341035 {
1035- msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1036+ msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]You feel your life slipping away!")));
10361037 lose_exp(d/10);
10371038 object_notice_flag(2, TR2_HOLD_LIFE);
10381039 }
10391040 else
10401041 {
1041- msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1042+ msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]You feel your life slipping away!")));
10421043 lose_exp(d);
10431044 }
10441045 }
@@ -1054,7 +1055,7 @@
10541055
10551056 if (p_ptr->state.hold_life && (randint0(100) < 90))
10561057 {
1057- msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1058+ msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]You keep hold of your life force!")));
10581059 object_notice_flag(2, TR2_HOLD_LIFE);
10591060 }
10601061 else
@@ -1063,13 +1064,13 @@
10631064
10641065 if (p_ptr->state.hold_life)
10651066 {
1066- msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1067+ msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]You feel your life slipping away!")));
10671068 lose_exp(d / 10);
10681069 object_notice_flag(2, TR2_HOLD_LIFE);
10691070 }
10701071 else
10711072 {
1072- msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1073+ msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]You feel your life slipping away!")));
10731074 lose_exp(d);
10741075 }
10751076 }
@@ -1085,7 +1086,7 @@
10851086
10861087 if (p_ptr->state.hold_life && (randint0(100) < 75))
10871088 {
1088- msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1089+ msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]You keep hold of your life force!")));
10891090 object_notice_flag(2, TR2_HOLD_LIFE);
10901091 }
10911092 else
@@ -1094,13 +1095,13 @@
10941095
10951096 if (p_ptr->state.hold_life)
10961097 {
1097- msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1098+ msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]You feel your life slipping away!")));
10981099 lose_exp(d / 10);
10991100 object_notice_flag(2, TR2_HOLD_LIFE);
11001101 }
11011102 else
11021103 {
1103- msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1104+ msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]You feel your life slipping away!")));
11041105 lose_exp(d);
11051106 }
11061107 }
@@ -1116,7 +1117,7 @@
11161117
11171118 if (p_ptr->state.hold_life && (randint0(100) < 50))
11181119 {
1119- msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1120+ msg_print(LS(__T("You keep hold of your life force!"),__T("[未訳]You keep hold of your life force!")));
11201121 object_notice_flag(2, TR2_HOLD_LIFE);
11211122 }
11221123 else
@@ -1125,13 +1126,13 @@
11251126
11261127 if (p_ptr->state.hold_life)
11271128 {
1128- msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1129+ msg_print(LS(__T("You feel your life slipping away!"),__T("[未訳]You feel your life slipping away!")));
11291130 lose_exp(d / 10);
11301131 object_notice_flag(2, TR2_HOLD_LIFE);
11311132 }
11321133 else
11331134 {
1134- msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1135+ msg_print(LS(__T("You feel your life draining away!"),__T("[未訳]You feel your life draining away!")));
11351136 lose_exp(d);
11361137 }
11371138 }
@@ -1272,7 +1273,7 @@
12721273 /* Blink away */
12731274 if (blinked)
12741275 {
1275- msg_print(LS(__T("There is a puff of smoke!"),__T("[未訳]Untranslated text. Copy or Translate from English.")));
1276+ msg_print(LS(__T("There is a puff of smoke!"),__T("[未訳]There is a puff of smoke!")));
12761277 teleport_away(m_idx, MAX_SIGHT * 2 + 5);
12771278 }
12781279 /* Always notice cause of death */
Show on old repository browser