summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-25 17:40:23 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-05-25 17:40:23 -0400
commit201e727a1fc571f3a56763dc044a58504cc89af6 (patch)
treed0022b589fdfb386c288ceabc0ed1eca535f1800 /po
parentfd989ad95135e5e018cf69966be60ee99c9b6280 (diff)
downloadthird_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.tar.gz
third_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.tar.xz
third_party-cobbler-201e727a1fc571f3a56763dc044a58504cc89af6.zip
Starting to add i18n to cobbler using rhpl
Diffstat (limited to 'po')
-rw-r--r--po/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 0000000..ac8f6b9
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,14 @@
+#
+# copied from the gpodder makefile by Thomas Perl, also GPL
+
+update:
+ for langfile in *.po; do echo 'Compiling translation:' $${langfile}; mkdir -p ../locale/`basename $${langfile} .po`/LC_MESSAGES/; msgfmt $${langfile} -o ../locale/`basename $${langfile} .po`/LC_MESSAGES/vf_node_server.mo; done
+
+generators:
+ for langfile in *.po; do echo -n $${langfile}; msgmerge -U $${langfile} ../messages.pot; done
+
+clean:
+ rm -rf ../locale *~ *.mo
+
+.PHONY: update generators clean
+