From 994fea2e224ff0d05ef7d55e23413eab4e75d614 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Mon, 23 Aug 2010 05:21:07 +0200 Subject: [PATCH] move localisation scripts into locale folder --- pyfpdb/{ => locale}/create-mo-files.sh | 2 ++ pyfpdb/{ => locale}/create-po-file.sh | 1 + 2 files changed, 3 insertions(+) rename pyfpdb/{ => locale}/create-mo-files.sh (94%) rename pyfpdb/{ => locale}/create-po-file.sh (95%) diff --git a/pyfpdb/create-mo-files.sh b/pyfpdb/locale/create-mo-files.sh similarity index 94% rename from pyfpdb/create-mo-files.sh rename to pyfpdb/locale/create-mo-files.sh index 2e76648b..4b9d1dc9 100755 --- a/pyfpdb/create-mo-files.sh +++ b/pyfpdb/locale/create-mo-files.sh @@ -1 +1,3 @@ +cd .. python /usr/share/doc/python-2.7/examples/Tools/i18n/msgfmt.py --output-file=locale/hu/LC_MESSAGES/fpdb.mo locale/fpdb-hu_HU.po + diff --git a/pyfpdb/create-po-file.sh b/pyfpdb/locale/create-po-file.sh similarity index 95% rename from pyfpdb/create-po-file.sh rename to pyfpdb/locale/create-po-file.sh index c2cdfefe..d26c853a 100755 --- a/pyfpdb/create-po-file.sh +++ b/pyfpdb/locale/create-po-file.sh @@ -1,2 +1,3 @@ +cd .. python /usr/share/doc/python-2.7/examples/Tools/i18n/pygettext.py --output-dir=locale --default-domain=fpdb --output=fpdb-en_GB.po *.py*