Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/common/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void Application::init()

UIHelpers::warning(tr("Failed to authenticate with BrickLink using access token <tt>%1</tt>")
.arg(safeToken) + u"<br><b>" + error + u"</b><br><br>" +
tr("Most likely your token has expired: click <i>Retry</i> to open Settings and renew your token."),
tr("Most likely your token has expired: you can click <i>Retry</i> to open Settings and renew it."),
UIHelpers::StandardButton::Ok | UIHelpers::StandardButton::Retry,
UIHelpers::StandardButton::Ok)
.then([](UIHelpers::StandardButton btn) {
Expand Down
5 changes: 3 additions & 2 deletions src/common/currency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,9 @@ QCoro::Task<> Currency::updateRates(bool silent)
newRates.insert(p.rateProvider, rates);
} catch (const Exception &e) {
if (OnlineState::inst()->isOnline() && !m_silent) {
emit updateRatesFailed(tr("Failed to download exchange rates. <a href='%2'>%1</a>:")
.arg(p.name, p.homepageUrl) + u"<br>" + e.errorString());
emit updateRatesFailed(tr("Failed to download exchange rates.")
+ u"<a href='%2'>%1</a>:"_qs.arg(p.name, p.homepageUrl)
+ u"<br>" + e.errorString());
}
}
}
Expand Down
Loading