[gnome-control-center] network: make "(none)" slaves (bond, team, bridge) translatable
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: make "(none)" slaves (bond, team, bridge) translatable
- Date: Fri, 10 Jan 2014 14:14:24 +0000 (UTC)
commit db34d8af633865aaf917bd10e2b948fc931d8d65
Author: Jiří Klimeš <jklimes redhat com>
Date: Tue Dec 17 15:00:43 2013 +0100
network: make "(none)" slaves (bond, team, bridge) translatable
Signed-off-by: Jiří Klimeš <jklimes redhat com>
https://bugzilla.gnome.org/show_bug.cgi?id=720312
panels/network/net-device-bond.c | 2 +-
panels/network/net-device-bridge.c | 2 +-
panels/network/net-device-team.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/network/net-device-bond.c b/panels/network/net-device-bond.c
index 5fea872..abf0829 100644
--- a/panels/network/net-device-bond.c
+++ b/panels/network/net-device-bond.c
@@ -99,7 +99,7 @@ nm_device_slaves_changed (GObject *object,
slaves = nm_device_bond_get_slaves (nm_device);
if (!slaves) {
- priv->slaves = g_strdup ("(none)");
+ priv->slaves = g_strdup (_("(none)"));
g_object_notify (G_OBJECT (device_bond), "slaves");
return;
}
diff --git a/panels/network/net-device-bridge.c b/panels/network/net-device-bridge.c
index ad850e9..16251e0 100644
--- a/panels/network/net-device-bridge.c
+++ b/panels/network/net-device-bridge.c
@@ -99,7 +99,7 @@ nm_device_slaves_changed (GObject *object,
slaves = nm_device_bridge_get_slaves (nm_device);
if (!slaves) {
- priv->slaves = g_strdup ("(none)");
+ priv->slaves = g_strdup (_("(none)"));
g_object_notify (G_OBJECT (device_bridge), "slaves");
return;
}
diff --git a/panels/network/net-device-team.c b/panels/network/net-device-team.c
index e22e04f..09a6142 100644
--- a/panels/network/net-device-team.c
+++ b/panels/network/net-device-team.c
@@ -99,7 +99,7 @@ nm_device_slaves_changed (GObject *object,
slaves = nm_device_team_get_slaves (nm_device);
if (!slaves) {
- priv->slaves = g_strdup ("(none)");
+ priv->slaves = g_strdup (_("(none)"));
g_object_notify (G_OBJECT (device_team), "slaves");
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]