Rename label (#5232)

This commit is contained in:
tooomm 2024-12-09 02:23:27 +01:00 committed by GitHub
parent e4cfe08113
commit 3b49cbf73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -192,7 +192,7 @@ void ZoneViewWidget::retranslateUi()
{ // We can't change the strings after they're put into the QComboBox, so this is our workaround { // We can't change the strings after they're put into the QComboBox, so this is our workaround
int oldIndex = groupBySelector.currentIndex(); int oldIndex = groupBySelector.currentIndex();
groupBySelector.clear(); groupBySelector.clear();
groupBySelector.addItem(tr("Group by ---"), CardList::NoSort); groupBySelector.addItem(tr("Ungrouped"), CardList::NoSort);
groupBySelector.addItem(tr("Group by Type"), CardList::SortByMainType); groupBySelector.addItem(tr("Group by Type"), CardList::SortByMainType);
groupBySelector.addItem(tr("Group by Mana Value"), CardList::SortByManaValue); groupBySelector.addItem(tr("Group by Mana Value"), CardList::SortByManaValue);
groupBySelector.addItem(tr("Group by Color"), CardList::SortByColorGrouping); groupBySelector.addItem(tr("Group by Color"), CardList::SortByColorGrouping);
@ -202,7 +202,7 @@ void ZoneViewWidget::retranslateUi()
{ {
int oldIndex = sortBySelector.currentIndex(); int oldIndex = sortBySelector.currentIndex();
sortBySelector.clear(); sortBySelector.clear();
sortBySelector.addItem(tr("Sort by ---"), CardList::NoSort); sortBySelector.addItem(tr("Unsorted"), CardList::NoSort);
sortBySelector.addItem(tr("Sort by Name"), CardList::SortByName); sortBySelector.addItem(tr("Sort by Name"), CardList::SortByName);
sortBySelector.addItem(tr("Sort by Type"), CardList::SortByType); sortBySelector.addItem(tr("Sort by Type"), CardList::SortByType);
sortBySelector.addItem(tr("Sort by Mana Cost"), CardList::SortByManaCost); sortBySelector.addItem(tr("Sort by Mana Cost"), CardList::SortByManaCost);