status/network: Work around xgettext ignoring translated strings
xgettext quits parsing, when the "<"-operator follows the "++"-operator directly. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5820 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2613>
This commit is contained in:
parent
f323d85fc3
commit
35e2ac7a2a
@ -1223,7 +1223,9 @@ const NMWirelessDeviceItem = GObject.registerClass({
|
|||||||
const {network: net} = item;
|
const {network: net} = item;
|
||||||
item.visible =
|
item.visible =
|
||||||
(hasWindows || net.hasConnections() || net.canAutoconnect()) &&
|
(hasWindows || net.hasConnections() || net.canAutoconnect()) &&
|
||||||
nVisible++ < MAX_VISIBLE_NETWORKS;
|
nVisible < MAX_VISIBLE_NETWORKS;
|
||||||
|
if (item.visible)
|
||||||
|
nVisible++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user