変愚蛮怒のメインリポジトリです
Revision | b68036598d03552c14e58b0fbb7dea247596b575 (tree) |
---|---|
Time | 2013-06-05 23:21:13 |
Author | dis- <dis-@0568...> |
Commiter | dis- |
replace some #ifdef JP macros at self_knowledge
@@ -1827,7 +1827,7 @@ info[i++] = " | ||
1827 | 1827 | } |
1828 | 1828 | if (p_ptr->cursed & TRC_FAST_DIGEST) |
1829 | 1829 | { |
1830 | - info[i++] = _("あなたはすぐお腹がへる。", info[i++] = "You have a good appetite."); | |
1830 | + info[i++] = _("あなたはすぐお腹がへる。", "You have a good appetite."); | |
1831 | 1831 | } |
1832 | 1832 | if (p_ptr->cursed & TRC_DRAIN_HP) |
1833 | 1833 | { |
@@ -2117,141 +2117,67 @@ info[i++] = " | ||
2117 | 2117 | |
2118 | 2118 | if (p_ptr->resist_lite) |
2119 | 2119 | { |
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."); | |
2126 | 2121 | } |
2127 | 2122 | |
2128 | 2123 | if (prace_is_(RACE_VAMPIRE) || prace_is_(RACE_S_FAIRY) || (p_ptr->mimic_form == MIMIC_VAMPIRE)) |
2129 | 2124 | { |
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."); | |
2136 | 2126 | } |
2137 | 2127 | |
2138 | 2128 | if (prace_is_(RACE_VAMPIRE) || (p_ptr->mimic_form == MIMIC_VAMPIRE) || p_ptr->wraith_form) |
2139 | 2129 | { |
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."); | |
2145 | 2131 | } |
2146 | 2132 | |
2147 | 2133 | else if (p_ptr->resist_dark) |
2148 | 2134 | { |
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."); | |
2155 | 2136 | } |
2156 | 2137 | if (p_ptr->resist_conf) |
2157 | 2138 | { |
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."); | |
2164 | 2140 | } |
2165 | 2141 | if (p_ptr->resist_sound) |
2166 | 2142 | { |
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."); | |
2173 | 2144 | } |
2174 | 2145 | if (p_ptr->resist_disen) |
2175 | 2146 | { |
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."); | |
2182 | 2148 | } |
2183 | 2149 | if (p_ptr->resist_chaos) |
2184 | 2150 | { |
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."); | |
2191 | 2152 | } |
2192 | 2153 | if (p_ptr->resist_shard) |
2193 | 2154 | { |
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."); | |
2200 | 2156 | } |
2201 | 2157 | if (p_ptr->resist_nexus) |
2202 | 2158 | { |
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."); | |
2209 | 2160 | } |
2210 | 2161 | |
2211 | 2162 | if (prace_is_(RACE_SPECTRE)) |
2212 | 2163 | { |
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."); | |
2219 | 2165 | } |
2220 | 2166 | else if (p_ptr->resist_neth) |
2221 | 2167 | { |
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."); | |
2228 | 2169 | } |
2229 | 2170 | if (p_ptr->resist_fear) |
2230 | 2171 | { |
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."); | |
2237 | 2173 | } |
2238 | 2174 | if (p_ptr->resist_blind) |
2239 | 2175 | { |
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."); | |
2246 | 2177 | } |
2247 | 2178 | if (p_ptr->resist_time) |
2248 | 2179 | { |
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."); | |
2255 | 2181 | } |
2256 | 2182 | |
2257 | 2183 | if (p_ptr->sustain_str) |