aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/ResourceFolderModel.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-03 06:33:37 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-20 14:56:33 -0700
commit458c2f38bc8e560832ca09b846edaa9ddc64f58d (patch)
tree96f0a6f804984582c8f4e4ccad4dc4ef05661c27 /launcher/minecraft/mod/ResourceFolderModel.cpp
parentdc5402349e8c65945d46f1539fd92823a05a391c (diff)
downloadPrismLauncher-458c2f38bc8e560832ca09b846edaa9ddc64f58d.tar.gz
PrismLauncher-458c2f38bc8e560832ca09b846edaa9ddc64f58d.tar.bz2
PrismLauncher-458c2f38bc8e560832ca09b846edaa9ddc64f58d.zip
cleanup: code review sugestions
clean up translation strings Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/mod/ResourceFolderModel.cpp')
-rw-r--r--launcher/minecraft/mod/ResourceFolderModel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/launcher/minecraft/mod/ResourceFolderModel.cpp b/launcher/minecraft/mod/ResourceFolderModel.cpp
index 95b7651f..29a0c736 100644
--- a/launcher/minecraft/mod/ResourceFolderModel.cpp
+++ b/launcher/minecraft/mod/ResourceFolderModel.cpp
@@ -424,12 +424,13 @@ QVariant ResourceFolderModel::data(const QModelIndex& index, int role) const
if (column == NAME_COLUMN) {
if (at(row).isSymLinkUnder(instDirPath())) {
return m_resources[row]->internal_id() +
- tr("\nWarning: This resource is symbolically linked from elsewhere. Editing it will also change the original") +
- tr("\nCanonical Path: %1").arg(at(row).fileinfo().canonicalFilePath());;
+ tr("\nWarning: This resource is symbolically linked from elsewhere. Editing it will also change the original."
+ "\nCanonical Path: %1")
+ .arg(at(row).fileinfo().canonicalFilePath());;
}
if (at(row).isMoreThanOneHardLink()) {
return m_resources[row]->internal_id() +
- tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the original");
+ tr("\nWarning: This resource is hard linked elsewhere. Editing it will also change the original.");
}
}