=== modified file 'Makefile' --- Makefile 2008-12-11 03:57:07 +0000 +++ Makefile 2008-12-19 05:56:12 +0000 @@ -21,23 +21,22 @@ DOCS_CLEAN=rm -rf docs entertainer-docs.tar.gz DOCS_TAR=${DOCS_DIR}; tar -czf entertainer-docs.tar.gz docs -TRANS_DIR=cd tools/translations -TRANSLATE=./generate_new_pot.sh -UPDATE=./update.sh +TOOLS_DIR=cd tools +TRANSLATE= ${PYTHON} translations_generator.py check: test lint lint: - ${LINT} ${LINT_FLAGS} entertainer* tools/pytools/* setup.py + ${LINT} ${LINT_FLAGS} entertainer* tools/*.py setup.py test: ${TEST} mo: pot - ${TRANS_DIR};${UPDATE} + ${TOOLS_DIR};${TRANSLATE} po mo pot: - ${TRANS_DIR};${TRANSLATE} + ${TOOLS_DIR};${TRANSLATE} pot tags: ${CTAGS} ${CTAGS_FLAGS} entertainerlib === removed directory 'locale' === removed directory 'locale/da' === removed directory 'locale/da/LC_MESSAGES' === removed file 'locale/da/LC_MESSAGES/entertainer.mo' Binary files locale/da/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/da/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/de' === removed directory 'locale/de/LC_MESSAGES' === removed file 'locale/de/LC_MESSAGES/entertainer.mo' Binary files locale/de/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/de/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/en_GB' === removed directory 'locale/en_GB/LC_MESSAGES' === removed file 'locale/en_GB/LC_MESSAGES/entertainer.mo' Binary files locale/en_GB/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/en_GB/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/es_ES' === removed directory 'locale/es_ES/LC_MESSAGES' === removed file 'locale/es_ES/LC_MESSAGES/entertainer.mo' Binary files locale/es_ES/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/es_ES/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/fi' === removed directory 'locale/fi/LC_MESSAGES' === removed file 'locale/fi/LC_MESSAGES/entertainer.mo' Binary files locale/fi/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/fi/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/fr' === removed directory 'locale/fr/LC_MESSAGES' === removed file 'locale/fr/LC_MESSAGES/entertainer.mo' Binary files locale/fr/LC_MESSAGES/entertainer.mo 2008-12-02 12:20:35 +0000 and locale/fr/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/fr_FR' === removed directory 'locale/fr_FR/LC_MESSAGES' === removed file 'locale/fr_FR/LC_MESSAGES/entertainer.mo' Binary files locale/fr_FR/LC_MESSAGES/entertainer.mo 2008-10-04 21:48:20 +0000 and locale/fr_FR/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/gl' === removed directory 'locale/gl/LC_MESSAGES' === removed file 'locale/gl/LC_MESSAGES/entertainer.mo' Binary files locale/gl/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/gl/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/he' === removed directory 'locale/he/LC_MESSAGES' === removed file 'locale/he/LC_MESSAGES/entertainer.mo' Binary files locale/he/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/he/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/it' === removed directory 'locale/it/LC_MESSAGES' === removed file 'locale/it/LC_MESSAGES/entertainer.mo' Binary files locale/it/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/it/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/nl' === removed directory 'locale/nl/LC_MESSAGES' === removed file 'locale/nl/LC_MESSAGES/entertainer.mo' Binary files locale/nl/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/nl/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/pt' === removed directory 'locale/pt/LC_MESSAGES' === removed file 'locale/pt/LC_MESSAGES/entertainer.mo' Binary files locale/pt/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/pt/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/pt_BR' === removed directory 'locale/pt_BR/LC_MESSAGES' === removed file 'locale/pt_BR/LC_MESSAGES/entertainer.mo' Binary files locale/pt_BR/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/pt_BR/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/sv' === removed directory 'locale/sv/LC_MESSAGES' === removed file 'locale/sv/LC_MESSAGES/entertainer.mo' Binary files locale/sv/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/sv/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === removed directory 'locale/zh_CN' === removed directory 'locale/zh_CN/LC_MESSAGES' === removed file 'locale/zh_CN/LC_MESSAGES/entertainer.mo' Binary files locale/zh_CN/LC_MESSAGES/entertainer.mo 2008-10-04 18:04:03 +0000 and locale/zh_CN/LC_MESSAGES/entertainer.mo 1970-01-01 00:00:00 +0000 differ === modified file 'setup.py' --- setup.py 2008-12-16 03:58:48 +0000 +++ setup.py 2008-12-19 05:56:12 +0000 @@ -4,6 +4,13 @@ from distutils.core import setup import os +from tools.translations_generator import TranslationsGenerator + +# Before we build anything, create all the locales and mos from the current pos +os.chdir('tools') +translations_generator = TranslationsGenerator() +translations_generator.update_mos() +os.chdir('..') def find_files(dirs, dest_root='share'): '''Walk files and directories and return them in a form for data_files''' === added file 'tools/__init__.py' --- tools/__init__.py 1970-01-01 00:00:00 +0000 +++ tools/__init__.py 2008-12-19 05:56:12 +0000 @@ -0,0 +1,1 @@ +'''Entertainer tools''' === renamed file 'tools/pytools/loc.py' => 'tools/loc.py' === renamed file 'tools/pytools/log-viewer' => 'tools/log-viewer' === renamed file 'tools/pytools/messagebus-notifier' => 'tools/messagebus-notifier' === added directory 'tools/po' === renamed file 'tools/translations/entertainer-da.po' => 'tools/po/entertainer-da.po' === renamed file 'tools/translations/entertainer-de.po' => 'tools/po/entertainer-de.po' === renamed file 'tools/translations/entertainer-en_GB.po' => 'tools/po/entertainer-en_GB.po' === renamed file 'tools/translations/entertainer-es_ES.po' => 'tools/po/entertainer-es_ES.po' === renamed file 'tools/translations/entertainer-fi.po' => 'tools/po/entertainer-fi.po' === renamed file 'tools/translations/entertainer-fr.po' => 'tools/po/entertainer-fr.po' === renamed file 'tools/translations/entertainer-fr_FR.po' => 'tools/po/entertainer-fr_FR.po' === renamed file 'tools/translations/entertainer-gl.po' => 'tools/po/entertainer-gl.po' === renamed file 'tools/translations/entertainer-he.po' => 'tools/po/entertainer-he.po' === renamed file 'tools/translations/entertainer-hu.po' => 'tools/po/entertainer-hu.po' === renamed file 'tools/translations/entertainer-it.po' => 'tools/po/entertainer-it.po' === renamed file 'tools/translations/entertainer-nl.po' => 'tools/po/entertainer-nl.po' === renamed file 'tools/translations/entertainer-pl.po' => 'tools/po/entertainer-pl.po' === renamed file 'tools/translations/entertainer-pt.po' => 'tools/po/entertainer-pt.po' === renamed file 'tools/translations/entertainer-pt_BR.po' => 'tools/po/entertainer-pt_BR.po' === renamed file 'tools/translations/entertainer-sv.po' => 'tools/po/entertainer-sv.po' === renamed file 'tools/translations/entertainer-zh_CN.po' => 'tools/po/entertainer-zh_CN.po' === renamed file 'tools/translations/entertainer.pot' => 'tools/po/entertainer.pot' === removed directory 'tools/pytools' === renamed file 'tools/pytools/run_debug.py' => 'tools/run_debug.py' === removed directory 'tools/translations' === removed file 'tools/translations/generate_new_pot.sh' --- tools/translations/generate_new_pot.sh 2008-12-11 04:21:27 +0000 +++ tools/translations/generate_new_pot.sh 1970-01-01 00:00:00 +0000 @@ -1,32 +0,0 @@ -#!/bin/bash -# Authors: Joshua Scotton, Matt Layman -# License: GPLv2 -# Copyright: 2008, Joshua Scotton