ibft/logging: don't localize logging stagements
We don't localize any other nm-logging messages either.
This commit is contained in:
@@ -63,7 +63,7 @@ read_connections (SCPluginIbft *self)
|
|||||||
NMIbftConnection *connection;
|
NMIbftConnection *connection;
|
||||||
|
|
||||||
if (!read_ibft_blocks ("/sbin/iscsiadm", &blocks, &error)) {
|
if (!read_ibft_blocks ("/sbin/iscsiadm", &blocks, &error)) {
|
||||||
nm_log_dbg (LOGD_SETTINGS, _("ibft: failed to read iscsiadm records: %s"), error->message);
|
nm_log_dbg (LOGD_SETTINGS, "ibft: failed to read iscsiadm records: %s", error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -71,13 +71,13 @@ read_connections (SCPluginIbft *self)
|
|||||||
for (iter = blocks; iter; iter = iter->next) {
|
for (iter = blocks; iter; iter = iter->next) {
|
||||||
connection = nm_ibft_connection_new (iter->data, &error);
|
connection = nm_ibft_connection_new (iter->data, &error);
|
||||||
if (connection) {
|
if (connection) {
|
||||||
nm_log_info (LOGD_SETTINGS, _("ibft: read connection '%s'"),
|
nm_log_info (LOGD_SETTINGS, "ibft: read connection '%s'",
|
||||||
nm_connection_get_id (NM_CONNECTION (connection)));
|
nm_connection_get_id (NM_CONNECTION (connection)));
|
||||||
g_hash_table_insert (priv->connections,
|
g_hash_table_insert (priv->connections,
|
||||||
g_strdup (nm_connection_get_uuid (NM_CONNECTION (connection))),
|
g_strdup (nm_connection_get_uuid (NM_CONNECTION (connection))),
|
||||||
connection);
|
connection);
|
||||||
} else {
|
} else {
|
||||||
nm_log_warn (LOGD_SETTINGS, _("ibft: failed to read iscsiadm record: %s"), error->message);
|
nm_log_warn (LOGD_SETTINGS, "ibft: failed to read iscsiadm record: %s", error->message);
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user