mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
maint: omit translation for all VIR_INFO
We were 31/73 on whether to translate; since less than 50% translated and since VIR_INFO is less than VIR_WARN which also doesn't translate, this makes sense. * cfg.mk (sc_prohibit_gettext_markup): Add VIR_INFO, since it falls between WARN and DEBUG. * daemon/libvirtd.c (qemudDispatchSignalEvent, remoteCheckAccess) (qemudDispatchServer): Adjust offenders. * daemon/remote.c (remoteDispatchAuthPolkit): Likewise. * src/network/bridge_driver.c (networkReloadIptablesRules) (networkStartNetworkDaemon, networkShutdownNetworkDaemon) (networkCreate, networkDefine, networkUndefine): Likewise. * src/qemu/qemu_driver.c (qemudDomainDefine) (qemudDomainUndefine): Likewise. * src/storage/storage_driver.c (storagePoolCreate) (storagePoolDefine, storagePoolUndefine, storagePoolStart) (storagePoolDestroy, storagePoolDelete, storageVolumeCreateXML) (storageVolumeCreateXMLFrom, storageVolumeDelete): Likewise. * src/util/bridge.c (brProbeVnetHdr): Likewise. * po/POTFILES.in: Drop src/util/bridge.c.
This commit is contained in:
@@ -2292,7 +2292,7 @@ remoteDispatchAuthPolkit(struct qemud_server *server,
|
||||
goto authfail;
|
||||
}
|
||||
|
||||
VIR_INFO(_("Checking PID %d running as %d"), callerPid, callerUid);
|
||||
VIR_INFO("Checking PID %d running as %d", callerPid, callerUid);
|
||||
|
||||
rv = snprintf(pidbuf, sizeof pidbuf, "%d", callerPid);
|
||||
if (rv < 0 || rv >= sizeof pidbuf) {
|
||||
@@ -2319,7 +2319,7 @@ remoteDispatchAuthPolkit(struct qemud_server *server,
|
||||
}
|
||||
PROBE(CLIENT_AUTH_ALLOW, "fd=%d, auth=%d, username=%s",
|
||||
client->fd, REMOTE_AUTH_POLKIT, (char *)ident);
|
||||
VIR_INFO(_("Policy allowed action %s from pid %d, uid %d"),
|
||||
VIR_INFO("Policy allowed action %s from pid %d, uid %d",
|
||||
action, callerPid, callerUid);
|
||||
ret->complete = 1;
|
||||
client->auth = REMOTE_AUTH_NONE;
|
||||
@@ -2390,7 +2390,7 @@ remoteDispatchAuthPolkit(struct qemud_server *server,
|
||||
goto authfail;
|
||||
}
|
||||
|
||||
VIR_INFO(_("Checking PID %d running as %d"), callerPid, callerUid);
|
||||
VIR_INFO("Checking PID %d running as %d", callerPid, callerUid);
|
||||
dbus_error_init(&err);
|
||||
if (!(pkcaller = polkit_caller_new_from_pid(server->sysbus,
|
||||
callerPid, &err))) {
|
||||
@@ -2450,7 +2450,7 @@ remoteDispatchAuthPolkit(struct qemud_server *server,
|
||||
}
|
||||
PROBE(CLIENT_AUTH_ALLOW, "fd=%d, auth=%d, username=%s",
|
||||
client->fd, REMOTE_AUTH_POLKIT, ident);
|
||||
VIR_INFO(_("Policy allowed action %s from pid %d, uid %d, result %s"),
|
||||
VIR_INFO("Policy allowed action %s from pid %d, uid %d, result %s",
|
||||
action, callerPid, callerUid,
|
||||
polkit_result_to_string_representation(pkresult));
|
||||
ret->complete = 1;
|
||||
|
||||
Reference in New Issue
Block a user