Use better english by alayan

This commit is contained in:
Benau 2019-01-05 02:39:51 +08:00
parent 94a0988a71
commit c7449d0a7f
3 changed files with 9 additions and 4 deletions

View File

@ -967,8 +967,8 @@ void ClientLobby::backToLobby(Event *event)
switch ((BackLobbyReason)data.getUInt8()) // the second byte
{
case BLR_NO_GAME_FOR_LIVE_JOIN:
// I18N: Error message shown if live join failed in network
msg = _("No more game is available for live join or spectating.");
// I18N: Error message shown if live join or spectate failed in network
msg = _("The game has ended, you can't live join or spectate anymore.");
break;
case BLR_NO_PLACE_FOR_LIVE_JOIN:
// I18N: Error message shown if live join failed in network

View File

@ -74,6 +74,8 @@ RaceGUIBase::RaceGUIBase()
// I18N: Shown waiting for other players in network to finish loading or
// waiting
m_string_waiting_for_others = _("Waiting for others");
// I18N: Shown waiting for the server in network if live join or specatate
m_string_waiting_for_the_server = _("Waiting for the server");
m_music_icon = irr_driver->getTexture("notes.png");
if (!m_music_icon)
@ -651,7 +653,10 @@ void RaceGUIBase::drawGlobalReadySetGo()
case WorldStatus::WAIT_FOR_SERVER_PHASE:
{
font->draw(StringUtils::loadingDots(
m_string_waiting_for_others.c_str()), pos, color, true, true);
World::getWorld()->isLiveJoinWorld() ?
m_string_waiting_for_the_server.c_str() :
m_string_waiting_for_others.c_str()
), pos, color, true, true);
}
break;
case WorldStatus::READY_PHASE:

View File

@ -134,7 +134,7 @@ private:
/** Translated strings 'ready', 'set', 'go'. */
core::stringw m_string_ready, m_string_set, m_string_go, m_string_goal,
m_string_waiting_for_others;
m_string_waiting_for_others, m_string_waiting_for_the_server;
/** The position of the referee for all karts. */
std::vector<Vec3> m_referee_pos;