The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 6479c6fd4adfb801324959a2c898ad624ca5c0ec Author: Pavel Sanda <[email protected]> Date: Tue Jan 15 21:39:51 2013 -0800 Add comment from Georg. http://www.mail-archive.com/[email protected]/msg176694.html diff --git a/src/support/gettext.h b/src/support/gettext.h index 7500088..2ede4de 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. */ /* ----------------------------------------------------------------------- Summary of changes: src/support/gettext.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
