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

Lines changed: 5 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy