Use %n to make the plural forms work properly

pull/1774/head
Integral 4 months ago
parent 01cc12fede
commit aac96d6f50
No known key found for this signature in database
GPG Key ID: 06313911057DD5A8
  1. 2
      src/TrayIcon.cpp

@ -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…
Cancel
Save