* 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
This commit is contained in:
Michael Schmitt 2007-04-30 17:00:45 +00:00
parent 5eea42b9eb
commit 6c1388bb48
2 changed files with 3 additions and 2 deletions

View File

@ -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" ''']

View File

@ -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