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*