Update format strings
This commit is contained in:
parent
0c27e756f7
commit
6e85cde978
19 changed files with 159 additions and 159 deletions
|
|
@ -261,14 +261,14 @@ static void multi_player_left_msg(int pnum, bool left)
|
|||
delta_close_portal(pnum);
|
||||
RemovePlrMissiles(pnum);
|
||||
if (left) {
|
||||
pszFmt = _("Player '%s' just left the game");
|
||||
pszFmt = _("Player '{:s}' just left the game");
|
||||
switch (sgdwPlayerLeftReasonTbl[pnum]) {
|
||||
case LEAVE_ENDING:
|
||||
pszFmt = _("Player '%s' killed Diablo and left the game!");
|
||||
pszFmt = _("Player '{:s}' killed Diablo and left the game!");
|
||||
gbSomebodyWonGameKludge = true;
|
||||
break;
|
||||
case LEAVE_DROP:
|
||||
pszFmt = _("Player '%s' dropped due to timeout");
|
||||
pszFmt = _("Player '{:s}' dropped due to timeout");
|
||||
break;
|
||||
}
|
||||
EventPlrMsg(pszFmt, plr[pnum]._pName);
|
||||
|
|
@ -858,9 +858,9 @@ void recv_plrinfo(int pnum, TCmdPlrInfoHdr *p, bool recv)
|
|||
gbActivePlayers++;
|
||||
|
||||
if (sgbPlayerTurnBitTbl[pnum]) {
|
||||
szEvent = _("Player '%s' (level %i) just joined the game");
|
||||
szEvent = _("Player '{:s}' (level {:d}) just joined the game");
|
||||
} else {
|
||||
szEvent = _("Player '%s' (level %i) is already in the game");
|
||||
szEvent = _("Player '{:s}' (level {:d}) is already in the game");
|
||||
}
|
||||
EventPlrMsg(fmt::format(szEvent, plr[pnum]._pName, plr[pnum]._pLevel).c_str());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue