summaryrefslogtreecommitdiffstats
path: root/logic/OneSixUpdate.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-12-23 15:46:01 +0000
committerSky <git@bunnies.cc>2013-12-23 15:48:26 +0000
commit027aafc3c1fc5e78c91ee439cd38562387f7ed9f (patch)
tree46213f92e72e0a78161a702bcb90ae8265f12d21 /logic/OneSixUpdate.cpp
parent86284196dead29b223b2d4ae1850f84dd9690f9b (diff)
downloadMultiMC-027aafc3c1fc5e78c91ee439cd38562387f7ed9f.tar
MultiMC-027aafc3c1fc5e78c91ee439cd38562387f7ed9f.tar.gz
MultiMC-027aafc3c1fc5e78c91ee439cd38562387f7ed9f.tar.lz
MultiMC-027aafc3c1fc5e78c91ee439cd38562387f7ed9f.tar.xz
MultiMC-027aafc3c1fc5e78c91ee439cd38562387f7ed9f.zip
Tidy status messages a bit
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r--logic/OneSixUpdate.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp
index 696eeff0..4d93477a 100644
--- a/logic/OneSixUpdate.cpp
+++ b/logic/OneSixUpdate.cpp
@@ -57,7 +57,7 @@ void OneSixUpdate::executeTask()
/*
* FIXME: in offline mode, do not proceed!
*/
- setStatus("Testing the Java installation.");
+ setStatus(tr("Testing the Java installation..."));
QString java_path = m_inst->settings().get("JavaPath").toString();
checker.reset(new JavaChecker());
@@ -89,7 +89,7 @@ void OneSixUpdate::executeTask()
void OneSixUpdate::checkJavaOnline()
{
- setStatus("Testing the Java installation.");
+ setStatus(tr("Testing the Java installation..."));
QString java_path = m_inst->settings().get("JavaPath").toString();
checker.reset(new JavaChecker());
@@ -128,7 +128,7 @@ void OneSixUpdate::checkFinishedOffline(JavaCheckResult result)
void OneSixUpdate::versionFileStart()
{
QLOG_INFO() << m_inst->name() << ": getting version file.";
- setStatus("Getting the version files from Mojang.");
+ setStatus(tr("Getting the version files from Mojang..."));
QString urlstr = "http://" + URLConstants::AWS_DOWNLOAD_VERSIONS + targetVersion->descriptor() + "/" + targetVersion->descriptor() + ".json";
auto job = new NetJob("Version index");
@@ -196,7 +196,7 @@ void OneSixUpdate::versionFileFailed()
void OneSixUpdate::assetIndexStart()
{
- setStatus("Updating asset index.");
+ setStatus(tr("Updating assets index..."));
OneSixInstance *inst = (OneSixInstance *)m_inst;
std::shared_ptr<OneSixVersion> version = inst->getFullVersion();
QString assetName = version->assets;
@@ -247,7 +247,7 @@ void OneSixUpdate::assetIndexFinished()
}
if(dls.size())
{
- setStatus("Getting the assets files from Mojang...");
+ setStatus(tr("Getting the assets files from Mojang..."));
auto job = new NetJob("Assets for " + inst->name());
for(auto dl: dls)
job->addNetAction(dl);
@@ -281,7 +281,7 @@ void OneSixUpdate::assetsFailed()
void OneSixUpdate::jarlibStart()
{
- setStatus("Getting the library files from Mojang.");
+ setStatus(tr("Getting the library files from Mojang..."));
QLOG_INFO() << m_inst->name() << ": downloading libraries";
OneSixInstance *inst = (OneSixInstance *)m_inst;
bool successful = inst->reloadFullVersion();
@@ -369,7 +369,7 @@ void OneSixUpdate::jarlibFailed()
void OneSixUpdate::prepareForLaunch()
{
- setStatus("Preparing for launch.");
+ setStatus(tr("Preparing for launch..."));
QLOG_INFO() << m_inst->name() << ": preparing for launch";
auto onesix_inst = (OneSixInstance *)m_inst;