• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionb68036598d03552c14e58b0fbb7dea247596b575 (tree)
Time2013-06-05 23:21:13
Authordis- <dis-@0568...>
Commiterdis-

Log Message

replace some #ifdef JP macros at self_knowledge

Change Summary

Incremental Difference

--- a/src/spells2.c
+++ b/src/spells2.c
@@ -1827,7 +1827,7 @@ info[i++] = "
18271827 }
18281828 if (p_ptr->cursed & TRC_FAST_DIGEST)
18291829 {
1830- info[i++] = _("あなたはすぐお腹がへる。", info[i++] = "You have a good appetite.");
1830+ info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite.");
18311831 }
18321832 if (p_ptr->cursed & TRC_DRAIN_HP)
18331833 {
@@ -2117,141 +2117,67 @@ info[i++] = "
21172117
21182118 if (p_ptr->resist_lite)
21192119 {
2120-#ifdef JP
2121-info[i++] = "あなたは閃光への耐性を持っている。";
2122-#else
2123- info[i++] = "You are resistant to bright light.";
2124-#endif
2125-
2120+ info[i++] = _("あなたは閃光への耐性を持っている。", "You are resistant to bright light.");
21262121 }
21272122
21282123 if (prace_is_(RACE_VAMPIRE) || prace_is_(RACE_S_FAIRY) || (p_ptr->mimic_form == MIMIC_VAMPIRE))
21292124 {
2130-#ifdef JP
2131-info[i++] = "あなたは閃光に弱い。";
2132-#else
2133- info[i++] = "You are susceptible to damage from bright light.";
2134-#endif
2135-
2125+ info[i++] = _("あなたは閃光に弱い。", "You are susceptible to damage from bright light.");
21362126 }
21372127
21382128 if (prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE) || p_ptr->wraith_form)
21392129 {
2140-#ifdef JP
2141-info[i++] = "あなたは暗黒に対する完全なる免疫を持っている。";
2142-#else
2143- info[i++] = "You are completely immune to darkness.";
2144-#endif
2130+ info[i++] = _("あなたは暗黒に対する完全なる免疫を持っている。", "You are completely immune to darkness.");
21452131 }
21462132
21472133 else if (p_ptr->resist_dark)
21482134 {
2149-#ifdef JP
2150-info[i++] = "あなたは暗黒への耐性を持っている。";
2151-#else
2152- info[i++] = "You are resistant to darkness.";
2153-#endif
2154-
2135+ info[i++] = _("あなたは暗黒への耐性を持っている。", "You are resistant to darkness.");
21552136 }
21562137 if (p_ptr->resist_conf)
21572138 {
2158-#ifdef JP
2159-info[i++] = "あなたは混乱への耐性を持っている。";
2160-#else
2161- info[i++] = "You are resistant to confusion.";
2162-#endif
2163-
2139+ info[i++] = _("あなたは混乱への耐性を持っている。", "You are resistant to confusion.");
21642140 }
21652141 if (p_ptr->resist_sound)
21662142 {
2167-#ifdef JP
2168-info[i++] = "あなたは音波の衝撃への耐性を持っている。";
2169-#else
2170- info[i++] = "You are resistant to sonic attacks.";
2171-#endif
2172-
2143+ info[i++] = _("あなたは音波の衝撃への耐性を持っている。", "You are resistant to sonic attacks.");
21732144 }
21742145 if (p_ptr->resist_disen)
21752146 {
2176-#ifdef JP
2177-info[i++] = "あなたは劣化への耐性を持っている。";
2178-#else
2179- info[i++] = "You are resistant to disenchantment.";
2180-#endif
2181-
2147+ info[i++] = _("あなたは劣化への耐性を持っている。", "You are resistant to disenchantment.");
21822148 }
21832149 if (p_ptr->resist_chaos)
21842150 {
2185-#ifdef JP
2186-info[i++] = "あなたはカオスの力への耐性を持っている。";
2187-#else
2188- info[i++] = "You are resistant to chaos.";
2189-#endif
2190-
2151+ info[i++] = _("あなたはカオスの力への耐性を持っている。", "You are resistant to chaos.");
21912152 }
21922153 if (p_ptr->resist_shard)
21932154 {
2194-#ifdef JP
2195-info[i++] = "あなたは破片の攻撃への耐性を持っている。";
2196-#else
2197- info[i++] = "You are resistant to blasts of shards.";
2198-#endif
2199-
2155+ info[i++] = _("あなたは破片の攻撃への耐性を持っている。", "You are resistant to blasts of shards.");
22002156 }
22012157 if (p_ptr->resist_nexus)
22022158 {
2203-#ifdef JP
2204-info[i++] = "あなたは因果混乱の攻撃への耐性を持っている。";
2205-#else
2206- info[i++] = "You are resistant to nexus attacks.";
2207-#endif
2208-
2159+ info[i++] = _("あなたは因果混乱の攻撃への耐性を持っている。", "You are resistant to nexus attacks.");
22092160 }
22102161
22112162 if (prace_is_(RACE_SPECTRE))
22122163 {
2213-#ifdef JP
2214-info[i++] = "あなたは地獄の力を吸収できる。";
2215-#else
2216- info[i++] = "You can drain nether forces.";
2217-#endif
2218-
2164+ info[i++] = _("あなたは地獄の力を吸収できる。", "You can drain nether forces.");
22192165 }
22202166 else if (p_ptr->resist_neth)
22212167 {
2222-#ifdef JP
2223-info[i++] = "あなたは地獄の力への耐性を持っている。";
2224-#else
2225- info[i++] = "You are resistant to nether forces.";
2226-#endif
2227-
2168+ info[i++] = _("あなたは地獄の力への耐性を持っている。", "You are resistant to nether forces.");
22282169 }
22292170 if (p_ptr->resist_fear)
22302171 {
2231-#ifdef JP
2232-info[i++] = "あなたは全く恐怖を感じない。";
2233-#else
2234- info[i++] = "You are completely fearless.";
2235-#endif
2236-
2172+ info[i++] = _("あなたは全く恐怖を感じない。", "You are completely fearless.");
22372173 }
22382174 if (p_ptr->resist_blind)
22392175 {
2240-#ifdef JP
2241-info[i++] = "あなたの目は盲目への耐性を持っている。";
2242-#else
2243- info[i++] = "Your eyes are resistant to blindness.";
2244-#endif
2245-
2176+ info[i++] = _("あなたの目は盲目への耐性を持っている。", "Your eyes are resistant to blindness.");
22462177 }
22472178 if (p_ptr->resist_time)
22482179 {
2249-#ifdef JP
2250-info[i++] = "あなたは時間逆転への耐性を持っている。";
2251-#else
2252- info[i++] = "You are resistant to time.";
2253-#endif
2254-
2180+ info[i++] = _("あなたは時間逆転への耐性を持っている。", "You are resistant to time.");
22552181 }
22562182
22572183 if (p_ptr->sustain_str)
Show on old repository browser