From 6c1388bb48fe87530f84b1eb9000518119980cf9 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Mon, 30 Apr 2007 17:00:45 +0000 Subject: [PATCH] * development/scons/SConstruct: * po/Makevar: handle messages that are to be translated into the buffer's language git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18124 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/SConstruct | 3 ++- po/Makevars | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/development/scons/SConstruct b/development/scons/SConstruct index b6934439b8..671dc6b7f3 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -2086,7 +2086,8 @@ if update_po: ['$MSGUNIQ -o $TARGET $SOURCE', '''$XGETTEXT --default-domain=${TARGET.base} \ --directory=$TOP_SRCDIR --add-comments=TRANSLATORS: \ - --language=C++ --join-existing --keyword=_ --keyword=N_ --keyword=qt_ \ + --language=C++ --join-existing \ + --keyword=_ --keyword=N_ --keyword=B_ --keyword=qt_ \ --files-from=$TOP_SRCDIR/po/POTFILES.in \ --copyright-holder="LyX Developers" \ --msgid-bugs-address="lyx-devel@lists.lyx.org" '''] diff --git a/po/Makevars b/po/Makevars index 3a4f4d5ca7..7d4fa6fc64 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --language=C++ --join-existing --keyword=_ --keyword=N_ --keyword=qt_ +XGETTEXT_OPTIONS = --language=C++ --join-existing --keyword=_ --keyword=N_ --keyword=B_ --keyword=qt_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding -- 2.39.5