Home | History | Annotate | Line # | Download | only in po
      1  1.1  christos # Makefile variables for PO directory in any package using GNU gettext.
      2  1.1  christos 
      3  1.1  christos # Usually the message domain is the same as the package name.
      4  1.1  christos DOMAIN = $(PACKAGE)
      5  1.1  christos 
      6  1.1  christos # These two variables depend on the location of this directory.
      7  1.1  christos subdir = po
      8  1.1  christos top_builddir = ..
      9  1.1  christos 
     10  1.1  christos # These options get passed to xgettext.
     11  1.1  christos XGETTEXT_OPTIONS = \
     12  1.1  christos   --keyword=_ --flag=_:1:pass-c-format \
     13  1.1  christos   --keyword=N_ --flag=N_:1:pass-c-format
     14  1.1  christos 
     15  1.1  christos # This is the copyright holder that gets inserted into the header of the
     16  1.1  christos # $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
     17  1.1  christos # package.  (Note that the msgstr strings, extracted from the package's
     18  1.1  christos # sources, belong to the copyright holder of the package.)  Translators are
     19  1.1  christos # expected to transfer the copyright for their translations to this person
     20  1.1  christos # or entity, or to disclaim their copyright.  The empty string stands for
     21  1.1  christos # the public domain; in this case the translators are expected to disclaim
     22  1.1  christos # their copyright.
     23  1.1  christos COPYRIGHT_HOLDER = Yoyodyne, Inc.
     24  1.1  christos 
     25  1.1  christos # This is the email address or URL to which the translators shall report
     26  1.1  christos # bugs in the untranslated strings:
     27  1.1  christos # - Strings which are not entire sentences, see the maintainer guidelines
     28  1.1  christos #   in the GNU gettext documentation, section 'Preparing Strings'.
     29  1.1  christos # - Strings which use unclear terms or require additional context to be
     30  1.1  christos #   understood.
     31  1.1  christos # - Strings which make invalid assumptions about notation of date, time or
     32  1.1  christos #   money.
     33  1.1  christos # - Pluralisation problems.
     34  1.1  christos # - Incorrect English spelling.
     35  1.1  christos # - Incorrect formatting.
     36  1.1  christos # It can be your email address, or a mailing list address where translators
     37  1.1  christos # can write to without being subscribed, or the URL of a web page through
     38  1.1  christos # which the translators can contact you.
     39  1.1  christos MSGID_BUGS_ADDRESS = bug-gnu-gettext (a] gnu.org
     40  1.1  christos 
     41  1.1  christos # This is the list of locale categories, beyond LC_MESSAGES, for which the
     42  1.1  christos # message catalogs shall be used.  It is usually empty.
     43  1.1  christos EXTRA_LOCALE_CATEGORIES =
     44  1.1  christos 
     45  1.1  christos # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
     46  1.1  christos # context.  Possible values are "yes" and "no".  Set this to yes if the
     47  1.1  christos # package uses functions taking also a message context, like pgettext(), or
     48  1.1  christos # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
     49  1.1  christos USE_MSGCTXT = no
     50