[Bf-committers] moving i18n from UI_interface to blenkernel
montagne29 at wanadoo.fr
Tue Nov 8 10:07:50 CET 2011
A Brecht's commit regarding nodes (41633) broke the i18n process
(IFACE_(name) works at execution time, but xgettext has no way to find
the strings to translate).
That is a small glitch indeed, but it raises a problem that we’ll have
too when it comes to translating messages (BKE_report and co): with this
commit, I need to use IFACE_ in node_[composite/shader/texture]_tree.c,
and I don’t think including UI_interface.h here is good!
(We already have an
#include "UI_interface.h" /* bad level call into editors */
Hence, the question: would it be a good idea to move the i18n macros and
funcs from UI to BKE (e.g. place them into BKE_blender.h)? If so, I’m
More information about the Bf-committers