mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Use %n to make the plural forms work properly
This commit is contained in:
parent
01cc12fede
commit
aac96d6f50
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ TrayIcon::setUnreadCount(int count)
|
|||
|
||||
QString toolTip = QLatin1String("nheko");
|
||||
if (count > 0) {
|
||||
toolTip.append(tr("\n%1 unread message(s)").arg(count));
|
||||
toolTip.append(tr("\n%n unread message(s)", "", count));
|
||||
}
|
||||
|
||||
setToolTip(toolTip);
|
||||
|
|
Loading…
Reference in a new issue