Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit05261ab

Browse files
committed
NLS: Use msgmerge/xgettext --no-wrap and --sort-by-file
The option --no-wrap prevents wars with (most?) editors about properline wrapping. --sort-by-file ensures consistent file order, foreasier diffing.
1 parentbbc0224 commit05261ab

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
ifdefXGETTEXT
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+
ifdefMSGMERGE
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)

[8]ページ先頭

©2009-2025 Movatter.jp