If I understand it correctly, that funtion is a stub put there to not bring useless stuff in tex2lyx. I think that you can simply change std::string with docstring and be done.
OK. this also works, but I really do not like the idea of a separate gettext.h. You know, it took me three hours to track down this simple problem because I missed the fact that there are two versions of gettext.h!! Sharing packages.C (and other supporting files) between tex2lyx and lyx is fine, but using different versions of gettext.h is, let me just say, wrong. I still propse that we get rid of tex2lyx/gettext. Bo
