Project

General

Profile

Feature #1179 ยป 0050-Makevars-Update-from-gettext-0.23-upstream.patch

Marko Lindqvist, 12/10/2024 12:55 AM

View differences:

translations/core/Makevars
# Makefile variables for PO directory in any package using GNU gettext.
#
# Copyright (C) 2003-2023 Free Software Foundation, Inc.
# This file, Makevars, is free software; the Free Software Foundation
# gives unlimited permission to use, copy, distribute, and modify it.
# Usually the message domain is the same as the package name.
DOMAIN = freeciv-core
......
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
--package-name='Freeciv' \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format \
......
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
# --previous to keep previous msgids of translated messages
MSGMERGE_OPTIONS = --previous --quiet
# These options get passed to msginit.
translations/nations/Makevars
# Makefile variables for PO directory in any package using GNU gettext.
#
# Copyright (C) 2003-2023 Free Software Foundation, Inc.
# This file, Makevars, is free software; the Free Software Foundation
# gives unlimited permission to use, copy, distribute, and modify it.
# Usually the message domain is the same as the package name.
DOMAIN = freeciv-nations
......
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
--package-name='Freeciv' \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format \
......
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
# --previous to keep previous msgids of translated messages
MSGMERGE_OPTIONS = --previous --quiet
# These options get passed to msginit.
translations/ruledit/Makevars
# Makefile variables for PO directory in any package using GNU gettext.
#
# Copyright (C) 2003-2023 Free Software Foundation, Inc.
# This file, Makevars, is free software; the Free Software Foundation
# gives unlimited permission to use, copy, distribute, and modify it.
# Usually the message domain is the same as the package name.
DOMAIN = freeciv-ruledit
......
# These options get passed to xgettext.
XGETTEXT_OPTIONS = \
--package-name='Freeciv' \
--keyword=_ --flag=_:1:pass-c-format \
--keyword=N_ --flag=N_:1:pass-c-format \
--flag=error:3:c-format --flag=error_at_line:5:c-format \
......
--flag=xasprintf:1:c-format --flag=error_logger:1:c-format \
--flag=po_error:3:c-format --flag=po_error_at_line:5:c-format \
--flag=po_gram_error:1:c-format --flag=po_gram_error_at_line:2:c-format \
--keyword=R__ --keyword=RQ_ \
--keyword=R__ --keyword=RQ_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
......
# These options get passed to msgmerge.
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
# --previous to keep previous msgids of translated messages
MSGMERGE_OPTIONS = --previous --quiet
# These options get passed to msginit.
    (1-1/1)