Remove unneeded . for fetching ranking message

This commit is contained in:
Benau 2018-08-17 14:08:42 +08:00
parent 4831caac77
commit 5104ffe0eb
2 changed files with 4 additions and 10 deletions

View File

@ -114,10 +114,8 @@ void NetworkUserDialog::onUpdate(float dt)
{
// I18N: In the network player dialog, showing when waiting for
// the result of the ranking info of a player
core::stringw fetching =
StringUtils::loadingDots(_("Fetching ranking info for %s.",
m_name));
m_info_widget->setText(fetching, false);
core::stringw msg = _("Fetching ranking info for %s", m_name);
m_info_widget->setText(StringUtils::loadingDots(msg.c_str()), false);
}
// It's unsafe to delete from inside the event handler so we do it here

View File

@ -137,12 +137,8 @@ void PlayerRankingsDialog::onUpdate(float dt)
{
if (*m_fetched_ranking == false)
{
// I18N: In the network player dialog, showing when waiting for
// the result of the ranking info of a player
core::stringw fetching =
StringUtils::loadingDots(_("Fetching ranking info for %s.",
m_name));
m_ranking_info->setText(fetching, false);
core::stringw msg = _("Fetching ranking info for %s", m_name);
m_ranking_info->setText(StringUtils::loadingDots(msg.c_str()), false);
}
// It's unsafe to delete from inside the event handler so we do it here