mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
build: Enable syntax checks for vshError and vshWarn
To make sure both error and warning messages printed by virsh are properly marked for translation. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2844744346
commit
ce66d7e01b
@ -401,6 +401,8 @@ msg_gen_function += virReportError
|
||||
msg_gen_function += virReportErrorHelper
|
||||
msg_gen_function += virReportSystemError
|
||||
msg_gen_function += virLastErrorPrefixMessage
|
||||
msg_gen_function += vshError
|
||||
msg_gen_function += vshWarn
|
||||
|
||||
# Uncomment the following and run "ninja test" to see diagnostics
|
||||
# that are not yet marked for translation, but that need to be rewritten
|
||||
@ -408,7 +410,6 @@ msg_gen_function += virLastErrorPrefixMessage
|
||||
# msg_gen_function += fprintf
|
||||
# msg_gen_function += testError
|
||||
# msg_gen_function += vshPrint
|
||||
# msg_gen_function += vshError
|
||||
|
||||
space = $(null) $(null)
|
||||
func_re= ($(subst $(space),|,$(msg_gen_function)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user