Commit fc3f3299 authored by Florian Müllner's avatar Florian Müllner

mainWindow: Use ngettext for plural string

Commit afa37a11 added a more descriptive accessible name for the
user-list button, but marked it incorrectly for translation - use the
correct gettext function to allow correct translations according to the
locale's plural rules.
parent 3bb848c6
......@@ -301,7 +301,8 @@ const MainWindow = new Lang.Class({
numMembers =;
let accessibleName = _("%d users".format(numMembers));
let accessibleName = ngettext("%d user",
"%d users", numMembers).format(numMembers);
this._showUserListButton.label = '%d'.format(numMembers);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment