diff --git a/applets/pager/package/contents/ui/main.qml b/applets/pager/package/contents/ui/main.qml --- a/applets/pager/package/contents/ui/main.qml +++ b/applets/pager/package/contents/ui/main.qml @@ -307,6 +307,7 @@ function updateSubText() { var generateWindowList = function windowList(windows) { + // if we have 5 windows, we would show "4 and another one" with the // hint that there's 1 more taking the same amount of space than just showing it var maximum = windows.length === 5 ? 5 : 4 @@ -337,7 +338,9 @@ } } - if (visibleWindows.length) { + if (visibleWindows.length === 1) { + text += visibleWindows[0] + } else if (visibleWindows.length > 1) { text += i18np("%1 Window:", "%1 Windows:", visibleWindows.length) + generateWindowList(visibleWindows) }