mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
NLS: Use msgmerge/xgettext --no-wrap and --sort-by-file
The option --no-wrap prevents wars with (most?) editors about proper line wrapping. --sort-by-file ensures consistent file order, for easier diffing.
This commit is contained in:
parent
bbc02243fc
commit
05261ab624
1 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,11 @@ ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
|
|||
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
|
||||
|
||||
ifdef XGETTEXT
|
||||
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org
|
||||
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org --no-wrap --sort-by-file
|
||||
endif
|
||||
|
||||
ifdef MSGMERGE
|
||||
MSGMERGE += --no-wrap --sort-by-file
|
||||
endif
|
||||
|
||||
# _ is defined in c.h, so it's global
|
||||
|
|
|
|||
Loading…
Reference in a new issue