aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-18 13:38:54 +0200
committerGitHub <noreply@github.com>2022-04-18 13:38:54 +0200
commitfd7745cbebf55f5bcfccc16500fff0e67a789169 (patch)
tree75e4a68449c9c3ca5a4a2aaca5468b9c05420e61 /launcher/ui/pages/modplatform/modrinth
parentc348de96e44ed5deb31993cdf7ce2ab5306b3e88 (diff)
parentfcbf37f60fd872884a59fc11233e87e47029e1c9 (diff)
downloadPrismLauncher-fd7745cbebf55f5bcfccc16500fff0e67a789169.tar.gz
PrismLauncher-fd7745cbebf55f5bcfccc16500fff0e67a789169.tar.bz2
PrismLauncher-fd7745cbebf55f5bcfccc16500fff0e67a789169.zip
Merge pull request #442 from kthchew/fix/typos
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp
index ddaf96e2..12aee51b 100644
--- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp
+++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp
@@ -46,14 +46,14 @@ ModrinthPage::ModrinthPage(ModDownloadDialog* dialog, BaseInstance* instance)
ui->packView->setModel(listModel);
// index is used to set the sorting with the modrinth api
- ui->sortByBox->addItem(tr("Sort by Relevence"));
+ ui->sortByBox->addItem(tr("Sort by Relevance"));
ui->sortByBox->addItem(tr("Sort by Downloads"));
ui->sortByBox->addItem(tr("Sort by Follows"));
- ui->sortByBox->addItem(tr("Sort by last updated"));
- ui->sortByBox->addItem(tr("Sort by newest"));
+ ui->sortByBox->addItem(tr("Sort by Last Updated"));
+ ui->sortByBox->addItem(tr("Sort by Newest"));
// sometimes Qt just ignores virtual slots and doesn't work as intended it seems,
- // so it's best not to connect them in the parent's contructor...
+ // so it's best not to connect them in the parent's constructor...
connect(ui->sortByBox, SIGNAL(currentIndexChanged(int)), this, SLOT(triggerSearch()));
connect(ui->packView->selectionModel(), &QItemSelectionModel::currentChanged, this, &ModrinthPage::onSelectionChanged);
connect(ui->versionSelectionBox, &QComboBox::currentTextChanged, this, &ModrinthPage::onVersionSelectionChanged);