summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-24 19:07:46 +0200
committerThomas Haller <thaller@redhat.com>2014-07-28 00:10:06 +0200
commit7bbdda6612933b3b5822d04197235f9f6ec82eea (patch)
treef1565e572f2e26dd9098f973b946228cf022c822
parentaa2deb4d75619acd11fb1ba542cc6f212b2bdf79 (diff)
downloadNetworkManager-th/bgo696936_normalize_settings-1.tar.gz
fixup! libnm-util: make failure cases for nm_connection_normalize() more robust against bugsth/bgo696936_normalize_settings-1
-rw-r--r--libnm-util/nm-connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-util/nm-connection.c b/libnm-util/nm-connection.c
index 1fd7d65d89..ef5a5e3e14 100644
--- a/libnm-util/nm-connection.c
+++ b/libnm-util/nm-connection.c
@@ -967,7 +967,7 @@ nm_connection_normalize (NMConnection *connection,
g_set_error_literal (error,
NM_CONNECTION_ERROR,
NM_CONNECTION_ERROR_UNKNOWN,
- "Unexpected failure to verify the connection");
+ _("Unexpected failure to verify the connection"));
g_return_val_if_reached (FALSE);
}
return success == NM_SETTING_VERIFY_SUCCESS;
@@ -998,7 +998,7 @@ nm_connection_normalize (NMConnection *connection,
g_set_error_literal (error,
NM_CONNECTION_ERROR,
NM_CONNECTION_ERROR_UNKNOWN,
- "Unexpected failure to normalize the connection");
+ _("Unexpected failure to normalize the connection"));
}
g_return_val_if_reached (FALSE);
}