summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-02 06:46:12 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-02 06:46:12 +0000
commit6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd (patch)
treee4f6edd4aeddc45073b84fa831352f3ca39a4a51 /po/Makefile
parentada4c0e8b66d8e2200c1394dbe2028f73ea582ec (diff)
downloadanaconda-6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd.tar.gz
anaconda-6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd.tar.xz
anaconda-6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd.zip
explicitly list anaconda and tell xgettext that it's a python file
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index 137a7c794..6d4b645a3 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -11,7 +11,7 @@ NLSPACKAGE = anaconda
POS = $(wildcard *.po)
FMTCATALOGS = $(patsubst %.po,%.mo,$(POS))
-POTFILES = ../anaconda ../*.py ../iw/*.py ../textw/*.py \
+POTFILES = ../*.py ../iw/*.py ../textw/*.py \
../installclasses/*.py \
../loader/*.c
@@ -21,9 +21,11 @@ NONPOTFILES = /usr/share/zoneinfo/zone.tab \
all: $(FMTCATALOGS)
-$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES)
+$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES) ../anaconda
xgettext --default-domain=$(NLSPACKAGE) \
--keyword=_ --keyword=N_ $(POTFILES)
+ xgettext --default-domain=$(NLSPACKAGE) \
+ --keyword=_ --keyword=N_ --language=Python ../anaconda
cat /usr/share/zoneinfo/zone.tab | cut -f4 | grep "^[a-zA-Z]" | sort | uniq -u | while read line; do echo -e "\n#. generated from zone.tab\nmsgid \"$$line\"\nmsgstr \"\""; done >> $(NLSPACKAGE).po
cat ../lang-table | cut -f1 | while read line; do echo -e "\n#. generated from lang-table\nmsgid \"$$line\"\nmsgstr \"\""; done >> $(NLSPACKAGE).po
if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \