{
char *zz[4];
cptr rumor_msg = NULL;
- cptr rumor_eff = NULL;
+ cptr rumor_eff_format = NULL;
char fullname[1024] = "";
if (tokenize(Rumor + 2, 3, zz, TOKENIZE_CHECKQUOTE) == 3)
if (!max_dlv[d_idx])
{
max_dlv[d_idx] = d_ptr->mindepth;
-#ifdef JP
- rumor_eff = format("%s¤Ëµ¢´Ô¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", fullname);
-#else
- rumor_eff = format("You can recall to %s.", fullname);
-#endif
+ rumor_eff_format = _("%s¤Ëµ¢´Ô¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You can recall to %s.");
}
}
else if (strcmp(zz[0], "TOWN") == 0)
if ((t_idx != SECRET_TOWN) && !(p_ptr->visit & visit))
{
p_ptr->visit |= visit;
-#ifdef JP
- rumor_eff = format("%s¤Ë¹Ô¤Ã¤¿¤³¤È¤¬¤¢¤ëµ¤¤¬¤¹¤ë¡£", fullname);
-#else
- rumor_eff = format("You feel you have been to %s.", fullname);
-#endif
+ rumor_eff_format = _("%s¤Ë¹Ô¤Ã¤¿¤³¤È¤¬¤¢¤ëµ¤¤¬¤¹¤ë¡£", "You feel you have been to %s.");
}
}
rumor_msg = rumor_bind_name(zz[2], fullname);
msg_print(rumor_msg);
- if (rumor_eff)
+ if (rumor_eff_format)
{
msg_print(NULL);
- msg_print(rumor_eff);
+ msg_format(rumor_eff_format, fullname);
}
err = FALSE;
}