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.
This commit is contained in:
parent
e7a30dd468
commit
70399955a0
|
@ -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<int>(m_results.size())));
|
||||
m_match_table->setRowCount(static_cast<int>(m_results.size()));
|
||||
|
||||
if (m_results.empty())
|
||||
|
|
Loading…
Reference in New Issue