Skip to content

Commit

Permalink
UI: Add the "points" unit in some RA-related strings (#10917)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarmfulBreeze authored Mar 17, 2024
1 parent 4d2b2e5 commit d1bff18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pcsx2-qt/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
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);
}

Expand Down
2 changes: 1 addition & 1 deletion pcsx2/Achievements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ void Achievements::ShowLoginSuccess(const rc_client_t* client)

//: Summary for login notification.
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);

MTGS::RunOnGSThread([title = std::move(title), summary = std::move(summary), badge_path = std::move(badge_path)]() {
Expand Down

0 comments on commit d1bff18

Please sign in to comment.