Makevars 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. "$" is escaped as "$$" here.
  8. XGETTEXT_OPTIONS = \
  9. -cTRANSLATORS\
  10. --keyword=_\
  11. --keyword=N_\
  12. --keyword=__\
  13. -k__\
  14. -k\$$__\
  15. -k%__\
  16. -k__x\
  17. -k__n:1,2\
  18. -k__nx:1,2\
  19. -k__xn:1,2\
  20. -kN__\
  21. --flag=error:1:c-format\
  22. --flag=warning:1:c-format\
  23. --flag=fatal:1:c-format\
  24. --flag=file_line_error:3:c-format\
  25. --flag=line_error:1:c-format\
  26. --flag=add_word_args:1:c-format\
  27. --flag=printf_to_message_buffer:1:c-format\
  28. --flag=syntax_error:3:c-format\
  29. --flag=error_message:2:c-format\
  30. --flag=printf_to_message_buffer:1:c-format\
  31. --flag=info_error:1:c-format\
  32. --flag=window_message_in_echo_area:1:c-format\
  33. --flag=message_in_echo_area:1:c-format\
  34. --flag=format_message_node:1:c-format
  35. --flag=format_message_buffer:1:c-format
  36. # This is the copyright holder that gets inserted into the header of the
  37. # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
  38. # package. (Note that the msgstr strings, extracted from the package's
  39. # sources, belong to the copyright holder of the package.) Translators are
  40. # expected to transfer the copyright for their translations to this person
  41. # or entity, or to disclaim their copyright. The empty string stands for
  42. # the public domain; in this case the translators are expected to disclaim
  43. # their copyright.
  44. COPYRIGHT_HOLDER = Free Software Foundation, Inc.
  45. # This tells whether or not to prepend "GNU " prefix to the package
  46. # name that gets inserted into the header of the $(DOMAIN).pot file.
  47. # Possible values are "yes", "no", or empty. If it is empty, try to
  48. # detect it automatically by scanning the files in $(top_srcdir) for
  49. # "GNU packagename" string.
  50. PACKAGE_GNU = yes
  51. # This is the email address or URL to which the translators shall report
  52. # bugs in the untranslated strings:
  53. # - Strings which are not entire sentences, see the maintainer guidelines
  54. # in the GNU gettext documentation, section 'Preparing Strings'.
  55. # - Strings which use unclear terms or require additional context to be
  56. # understood.
  57. # - Strings which make invalid assumptions about notation of date, time or
  58. # money.
  59. # - Pluralisation problems.
  60. # - Incorrect English spelling.
  61. # - Incorrect formatting.
  62. # It can be your email address, or a mailing list address where translators
  63. # can write to without being subscribed, or the URL of a web page through
  64. # which the translators can contact you.
  65. MSGID_BUGS_ADDRESS = bug-texinfo@gnu.org
  66. # This is the list of locale categories, beyond LC_MESSAGES, for which the
  67. # message catalogs shall be used. It is usually empty.
  68. EXTRA_LOCALE_CATEGORIES =
  69. # This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'
  70. # context. Possible values are "yes" and "no". Set this to yes if the
  71. # package uses functions taking also a message context, like pgettext(), or
  72. # if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.
  73. USE_MSGCTXT = no
  74. # These options get passed to msgmerge.
  75. # Useful options are in particular:
  76. # --previous to keep previous msgids of translated messages,
  77. # --quiet to reduce the verbosity.
  78. MSGMERGE_OPTIONS =
  79. # These options get passed to msginit.
  80. # If you want to disable line wrapping when writing PO files, add
  81. # --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and
  82. # MSGINIT_OPTIONS.
  83. MSGINIT_OPTIONS =
  84. # This tells whether or not to regenerate a PO file when $(DOMAIN).pot
  85. # has changed. Possible values are "yes" and "no". Set this to no if
  86. # the POT file is checked in the repository and the version control
  87. # program ignores timestamps.
  88. PO_DEPENDS_ON_POT = yes
  89. # This tells whether or not to forcibly update $(DOMAIN).pot and
  90. # regenerate PO files on "make dist". Possible values are "yes" and
  91. # "no". Set this to no if the POT file and PO files are maintained
  92. # externally.
  93. DIST_DEPENDS_ON_UPDATE_PO = no