fix翻译
This commit is contained in:
parent
0e53ed004b
commit
9b3fb69702
@ -134,7 +134,7 @@ void CGameControllerDDRace::OnPlayerConnect(CPlayer *pPlayer)
|
||||
if(!Server()->ClientPrevIngame(ClientID))
|
||||
{
|
||||
char aBuf[512];
|
||||
str_format(aBuf, sizeof(aBuf), "'%s' 已加入 %s", Server()->ClientName(ClientID), GetTeamName(pPlayer->GetTeam()));
|
||||
str_format(aBuf, sizeof(aBuf), "'%s' 已加入游戏", Server()->ClientName(ClientID));
|
||||
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf, -1, CGameContext::CHAT_SIX);
|
||||
}
|
||||
}
|
||||
|
@ -650,7 +650,7 @@ void CGameTeams::OnTeamFinish(CPlayer **Players, unsigned int Size, float Time,
|
||||
{
|
||||
SetForceCharacterTeam(Players[i]->GetCID(), TEAM_FLOCK);
|
||||
char aBuf[512];
|
||||
str_format(aBuf, sizeof(aBuf), "%s joined team 0",
|
||||
str_format(aBuf, sizeof(aBuf), "%s 已加入队伍 0",
|
||||
GameServer()->Server()->ClientName(Players[i]->GetCID()));
|
||||
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf);
|
||||
}
|
||||
@ -672,7 +672,7 @@ void CGameTeams::OnFinish(CPlayer *Player, float Time, const char *pTimestamp)
|
||||
SetLastTimeCp(Player, -1);
|
||||
// Note that the "finished in" message is parsed by the client
|
||||
str_format(aBuf, sizeof(aBuf),
|
||||
"%s finished in: %d minute(s) %5.2f second(s)",
|
||||
"%s 已完成! 用时: %d 分 %5.2f 秒",
|
||||
Server()->ClientName(ClientID), (int)Time / 60,
|
||||
Time - ((int)Time / 60 * 60));
|
||||
if(g_Config.m_SvHideScore || !g_Config.m_SvSaveWorseScores)
|
||||
@ -688,10 +688,10 @@ void CGameTeams::OnFinish(CPlayer *Player, float Time, const char *pTimestamp)
|
||||
Server()->SaveDemo(ClientID, Time);
|
||||
|
||||
if(Diff >= 60)
|
||||
str_format(aBuf, sizeof(aBuf), "New record: %d minute(s) %5.2f second(s) better.",
|
||||
str_format(aBuf, sizeof(aBuf), "新纪录: %d 分 %5.2f 秒",
|
||||
(int)Diff / 60, Diff - ((int)Diff / 60 * 60));
|
||||
else
|
||||
str_format(aBuf, sizeof(aBuf), "New record: %5.2f second(s) better.",
|
||||
str_format(aBuf, sizeof(aBuf), "新纪录: %5.2f 秒",
|
||||
Diff);
|
||||
if(g_Config.m_SvHideScore || !g_Config.m_SvSaveWorseScores)
|
||||
GameServer()->SendChatTarget(ClientID, aBuf, CGameContext::CHAT_SIX);
|
||||
@ -705,16 +705,16 @@ void CGameTeams::OnFinish(CPlayer *Player, float Time, const char *pTimestamp)
|
||||
if(Diff <= 0.005f)
|
||||
{
|
||||
GameServer()->SendChatTarget(ClientID,
|
||||
"You finished with your best time.");
|
||||
"你完成了,你的最佳记录");
|
||||
}
|
||||
else
|
||||
{
|
||||
if(Diff >= 60)
|
||||
str_format(aBuf, sizeof(aBuf), "%d minute(s) %5.2f second(s) worse, better luck next time.",
|
||||
str_format(aBuf, sizeof(aBuf), "%d 分 %5.2f 秒 似乎不是很好,再接再厉!",
|
||||
(int)Diff / 60, Diff - ((int)Diff / 60 * 60));
|
||||
else
|
||||
str_format(aBuf, sizeof(aBuf),
|
||||
"%5.2f second(s) worse, better luck next time.",
|
||||
"%5.2f 秒 似乎不是很好,再接再厉",
|
||||
Diff);
|
||||
GameServer()->SendChatTarget(ClientID, aBuf, CGameContext::CHAT_SIX); // this is private, sent only to the tee
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user