annotate babel/__init__.py @ 480:863bb2ae4adb stable-0.9.x

Block more msgctxt related work.
author jruigrok
date Sun, 11 Apr 2010 08:50:34 +0000
parents dddfd2551f94
children 85e1beadacb0
rev   line source
1
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
1 # -*- coding: utf-8 -*-
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
2 #
389
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
3 # Copyright (C) 2007-2008 Edgewall Software
1
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
4 # All rights reserved.
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
5 #
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
8 # are also available at http://babel.edgewall.org/wiki/License.
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
9 #
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
12 # history and logs, available at http://babel.edgewall.org/log/.
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
13
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
14 """Integrated collection of utilities that assist in internationalizing and
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
15 localizing applications.
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
16
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
17 This package is basically composed of two major parts:
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
18
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
19 * tools to build and work with ``gettext`` message catalogs
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
20 * a Python interface to the CLDR (Common Locale Data Repository), providing
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
21 access to various locale display names, localized number and date
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
22 formatting, etc.
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
23
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
24 :see: http://www.gnu.org/software/gettext/
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
25 :see: http://docs.python.org/lib/module-gettext.html
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
26 :see: http://www.unicode.org/cldr/
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
27 """
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
28
4
0c01c3b6af7e Fixes for the extended translations class.
cmlenz
parents: 1
diff changeset
29 from babel.core import *
1
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
30
f71ca60f2a4a Import of initial code base.
cmlenz
parents:
diff changeset
31 __docformat__ = 'restructuredtext en'
12
a2c54ef107c2 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
32 try:
389
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
33 from pkg_resources import get_distribution, ResolutionError
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
34 try:
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
35 __version__ = get_distribution('Babel').version
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
36 except ResolutionError:
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
37 __version__ = None # unknown
12
a2c54ef107c2 * Removed pkg_resources/setuptools requirement from various places.
cmlenz
parents: 4
diff changeset
38 except ImportError:
389
dddfd2551f94 Ported [424], [425], and [428] back to 0.9.x branch.
cmlenz
parents: 12
diff changeset
39 __version__ = None # unknown
Copyright (C) 2012-2017 Edgewall Software