Update string (#2824)
* Change message * Update string in another file. * Update addons_manager.cpp * Update news_manager.cpp
This commit is contained in:
parent
553207fc11
commit
58a170b4b7
@ -101,7 +101,7 @@ void AddonsManager::init(const XMLNode *xml,
|
|||||||
{
|
{
|
||||||
file_manager->removeFile(filename);
|
file_manager->removeFile(filename);
|
||||||
setErrorState();
|
setErrorState();
|
||||||
NewsManager::get()->addNewsMessage(_("Can't access stkaddons server..."));
|
NewsManager::get()->addNewsMessage(_("Failed to connect to the SuperTuxKart add-ons server."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +319,7 @@ void NewsManager::updateNews(const XMLNode *xml, const std::string &filename)
|
|||||||
// a new read on the next start, instead of waiting
|
// a new read on the next start, instead of waiting
|
||||||
// for some time).
|
// for some time).
|
||||||
file_manager->removeFile(filename);
|
file_manager->removeFile(filename);
|
||||||
NewsMessage n(_("Can't access stkaddons server..."), -1);
|
NewsMessage n(_("Failed to connect to the SuperTuxKart add-ons server."), -1);
|
||||||
m_news.lock();
|
m_news.lock();
|
||||||
m_news.getData().push_back(n);
|
m_news.getData().push_back(n);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user