提交 bc3f582b 编写于 作者: E Eric Blake 提交者: Daniel Veillard

maint: enforce recent N_ usage

* cfg.mk (sc_prohibit_gettext_noop): New rule applied in "make syntax-check"
上级 e7d29e23
......@@ -105,6 +105,11 @@ sc_prohibit_gethostname:
msg='use virGetHostname, not gethostname' \
$(_prohibit_regexp)
sc_prohibit_gettext_noop:
@re='gettext_noop *\(' \
msg='use _N, not gettext_noop' \
$(_prohibit_regexp)
sc_prohibit_VIR_ERR_NO_MEMORY:
@re='\<V''IR_ERR_NO_MEMORY\>' \
msg='use virReportOOMError, not V'IR_ERR_NO_MEMORY \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册