Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make strings less confusing #1205

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions loader/src/ui/mods/list/ModList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ bool ModList::init(ModListSource* src, CCSize const& size) {

auto showErrorsSpr = createGeodeButton(
CCSprite::createWithSpriteFrameName("GJ_filterIcon_001.png"),
"Show Errors Only", GeodeButtonSprite::Delete
"Show Broken Mods", GeodeButtonSprite::Delete
);
auto hideErrorsSpr = createGeodeButton(
CCSprite::createWithSpriteFrameName("GJ_filterIcon_001.png"),
"Hide Errors Only", GeodeButtonSprite::Default
"Show All Mods", GeodeButtonSprite::Default
);
m_toggleErrorsOnlyBtn = CCMenuItemToggler::create(
showErrorsSpr, hideErrorsSpr, this, menu_selector(ModList::onToggleErrors)
Expand Down Expand Up @@ -487,14 +487,14 @@ void ModList::onCheckUpdates(typename server::ServerRequest<std::vector<std::str
if (mods.size() == 1) {
m_updateCountLabel->setString(fmt::format("There is <cg>{}</c> update available!", mods.size()));
m_updateAllSpr->setString("");
m_showUpdatesSpr->setString("Show Update");
m_hideUpdatesSpr->setString("Hide Update");
m_showUpdatesSpr->setString("Show Updateable Mod");
m_hideUpdatesSpr->setString("Show All Mods");
}
else {
m_updateCountLabel->setString(fmt::format("There are <cg>{}</c> updates available!", mods.size()));
m_updateAllSpr->setString("Update All");
m_showUpdatesSpr->setString("Show Updates");
m_hideUpdatesSpr->setString("Hide Updates");
m_updateAllSpr->setString("Update All Mods");
m_showUpdatesSpr->setString("Show Updateable Mods");
m_hideUpdatesSpr->setString("Show All Mods");
}

// Recreate the button with the updated label.
Expand Down