From 70399955a0fb98ca855ddae22d6f74cf3786631c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 24 Aug 2021 10:14:56 -0400 Subject: [PATCH] CheatsManager: Make use of plural variant of tr() Allows translators to specify different translations if the target languages have pluralization rules that differ from English. --- Source/Core/DolphinQt/CheatsManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/CheatsManager.cpp b/Source/Core/DolphinQt/CheatsManager.cpp index 1b626b968b..7c3e51a482 100644 --- a/Source/Core/DolphinQt/CheatsManager.cpp +++ b/Source/Core/DolphinQt/CheatsManager.cpp @@ -648,7 +648,7 @@ void CheatsManager::Update() return; } - m_result_label->setText(tr("%1 Match(es)").arg(m_results.size())); + m_result_label->setText(tr("%n Match(es)", "", static_cast(m_results.size()))); m_match_table->setRowCount(static_cast(m_results.size())); if (m_results.empty())