diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-03-21 11:15:29 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-03-23 09:03:01 +1100 |
commit | 55ffff9a5e0bd87fd4e8720a35b65befde9fe965 (patch) | |
tree | fdd2825ad8a209c1b494116edd3fc1335d85961f | |
parent | 66ff1c8d36be43e53831a7ada7e2d10bac516afe (diff) | |
download | talos-petitboot-55ffff9a5e0bd87fd4e8720a35b65befde9fe965.tar.gz talos-petitboot-55ffff9a5e0bd87fd4e8720a35b65befde9fe965.zip |
po: Update Makevars to match Makevars.template
When building under buildroot the following message appears:
"Please update po/Makevars so that it defines all the variables
mentioned in po/Makevars.template."
Update Makevars to include definitions for these extra variables, and
set MSGMERGE_OPTIONS to --add-location=never to avoid adding noise to
the .po files.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | po/Makevars | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/po/Makevars b/po/Makevars index 777e54c..e644c5b 100644 --- a/po/Makevars +++ b/po/Makevars @@ -20,6 +20,13 @@ XGETTEXT_OPTIONS = --keyword=_ --keyword=define_help_text # their copyright. COPYRIGHT_HOLDER = +# This tells whether or not to prepend "GNU " prefix to the package +# name that gets inserted into the header of the $(DOMAIN).pot file. +# Possible values are "yes", "no", or empty. If it is empty, try to +# detect it automatically by scanning the files in $(top_srcdir) for +# "GNU packagename" string. +PACKAGE_GNU = + # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines @@ -40,4 +47,32 @@ MSGID_BUGS_ADDRESS = # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = -MSGMERGE_OPTIONS = --no-location +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages, +# --quiet to reduce the verbosity. +MSGMERGE_OPTIONS = --add-location=never + +# These options get passed to msginit. +# If you want to disable line wrapping when writing PO files, add +# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and +# MSGINIT_OPTIONS. +MSGINIT_OPTIONS = + +# This tells whether or not to regenerate a PO file when $(DOMAIN).pot +# has changed. Possible values are "yes" and "no". Set this to no if +# the POT file is checked in the repository and the version control +# program ignores timestamps. +PO_DEPENDS_ON_POT = yes + +# This tells whether or not to forcibly update $(DOMAIN).pot and +# regenerate PO files on "make dist". Possible values are "yes" and +# "no". Set this to no if the POT file and PO files are maintained +# externally. +DIST_DEPENDS_ON_UPDATE_PO = yes |