Fix download assets instruction for Android TV

This commit is contained in:
Benau 2021-05-08 11:12:52 +08:00
parent 2cc16b4edb
commit 97994d66ed

View File

@ -29,6 +29,8 @@
#include "utils/string_utils.hpp"
#include "utils/translation.hpp"
#include <SDL_system.h>
using namespace GUIEngine;
using namespace Online;
using namespace irr::gui;
@ -107,6 +109,13 @@ DownloadAssets::DownloadAssets()
"(including high quality textures and music) for better "
"gaming experience, this will use your mobile data if you don't have "
"a wifi connection.");
if (SDL_IsAndroidTV())
{
// I18N: In download assets dialog
msg = _("SuperTuxKart will download full assets "
"(including high quality textures and music) for better "
"gaming experience.");
}
getWidget<BubbleWidget>("description")->setText(msg);
} // DownloadAssets