aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-06-24 15:59:55 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-06-24 15:59:55 +0300
commit8b576fd2bd442a61092de870b4323c280b04d2d6 (patch)
treeba0519e490c627d5d491cc4ff980921a84d29c41 /launcher
parent7fdd68d7682ea32404c07337b610365bcf4c7083 (diff)
downloadPrismLauncher-8b576fd2bd442a61092de870b4323c280b04d2d6.tar.gz
PrismLauncher-8b576fd2bd442a61092de870b4323c280b04d2d6.tar.bz2
PrismLauncher-8b576fd2bd442a61092de870b4323c280b04d2d6.zip
Added translation
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp2
-rw-r--r--launcher/modplatform/flame/FlameModIndex.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp b/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
index b1058ee6..f8ecdb33 100644
--- a/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
+++ b/launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
@@ -48,7 +48,7 @@ GetModDependenciesTask::GetModDependenciesTask(QObject* parent,
BaseInstance* instance,
ModFolderModel* folder,
QList<std::shared_ptr<PackDependency>> selected)
- : SequentialTask(parent, "Get dependencies")
+ : SequentialTask(parent, tr("Get dependencies"))
, m_selected(selected)
, m_flame_provider{ ModPlatform::ResourceProvider::FLAME, std::make_shared<ResourceDownload::FlameModModel>(*instance),
std::make_shared<FlameAPI>() }
diff --git a/launcher/modplatform/flame/FlameModIndex.cpp b/launcher/modplatform/flame/FlameModIndex.cpp
index 9c8eb832..227ce489 100644
--- a/launcher/modplatform/flame/FlameModIndex.cpp
+++ b/launcher/modplatform/flame/FlameModIndex.cpp
@@ -160,10 +160,9 @@ auto FlameMod::loadIndexedPackVersion(QJsonObject& obj, bool load_changelog) ->
case 6: // Include
dependency.type = ModPlatform::DependencyType::INCLUDE;
break;
- default:
+ default:
dependency.type = ModPlatform::DependencyType::UNKNOWN;
break;
-
}
file.dependencies.append(dependency);
}