libvirt/src/openvz
Eric Blake 0867a87721 build: detect all improper uses of _("%s")
The only useful translation of "%s" as a format string is "%s" (I
suppose you could claim "%1$s" is also valid, but why bother).  So
it is not worth translating; fixing this exposes some instances
where we were failing to translate real error messages.  This makes
the fix of commit 097da1ab more generic, as well as ensuring no
future regressions.

* cfg.mk (sc_prohibit_useless_translation): New rule.
* src/lxc/lxc_driver.c (lxcSetVcpuBWLive): Fix offender.
* src/openvz/openvz_conf.c (openvzReadFSConf): Likewise.
* src/qemu/qemu_cgroup.c (qemuSetupCgroupForVcpu): Likewise.
* src/qemu/qemu_driver.c (qemuSetVcpusBWLive): Likewise.
* src/xenapi/xenapi_utils.c (xenapiSessionErrorHandle): Likewise.
2012-07-10 15:49:41 -06:00
..
openvz_conf.c build: detect all improper uses of _("%s") 2012-07-10 15:49:41 -06:00
openvz_conf.h
openvz_driver.c drivers: Implement virListAllDomains for drivers using virDomainObj 2012-06-20 13:35:26 +02:00
openvz_driver.h
openvz_util.c openvz: determine kb/pages only once 2012-05-15 14:39:14 +02:00
openvz_util.h openvz: determine kb/pages only once 2012-05-15 14:39:14 +02:00