Makevars 2.5 KB

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