# individuals. For the exact contribution history, see the revision
# history and logs, available at http://babel.edgewall.org/log/.
-"""Various routines that help with validation of translations."""
+"""Various routines that help with validation of translations.
+
+:since: version 0.9
+"""
from babel.messages.catalog import TranslationError, PYTHON_FORMAT
from babel.util import odict, LOCALTZ
__all__ = ['CommandLineInterface', 'compile_catalog', 'extract_messages',
- 'init_catalog', 'check_message_extractors']
+ 'init_catalog', 'check_message_extractors', 'update_catalog']
__docformat__ = 'restructuredtext en'
cmdclass = {'compile_catalog': compile_catalog}
)
+ :since: version 0.9
:see: `Integrating new distutils commands <http://docs.python.org/dist/node32.html>`_
:see: `setuptools <http://peak.telecommunity.com/DevCenter/setuptools>`_
"""
cmdclass = {'update_catalog': update_catalog}
)
+ :since: version 0.9
:see: `Integrating new distutils commands <http://docs.python.org/dist/node32.html>`_
:see: `setuptools <http://peak.telecommunity.com/DevCenter/setuptools>`_
"""
"""Subcommand for compiling a message catalog to a MO file.
:param argv: the command arguments
+ :since: version 0.9
"""
parser = OptionParser(usage=self.usage % ('compile', ''),
description=self.commands['compile'])
"""Subcommand for updating existing message catalogs from a template.
:param argv: the command arguments
+ :since: version 0.9
"""
parser = OptionParser(usage=self.usage % ('update', ''),
description=self.commands['update'])