X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fgettext.h;h=317feec82ec6ba5a78bb84a2ac172341baf3de37;hb=bf56e2c8e1afa857cd5e313c19948040e41b8227;hp=7500088c9e761e974bba3b90b711e2205260eb49;hpb=e0acb978ff34c174dcfaddae08caa70eed11ef35;p=lyx.git diff --git a/src/support/gettext.h b/src/support/gettext.h index 7500088c9e..317feec82e 100644 --- a/src/support/gettext.h +++ b/src/support/gettext.h @@ -37,6 +37,10 @@ namespace lyx { * Remember to mention each of these files in "po/POFILES.in" * * The main() needs a locale_init() and a gettext_init() in the beginning. + * + * The various *_() methods accept only ASCII input, so they must not be used + * if the input may come from user supplied files. + * translateIfPossible() should be used in that case. */ /* @@ -74,10 +78,6 @@ docstring const translateIfPossible(docstring const & name); * language if they come from a file in the personal directory. */ docstring const translateIfPossible(docstring const & name, std::string const & language); -/// -void locale_init(); - - } // namespace lyx #endif