Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 05261ab

Browse files
committed
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.
1 parent bbc0224 commit 05261ab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/nls-global.mk

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ ALL_PO_FILES = $(addprefix po/, $(addsuffix .po, $(AVAIL_LANGUAGES)))
4040
MO_FILES = $(addprefix po/, $(addsuffix .mo, $(LANGUAGES)))
4141

4242
ifdef XGETTEXT
43-
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org
43+
XGETTEXT += -ctranslator --copyright-holder='PostgreSQL Global Development Group' --msgid-bugs-address=pgsql-bugs@postgresql.org --no-wrap --sort-by-file
44+
endif
45+
46+
ifdef MSGMERGE
47+
MSGMERGE += --no-wrap --sort-by-file
4448
endif
4549

4650
# _ is defined in c.h, so it's global

0 commit comments

Comments
 (0)