summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorIntegral <integral@member.fsf.org>2024-07-28 00:57:25 +0800
committerIntegral <integral@member.fsf.org>2024-07-28 00:57:25 +0800
commitaac96d6f50aea7d3daf2875c92f2311fbb5e4e15 (patch)
tree78ef4e9f6451485028b820618c5b982e7c740b18 /src
parentAdd number of unread messages to tray icon toolIip (diff)
downloadnheko-aac96d6f50aea7d3daf2875c92f2311fbb5e4e15.tar.xz
Use %n to make the plural forms work properly
Diffstat (limited to 'src')
-rw-r--r--src/TrayIcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TrayIcon.cpp b/src/TrayIcon.cpp

index 776140f2..44bfb6ca 100644 --- a/src/TrayIcon.cpp +++ b/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);