9 |
PO_DIR = po |
PO_DIR = po |
10 |
DOMAIN = thuban |
DOMAIN = thuban |
11 |
|
|
12 |
LIST_POTFILES = grep -l "_(\"" ../Thuban/*.py ../Thuban/*/*.py |
LIST_POTFILES = grep -l "_(\"" ../Thuban/*.py ../Thuban/*/*.py ../Extensions/*/*.py |
13 |
|
|
14 |
|
|
15 |
pot: |
pot: |
32 |
for po in *.po; do\ |
for po in *.po; do\ |
33 |
lingua=`basename $$po .po`; \ |
lingua=`basename $$po .po`; \ |
34 |
install -d $(MO_DIR)/$$lingua/LC_MESSAGES/ ; \ |
install -d $(MO_DIR)/$$lingua/LC_MESSAGES/ ; \ |
35 |
msgfmt -o $(MO_DIR)/$$lingua/LC_MESSAGES/$(DOMAIN).mo $$po ;\ |
echo -n $$po": "; \ |
36 |
|
msgfmt --statistics \ |
37 |
|
-o $(MO_DIR)/$$lingua/LC_MESSAGES/$(DOMAIN).mo $$po ;\ |
38 |
done |
done |
39 |
|
|
|
|
|