mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
mark a few diagnostics for translation
* src/lxc_conf.c (lxcLoadDriverConfig): Mark a diagnostic. * src/lxc_driver.c (lxcDomainStart): Likewise. * po/POTFILES.in: Add src/lxc_conf.c. * Makefile.maint (msg_gen_function): Add virReportErrorHelper and lxcError.
This commit is contained in:
parent
0d4cdc0569
commit
0e7a565229
@ -1,5 +1,12 @@
|
|||||||
Thu Nov 6 20:45:42 CET 2008 Jim Meyering <meyering@redhat.com>
|
Thu Nov 6 20:45:42 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
mark a few diagnostics for translation
|
||||||
|
* src/lxc_conf.c (lxcLoadDriverConfig): Mark a diagnostic.
|
||||||
|
* src/lxc_driver.c (lxcDomainStart): Likewise.
|
||||||
|
* po/POTFILES.in: Add src/lxc_conf.c.
|
||||||
|
* Makefile.maint (msg_gen_function): Add virReportErrorHelper
|
||||||
|
and lxcError.
|
||||||
|
|
||||||
always compile iptables.c
|
always compile iptables.c
|
||||||
Avoid a build error when configuring --without-xen --without-qemu.
|
Avoid a build error when configuring --without-xen --without-qemu.
|
||||||
* src/iptables.c [WITH_QEMU]: Don't #ifdef-out.
|
* src/iptables.c [WITH_QEMU]: Don't #ifdef-out.
|
||||||
|
@ -353,6 +353,8 @@ msg_gen_function += qemudReportError
|
|||||||
msg_gen_function += openvzLog
|
msg_gen_function += openvzLog
|
||||||
msg_gen_function += openvzError
|
msg_gen_function += openvzError
|
||||||
msg_gen_function += virDomainReportError
|
msg_gen_function += virDomainReportError
|
||||||
|
msg_gen_function += virReportErrorHelper
|
||||||
|
msg_gen_function += lxcError
|
||||||
|
|
||||||
# Uncomment the following and run "make syntax-check" to see diagnostics
|
# Uncomment the following and run "make syntax-check" to see diagnostics
|
||||||
# that are not yet marked for translation, but that need to be rewritten
|
# that are not yet marked for translation, but that need to be rewritten
|
||||||
@ -360,7 +362,6 @@ msg_gen_function += virDomainReportError
|
|||||||
# msg_gen_function += error
|
# msg_gen_function += error
|
||||||
# msg_gen_function += virXenError
|
# msg_gen_function += virXenError
|
||||||
# msg_gen_function += testError
|
# msg_gen_function += testError
|
||||||
# msg_gen_function += lxcError
|
|
||||||
|
|
||||||
func_or := $(shell printf '$(msg_gen_function)'|tr -s '[[:space:]]' '|')
|
func_or := $(shell printf '$(msg_gen_function)'|tr -s '[[:space:]]' '|')
|
||||||
func_re := ($(func_or))
|
func_re := ($(func_or))
|
||||||
|
@ -7,6 +7,7 @@ src/datatypes.c
|
|||||||
src/domain_conf.c
|
src/domain_conf.c
|
||||||
src/iptables.c
|
src/iptables.c
|
||||||
src/libvirt.c
|
src/libvirt.c
|
||||||
|
src/lxc_conf.c
|
||||||
src/lxc_container.c
|
src/lxc_container.c
|
||||||
src/lxc_controller.c
|
src/lxc_controller.c
|
||||||
src/lxc_driver.c
|
src/lxc_driver.c
|
||||||
|
@ -83,8 +83,7 @@ int lxcLoadDriverConfig(lxc_driver_t *driver)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
no_memory:
|
no_memory:
|
||||||
lxcError(NULL, NULL, VIR_ERR_NO_MEMORY, "configDir");
|
lxcError(NULL, NULL, VIR_ERR_NO_MEMORY,
|
||||||
|
"%s", _("while loading LXC driver config"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -857,7 +857,7 @@ static int lxcDomainStart(virDomainPtr dom)
|
|||||||
|
|
||||||
if (!vm) {
|
if (!vm) {
|
||||||
lxcError(conn, dom, VIR_ERR_INVALID_DOMAIN,
|
lxcError(conn, dom, VIR_ERR_INVALID_DOMAIN,
|
||||||
"no domain with uuid");
|
_("no domain named %s"), dom->name);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user