]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Added new logo.
authorChristopher Lenz <cmlenz@gmail.com>
Fri, 15 Jun 2007 09:33:31 +0000 (09:33 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Fri, 15 Jun 2007 09:33:31 +0000 (09:33 +0000)
babel/messages/tests/frontend.py
doc/index.txt
doc/intro.txt [new file with mode: 0644]
doc/logo.pdf
doc/logo.png
doc/logo_small.png

index 05a4cfe0bd39da5ce8a8e73d80bfb2aa6ca80219..3334180ad606a6d3e6ef6ef11f5e2fa92ca72ef4 100644 (file)
@@ -123,6 +123,7 @@ msgstr[1] ""
     def tearDown(self):
         os.chdir(self.olddir)
 
+
 def suite():
     suite = unittest.TestSuite()
     suite.addTest(doctest.DocTestSuite(frontend))
index ee1103895ce1dbfd806af2973c62de64badb0eff..6db5312dbb6d344b6c104b5dbefd7a2d2de2c813 100644 (file)
@@ -4,9 +4,9 @@
 Babel
 =====
 
-.. image:: logo_small.png
-   :width: 158
-   :height: 85
+.. image:: logo.png
+   :width: 426
+   :height: 187
    :align: center
    :alt: Babel
    :class: logo
@@ -16,9 +16,10 @@ Simple Internationalization for Python Applications
 ---------------------------------------------------
 
 Babel is an integrated collection of utilities that assist in
-internationalizing and localizing Python applications, with an
-emphasis on web-based applications.
+internationalizing and localizing Python applications, with an emphasis on
+web-based applications.
 
+ * `Introduction <intro.html>`_
  * `Working with Message Catalogs <catalogs.html>`_
  * `Locale Display Names <display.html>`_
  * `Number and Date Formatting <formatting.html>`_
@@ -26,44 +27,3 @@ emphasis on web-based applications.
  * `Distutils/Setuptools Integration <setup.html>`_
  * `Support Classes and Functions <support.html>`_
  * `Generated API Documentation <api/index.html>`_
-
-Introduction
-------------
-
-The functionality Babel provides for internationalization (I18n) and
-localization (L10N) can be separated into two different aspects:
-
- * tools to build and work with ``gettext`` message catalogs, and
- * a Python interface to the CLDR (Common Locale Data Repository), providing
-   access to various locale display names, localized number and date
-   formatting, etc.
-
-While the Python standard library includes a
-`gettext <http://docs.python.org/lib/module-gettext.html>`_ module that enables
-applications to use message catalogs, it requires developers to build these
-catalogs using GNU tools such as ``xgettext``, ``msgmerge``, and ``msgfmt``.
-And while ``xgettext`` does have support for extracting messages from Python
-files, it does not know how to deal with other kinds of files commonly found
-in Python web-applications, such as templates, nor does it provide an easy
-extensibility mechanism to add such support.
-
-Babel addresses this by providing a framework where various extraction methods
-can be plugged in to a larger message extraction framework, and also removes
-the dependency on the GNU ``gettext`` tools for common tasks, as these aren't
-necessarily available on all platforms. See `Working with Message Catalogs`_
-for details on this aspect of Babel.
-
-Furthermore, while the Python standard library does include support for basic
-localization with respect to the formatting of numbers and dates (the
-`locale <http://docs.python.org/lib/module-locale.html>`_ module, among others),
-this support is based on the assumption that there will be only one specific
-locale used per process (at least simultaneously.) Also, it doesn't provide
-access to other kinds of locale data, such as the localized names of countries,
-languages, or time-zones, which are frequently needed in web-based applications.
-
-For these requirements, Babel includes data extracted from the `Common Locale
-Data Repository (CLDR) <http://unicode.org/cldr/>`_, and provides a number of
-convenient methods for accessing and using this data. See `Locale Display
-Names`_ and `Number and Date Formatting`_ for more information on this aspect
-of Babel.
-
diff --git a/doc/intro.txt b/doc/intro.txt
new file mode 100644 (file)
index 0000000..6756f2c
--- /dev/null
@@ -0,0 +1,60 @@
+.. -*- mode: rst; encoding: utf-8 -*-
+
+============
+Introduction
+============
+
+The functionality Babel provides for internationalization (I18n) and
+localization (L10N) can be separated into two different aspects:
+
+ * tools to build and work with ``gettext`` message catalogs, and
+ * a Python interface to the CLDR (Common Locale Data Repository), providing
+   access to various locale display names, localized number and date
+   formatting, etc.
+
+.. contents:: Contents
+   :depth: 2
+.. sectnum::
+
+
+Message Catalogs
+================
+
+While the Python standard library includes a
+`gettext <http://docs.python.org/lib/module-gettext.html>`_ module that enables
+applications to use message catalogs, it requires developers to build these
+catalogs using GNU tools such as ``xgettext``, ``msgmerge``, and ``msgfmt``.
+And while ``xgettext`` does have support for extracting messages from Python
+files, it does not know how to deal with other kinds of files commonly found
+in Python web-applications, such as templates, nor does it provide an easy
+extensibility mechanism to add such support.
+
+Babel addresses this by providing a framework where various extraction methods
+can be plugged in to a larger message extraction framework, and also removes
+the dependency on the GNU ``gettext`` tools for common tasks, as these aren't
+necessarily available on all platforms. See `Working with Message Catalogs`_
+for details on this aspect of Babel.
+
+.. _`Working with Message Catalogs`: catalogs.html
+
+
+Locale Data
+===========
+
+Furthermore, while the Python standard library does include support for basic
+localization with respect to the formatting of numbers and dates (the
+`locale <http://docs.python.org/lib/module-locale.html>`_ module, among others),
+this support is based on the assumption that there will be only one specific
+locale used per process (at least simultaneously.) Also, it doesn't provide
+access to other kinds of locale data, such as the localized names of countries,
+languages, or time-zones, which are frequently needed in web-based applications.
+
+For these requirements, Babel includes data extracted from the `Common Locale
+Data Repository (CLDR) <http://unicode.org/cldr/>`_, and provides a number of
+convenient methods for accessing and using this data. See `Locale Display
+Names`_ and `Number and Date Formatting`_ for more information on this aspect
+of Babel.
+
+
+.. _`Locale Display Names`: display.html
+.. _`Number and Date Formatting`: formatting.html
index a71e1cb7441c5bdd468717b36597e850d12494f6..5385fd067c5f2433249ee2445e466a4ee2274746 100644 (file)
Binary files a/doc/logo.pdf and b/doc/logo.pdf differ
index 6f2f784b3267f6d808b16ac38dd88128273b58bf..8060875c307123012418676deef8e0f8f3a2f327 100755 (executable)
Binary files a/doc/logo.png and b/doc/logo.png differ
index 5b01595de98f8c78b875cb29272059d6e0547f26..b9eddbdd9b831a21f0a0d733d3d4f31614d34439 100755 (executable)
Binary files a/doc/logo_small.png and b/doc/logo_small.png differ