Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ccd31eb8
Commit
ccd31eb8
authored
Jan 02, 2009
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize .pot files with some useful default values.
parent
a3114e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/nls-global.mk
src/nls-global.mk
+4
-3
No files found.
src/nls-global.mk
View file @
ccd31eb8
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.1
5 2008/12/11 07:34:07
petere Exp $
# $PostgreSQL: pgsql/src/nls-global.mk,v 1.1
6 2009/01/02 15:15:42
petere Exp $
# Common rules for Native Language Support (NLS)
#
...
...
@@ -36,7 +36,7 @@ PO_FILES = $(addprefix po/, $(addsuffix .po, $(LANGUAGES)))
MO_FILES
=
$(
addprefix
po/,
$(
addsuffix
.mo,
$(LANGUAGES)
))
ifdef
XGETTEXT
XGETTEXT
+=
-
-foreign-user
-ctranslator
XGETTEXT
+=
-
ctranslator
--copyright-holder
=
'PostgreSQL Global Development Group'
--msgid-bugs-address
=
pgsql-bugs@postgresql.org
endif
...
...
@@ -56,7 +56,8 @@ po/$(CATALOG_NAME).pot: $(GETTEXT_FILES)
$(XGETTEXT)
-D
$(srcdir)
-n
$(addprefix
-k,
$(GETTEXT_TRIGGERS))
$(GETTEXT_FILES)
endif
@$(mkinstalldirs)
$(dir
$@)
mv
messages.po
$@
sed
-e
'1,18 { s/SOME DESCRIPTIVE TITLE./LANGUAGE message translation file for $(CATALOG_NAME)/;s/PACKAGE/PostgreSQL/g;s/VERSION/$(MAJORVERSION)/g;s/YEAR/'
`date
+%Y`
'/g; }'
messages.po
>$@
rm
messages.po
else
# not XGETTEXT
@echo
"You don't have 'xgettext'."
;
exit
1
endif
# not XGETTEXT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment