Fixed some Forge typos in dialogs. Fixes #940
This commit is contained in:
parent
4c6edc9fd4
commit
1271188019
@ -336,7 +336,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
void executeTask() override
|
void executeTask() override
|
||||||
{
|
{
|
||||||
setStatus(tr("Installing forge..."));
|
setStatus(tr("Installing Forge..."));
|
||||||
ForgeVersionPtr forgeVersion = std::dynamic_pointer_cast<ForgeVersion>(m_version);
|
ForgeVersionPtr forgeVersion = std::dynamic_pointer_cast<ForgeVersion>(m_version);
|
||||||
if (!forgeVersion)
|
if (!forgeVersion)
|
||||||
{
|
{
|
||||||
@ -352,8 +352,8 @@ protected:
|
|||||||
{
|
{
|
||||||
if (!install(entry, forgeVersion))
|
if (!install(entry, forgeVersion))
|
||||||
{
|
{
|
||||||
qCritical() << "Failure installing forge";
|
qCritical() << "Failure installing Forge";
|
||||||
emitFailed(tr("Failure to install forge"));
|
emitFailed(tr("Failure to install Forge"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -385,7 +385,7 @@ protected:
|
|||||||
connect(fjob, &NetJob::status, [this](const QString & msg)
|
connect(fjob, &NetJob::status, [this](const QString & msg)
|
||||||
{ setStatus(msg); });
|
{ setStatus(msg); });
|
||||||
connect(fjob, &NetJob::failed, [this](QString reason)
|
connect(fjob, &NetJob::failed, [this](QString reason)
|
||||||
{ emitFailed(tr("Failure to download forge:\n%1").arg(reason)); });
|
{ emitFailed(tr("Failure to download Forge:\n%1").arg(reason)); });
|
||||||
connect(fjob, &NetJob::succeeded, installFunction);
|
connect(fjob, &NetJob::succeeded, installFunction);
|
||||||
fjob->start();
|
fjob->start();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user