Display warning if no quicksave slot is found
parent
d63ed865f4
commit
75d9f8573b
|
@ -1527,6 +1527,9 @@ msgstr ""
|
|||
msgid "Inappropriate bot"
|
||||
msgstr ""
|
||||
|
||||
msgid "Quicksave slot not found"
|
||||
msgstr ""
|
||||
|
||||
msgid "Building completed"
|
||||
msgstr ""
|
||||
|
||||
|
|
7
po/de.po
7
po/de.po
|
@ -1211,6 +1211,10 @@ msgstr ""
|
|||
msgid "Quick save\\Immediately save game"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Quicksave slot not found"
|
||||
msgstr "Das Objekt existiert nicht"
|
||||
|
||||
msgid "Quit\\Quit Colobot: Gold Edition"
|
||||
msgstr "Beenden\\Colobot: Gold Edition schließen"
|
||||
|
||||
|
@ -1939,9 +1943,6 @@ msgstr "epsitec.com"
|
|||
#~ msgid "Num of decorative objects\\Number of purely ornamental objects"
|
||||
#~ msgstr "Anzahl Ziergegenstände\\Anzahl Gegenstände ohne Funktion"
|
||||
|
||||
#~ msgid "Object not found"
|
||||
#~ msgstr "Das Objekt existiert nicht"
|
||||
|
||||
#~ msgid "Planets and stars\\Astronomical objects in the sky"
|
||||
#~ msgstr "Planeten und Sterne\\Kreisende Planeten und Sterne"
|
||||
|
||||
|
|
7
po/fr.po
7
po/fr.po
|
@ -1208,6 +1208,10 @@ msgstr ""
|
|||
msgid "Quick save\\Immediately save game"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Quicksave slot not found"
|
||||
msgstr "Objet n'existe pas"
|
||||
|
||||
msgid "Quit\\Quit Colobot: Gold Edition"
|
||||
msgstr "Quitter\\Quitter Colobot : Édition Gold"
|
||||
|
||||
|
@ -1941,9 +1945,6 @@ msgstr "epsitec.com"
|
|||
#~ msgid "Num of decorative objects\\Number of purely ornamental objects"
|
||||
#~ msgstr "Nb d'objets décoratifs\\Qualité d'objets non indispensables"
|
||||
|
||||
#~ msgid "Object not found"
|
||||
#~ msgstr "Objet n'existe pas"
|
||||
|
||||
#~ msgid "Planets and stars\\Astronomical objects in the sky"
|
||||
#~ msgstr "Planètes et étoiles\\Motifs mobiles dans le ciel"
|
||||
|
||||
|
|
3
po/pl.po
3
po/pl.po
|
@ -1194,6 +1194,9 @@ msgstr "Szybkie wczytywanie\\Natychmiastowo wczytuje zapisaną grę"
|
|||
msgid "Quick save\\Immediately save game"
|
||||
msgstr "Szybki zapis\\Natychmiastowo zapisuje grę"
|
||||
|
||||
msgid "Quicksave slot not found"
|
||||
msgstr "Nie odnaleziono slotu szybkiego zapisu"
|
||||
|
||||
msgid "Quit\\Quit Colobot: Gold Edition"
|
||||
msgstr "Wyjdź\\Kończy grę Colobot: Gold Edition"
|
||||
|
||||
|
|
7
po/ru.po
7
po/ru.po
|
@ -1220,6 +1220,10 @@ msgstr ""
|
|||
msgid "Quick save\\Immediately save game"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgid "Quicksave slot not found"
|
||||
msgstr "Объект не найден"
|
||||
|
||||
msgid "Quit\\Quit Colobot: Gold Edition"
|
||||
msgstr "Выход\\Выйти из Colobot: Gold Edition"
|
||||
|
||||
|
@ -1951,9 +1955,6 @@ msgstr "epsitec.com"
|
|||
#~ msgid "Num of decorative objects\\Number of purely ornamental objects"
|
||||
#~ msgstr "Количество декораций\\Количество декоративных объектов"
|
||||
|
||||
#~ msgid "Object not found"
|
||||
#~ msgstr "Объект не найден"
|
||||
|
||||
#~ msgid "Planets and stars\\Astronomical objects in the sky"
|
||||
#~ msgstr "Планеты и звезды\\Астрономические объекты в небе"
|
||||
|
||||
|
|
|
@ -112,6 +112,7 @@ enum Error
|
|||
ERR_PROHIBITEDTOKEN = 801, //!< instruction prohibited
|
||||
ERR_AIM_IMPOSSIBLE = 900, //!< cannot aim at specified angle(s)
|
||||
ERR_WRONG_BOT = 910, //!< inappropriate bot
|
||||
ERR_NO_QUICK_SLOT = 920, //!< quicksave slot not found
|
||||
|
||||
INFO_FIRST = 10000, //! < first information
|
||||
INFO_BUILD = 10001, //! < construction builded
|
||||
|
|
|
@ -641,6 +641,7 @@ void InitializeRestext()
|
|||
stringsErr[ERR_DELETEBUILDING] = TR("Building destroyed");
|
||||
stringsErr[ERR_ENEMY_OBJECT] = TR("Unable to control enemy objects");
|
||||
stringsErr[ERR_WRONG_BOT] = TR("Inappropriate bot");
|
||||
stringsErr[ERR_NO_QUICK_SLOT] = TR("Quicksave slot not found");
|
||||
|
||||
stringsErr[INFO_BUILD] = TR("Building completed");
|
||||
stringsErr[INFO_CONVERT] = TR("Titanium available");
|
||||
|
|
|
@ -5575,6 +5575,7 @@ void CRobotMain::QuickLoad()
|
|||
std::string dir = m_playerProfile->GetSaveFile(std::string("quicksave"));
|
||||
if(!CResourceManager::Exists(dir))
|
||||
{
|
||||
m_displayText->DisplayError(ERR_NO_QUICK_SLOT, Math::Vector(0.0f,0.0f,0.0f), 15.0f, 60.0f, 1000.0f);
|
||||
GetLogger()->Debug("Quicksave slot not found\n");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue