Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran Rogers <fran@dumetella.net>2010-07-15 15:13:44 (GMT)
committer Fran Rogers <fran@dumetella.net>2010-07-15 15:13:44 (GMT)
commit612f60917242a0fd59953eece0a0c884a7b5d04b (patch)
tree6cf51b26336dffb52c75e9cc589f5c4b9bb01cba
parent5635e9e56468d02de79a1047e0c5e5c716f58671 (diff)
Replace string concatenation with %s in network icon
-rw-r--r--extensions/deviceicon/network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index 6f5a19a..611ef7d 100644
--- a/extensions/deviceicon/network.py
+++ b/extensions/deviceicon/network.py
@@ -672,8 +672,8 @@ class OlpcMeshDeviceView(ToolButton):
network.DEVICE_STATE_NEED_AUTH,
network.DEVICE_STATE_IP_CONFIG,
network.DEVICE_STATE_ACTIVATED):
- text = (_("Mesh Network") + " " +
- glib.markup_escape_text(str(self._channel)))
+ text = (_("Mesh Network %s") %
+ (glib.markup_escape_text(str(self._channel)),))
else:
text = _("Mesh Network")
self._palette.props.primary_text = text