summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index a402967d7..040085b4b 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -461,7 +461,7 @@ void UpdaterWindow::loadPatch()
if (line != nullptr)
{
mBrowserBox->addRow(strprintf("##9 Latest client version: "
- "##6ManaPlus %s##0", line), true);
+ "##6ManaVerse %s##0", line), true);
}
}
if (version > CHECK_VERSION)
@@ -483,11 +483,11 @@ void UpdaterWindow::loadPatch()
branding.getStringValue(url)).append("|").append(
branding.getStringValue(text)).append("@@]"), true);
mBrowserBox->addRow("##1You can download it from", true);
- mBrowserBox->addRow("##1ManaPlus updated.", true);
+ mBrowserBox->addRow("##1ManaVerse updated.", true);
}
else
{
- mBrowserBox->addRow("You have latest client version.", true);
+ mBrowserBox->addRow("You have the latest client version.", true);
}
}
@@ -681,7 +681,7 @@ void UpdaterWindow::loadUpdates()
file.name,
Append_false);
}
- loadManaPlusUpdates(mUpdatesDir);
+ loadManaVerseUpdates(mUpdatesDir);
loadMods(mUpdatesDir, mUpdateFiles);
}
@@ -714,7 +714,7 @@ void UpdaterWindow::loadLocalUpdates(const std::string &dir)
file.name,
Append_false);
}
- loadManaPlusUpdates(dir);
+ loadManaVerseUpdates(dir);
loadMods(dir, updateFiles);
}
@@ -740,10 +740,10 @@ void UpdaterWindow::unloadUpdates(const std::string &dir)
fixPath,
updateFiles[updateIndex].name);
}
- unloadManaPlusUpdates(dir);
+ unloadManaVerseUpdates(dir);
}
-void UpdaterWindow::loadManaPlusUpdates(const std::string &dir)
+void UpdaterWindow::loadManaVerseUpdates(const std::string &dir)
{
std::string fixPath = dir + "/fix";
STD_VECTOR<UpdateFile> updateFiles = loadXMLFile(
@@ -759,7 +759,7 @@ void UpdaterWindow::loadManaPlusUpdates(const std::string &dir)
if (!file.group.empty())
continue;
const std::string name = file.name;
- if (strStartWith(name, "manaplus_"))
+ if (strStartWith(name, "manaverse_"))
{
struct stat statbuf;
std::string fileName = pathJoin(fixPath,
@@ -773,7 +773,7 @@ void UpdaterWindow::loadManaPlusUpdates(const std::string &dir)
}
}
-void UpdaterWindow::unloadManaPlusUpdates(const std::string &dir)
+void UpdaterWindow::unloadManaVerseUpdates(const std::string &dir)
{
const std::string fixPath = dir + "/fix";
const STD_VECTOR<UpdateFile> updateFiles = loadXMLFile(
@@ -786,7 +786,7 @@ void UpdaterWindow::unloadManaPlusUpdates(const std::string &dir)
updateIndex++)
{
std::string name = updateFiles[updateIndex].name;
- if (strStartWith(name, "manaplus_"))
+ if (strStartWith(name, "manaverse_"))
{
struct stat statbuf;
const std::string file = pathJoin(
@@ -1147,7 +1147,7 @@ void UpdaterWindow::loadMods(const std::string &dir,
if (file.group.empty())
continue;
std::string name = file.name;
- if (strStartWith(name, "manaplus_"))
+ if (strStartWith(name, "manaverse_"))
{
const std::set<std::string>::const_iterator
it = modsList.find(file.group);