mirror of https://github.com/PCSX2/pcsx2.git
UI: Add the "points" unit in some RA-related strings (#10917)
This commit is contained in:
parent
4d2b2e5803
commit
d1bff18e0c
|
@ -747,7 +747,7 @@ void MainWindow::onAchievementsLoginRequested(Achievements::LoginRequestReason r
|
||||||
void MainWindow::onAchievementsLoginSucceeded(const QString& display_name, quint32 points, quint32 sc_points, quint32 unread_messages)
|
void MainWindow::onAchievementsLoginSucceeded(const QString& display_name, quint32 points, quint32 sc_points, quint32 unread_messages)
|
||||||
{
|
{
|
||||||
const QString message =
|
const QString message =
|
||||||
tr("RA: Logged in as %1 (%2, %3 softcore). %4 unread messages.").arg(display_name).arg(points).arg(sc_points).arg(unread_messages);
|
tr("RA: Logged in as %1 (%2 pts, softcore: %3 pts). %4 unread messages.").arg(display_name).arg(points).arg(sc_points).arg(unread_messages);
|
||||||
m_ui.statusBar->showMessage(message);
|
m_ui.statusBar->showMessage(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1742,7 +1742,7 @@ void Achievements::ShowLoginSuccess(const rc_client_t* client)
|
||||||
|
|
||||||
//: Summary for login notification.
|
//: Summary for login notification.
|
||||||
std::string title = user->display_name;
|
std::string title = user->display_name;
|
||||||
std::string summary = fmt::format(TRANSLATE_FS("Achievements", "Score: {0} ({1} softcore)\nUnread messages: {2}"), user->score,
|
std::string summary = fmt::format(TRANSLATE_FS("Achievements", "Score: {0} pts (softcore: {1} pts)\nUnread messages: {2}"), user->score,
|
||||||
user->score_softcore, user->num_unread_messages);
|
user->score_softcore, user->num_unread_messages);
|
||||||
|
|
||||||
MTGS::RunOnGSThread([title = std::move(title), summary = std::move(summary), badge_path = std::move(badge_path)]() {
|
MTGS::RunOnGSThread([title = std::move(title), summary = std::move(summary), badge_path = std::move(badge_path)]() {
|
||||||
|
|
Loading…
Reference in New Issue