gramps/po/Makevars.in

32 lines
1.3 KiB
Plaintext
Raw Normal View History

2009-02-03 16:39:49 +05:30
# Makefile variables for PO directory using GNU gettext.
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
2009-02-03 16:39:49 +05:30
# These options get passed to xgettext.
2009-02-04 16:15:12 +05:30
XGETTEXT_OPTIONS = -d=@PACKAGE@ --add-comments="TRANS:" --no-wrap
2009-02-03 16:39:49 +05:30
# possible options to include:
# -c, --add-comments[=TAG] place comment block with TAG (or those
# preceding keyword lines) in output file
# -k, --keyword[=WORD] additional keyword to be looked for (without
# WORD means not to use default keywords)
#The default keyword specifications, which are always looked for if not
#explicitly disabled are: gettext
# ugettext
# dgettext:2
# ngettext:1,2
# ungettext:1,2
# dngettext:2,3
# _
#
#For xgettext be able to extract strings in python file with import statment like tis:
#
# from gettext import ngettext as _s
#
#you need to append this: "--keyword=_s:1,2 "
#to line XGETTEXT_OPTIONS