Subversion Repositories LCARS

Rev

Rev 38 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 38 Rev 56
Line 42... Line 42...
42
#
42
#
43
# The parameter "--language=perl" is not strictly needed because the
43
# The parameter "--language=perl" is not strictly needed because the
44
# source language of all our files will be auto-detected by xgettext
44
# source language of all our files will be auto-detected by xgettext
45
# by their filename extension.  You should even avoid this parameter
45
# by their filename extension.  You should even avoid this parameter
46
# if you want to extract strings from multiple source languages.
46
# if you want to extract strings from multiple source languages.
-
 
47
#		--keyword --keyword='_' --keyword='$$__' --keyword=__ --keyword=__x \
-
 
48
#		--keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \
-
 
49
#		--keyword=__p:1c,2 --keyword=__np:1c,2,3 \
-
 
50
#		--keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \
-
 
51
#		--keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \
47
$(TD).pot: $(POTFILES)
52
$(TD).pot: $(POTFILES)
48
	$(XGETTEXT) --output=$(srcdir)/$(TD).pox --from-code=utf-8 \
53
	$(XGETTEXT) --output=$(srcdir)/$(TD).pox --from-code=utf-8 \
49
		--add-comments=TRANSLATORS: --files-from=$(srcdir)/POTFILES.in \
54
		--add-comments=TRANSLATORS: --files-from=$(srcdir)/POTFILES.in \
-
 
55
		--package-name="$(PACKAGE_NAME)" \
-
 
56
		--package-version="$(PACKAGE_VERSION)" \
50
		--copyright-holder="$(COPYRIGHT_HOLDER)" \
57
		--copyright-holder="$(COPYRIGHT_HOLDER)" \
51
		--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
58
		--msgid-bugs-address="$(MSGID_BUGS_ADDRESS)" \
52
		--keyword --keyword='_' --keyword='$$__' --keyword=__ --keyword=__x \
-
 
53
		--keyword=__n:1,2 --keyword=__nx:1,2 --keyword=__xn:1,2 \
-
 
54
		--keyword=__p:1c,2 --keyword=__np:1c,2,3 \
-
 
55
		--keyword=__npx:1c,2,3 --keyword=N__ --keyword=N__n:1,2 \
-
 
56
		--keyword=N__p:1c,2 --keyword=N__np:1c,2,3 --keyword=%__ \
-
 
57
	rm -f $@ && mv $(TD).pox $@
59
	rm -f $@ && mv $(TD).pox $@
58
60
59
install: $(MO_FILES)
61
install: $(MO_FILES)
60
	cd $(srcdir); \
62
	cd $(srcdir); \
61
	targetdir='$(libdir)/LocaleData'; \
63
	targetdir='$(libdir)/LocaleData'; \