]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
doc: Clean up trailing whitespace
authorTobias Bieniek <Tobias.Bieniek@gmx.de>
Wed, 3 Jul 2013 16:00:54 +0000 (18:00 +0200)
committerTobias Bieniek <Tobias.Bieniek@gmx.de>
Wed, 3 Jul 2013 16:00:54 +0000 (18:00 +0200)
doc/cmdline.txt
doc/dates.txt
doc/display.txt
doc/messages.txt
doc/setup.txt
doc/support.txt

index e5736426f3b0589401d0842e87ca1aa2d0f66718..f787eb612cc9cf70b906cf9e64bb1f682119f724 100644 (file)
@@ -15,7 +15,7 @@ systems.
 
 When properly installed, Babel provides a script called ``pybabel``::
 
-    $ pybabel --help 
+    $ pybabel --help
     usage: pybabel command [options] [args]
 
     options:
@@ -42,7 +42,7 @@ The ``compile`` sub-command can be used to compile translation catalogs into
 binary MO files::
 
     $ pybabel compile --help
-    usage: pybabel compile [options] 
+    usage: pybabel compile [options]
 
     compile message catalogs to MO files
 
@@ -121,7 +121,7 @@ The `init` sub-command creates a new translations catalog based on a PO
 template file::
 
     $ pybabel init --help
-    usage: pybabel init [options] 
+    usage: pybabel init [options]
 
     create new message catalogs from a POT file
 
@@ -147,7 +147,7 @@ The `update` sub-command updates an existing new translations catalog based on
 a PO template file::
 
     $ pybabel update --help
-    usage: pybabel update [options] 
+    usage: pybabel update [options]
 
     update existing message catalogs from a POT file
 
index 7db2fe2b1d5e8f60d01918fae5ac6e5ac9fa840a..d0134867adf558e332c6916421c7e5ac9fb0d707 100644 (file)
@@ -180,7 +180,7 @@ Time Fields
   |          | ``S``  | Fractional second, rounds to the count of letters.     |
   |          +--------+--------------------------------------------------------+
   |          | ``A``  | Milliseconds in day.                                   |
-  +----------+--------+--------------------------------------------------------+ 
+  +----------+--------+--------------------------------------------------------+
   | Timezone | ``z``  | Use one to three letters for the short timezone or     |
   |          |        | four for the full name.                                |
   |          +--------+--------------------------------------------------------+
index cacf2023a238b0f68e96749efa672af619a468b5..fec9222b867d994bfba1ddc0a34d65eef4a58d06 100644 (file)
@@ -19,7 +19,7 @@ Imagine for example you have a list of countries that users can choose from,
 and you'd like to display the names of those countries in the language the
 user prefers. Instead of translating all those country names yourself in your
 application, you can make use of the translations provided by the locale data
-included with Babel, which is based on the `Common Locale Data Repository 
+included with Babel, which is based on the `Common Locale Data Repository
 (CLDR) <http://unicode.org/cldr/>`_ developed and maintained by the `Unicode
 Consortium <http://unicode.org/>`_.
 
index 2ecd2f1412a0d1bdbe086dff3df88667eb3e4ed1..a860b7e6b64c060522495cb340605595eac23f7c 100644 (file)
@@ -124,15 +124,15 @@ Genshi markup templates and text templates:
 .. code-block:: ini
 
     # Extraction from Python source files
-    
+
     [python: **.py]
-    
+
     # Extraction from Genshi HTML and text templates
-    
+
     [genshi: **/templates/**.html]
     ignore_tags = script,style
     include_attrs = alt title summary
-    
+
     [genshi: **/templates/**.txt]
     template_class = genshi.template:TextTemplate
     encoding = ISO-8819-15
@@ -162,9 +162,9 @@ Lines that start with a ``#`` or ``;`` character are ignored and can be used
 for comments. Empty lines are ignored, too.
 
 .. note:: if you're performing message extraction using the command Babel
-          provides for integration into ``setup.py`` scripts, you can also 
-          provide this configuration in a different way, namely as a keyword 
-          argument to the ``setup()`` function. See `Distutils/Setuptools 
+          provides for integration into ``setup.py`` scripts, you can also
+          provide this configuration in a different way, namely as a keyword
+          argument to the ``setup()`` function. See `Distutils/Setuptools
           Integration`_ for more information.
 
 .. _`distutils/setuptools integration`: setup.html
@@ -173,12 +173,12 @@ for comments. Empty lines are ignored, too.
 Default Extraction Methods
 --------------------------
 
-Babel comes with a few builtin extractors: ``python`` (which extracts 
+Babel comes with a few builtin extractors: ``python`` (which extracts
 messages from Python source files), ``javascript``, and ``ignore`` (which
 extracts nothing).
 
 The ``python`` extractor is by default mapped to the glob pattern ``**.py``,
-meaning it'll be applied to all files with the ``.py`` extension in any 
+meaning it'll be applied to all files with the ``.py`` extension in any
 directory. If you specify your own mapping configuration, this default mapping
 is discarded, so you need to explicitly add it to your mapping (as shown in the
 example above.)
@@ -189,21 +189,21 @@ example above.)
 Referencing Extraction Methods
 ------------------------------
 
-To be able to use short extraction method names such as “genshi”, you need to 
+To be able to use short extraction method names such as “genshi”, you need to
 have `pkg_resources`_ installed, and the package implementing that extraction
 method needs to have been installed with its meta data (the `egg-info`_).
 
-If this is not possible for some reason, you need to map the short names to 
-fully qualified function names in an extract section in the mapping 
+If this is not possible for some reason, you need to map the short names to
+fully qualified function names in an extract section in the mapping
 configuration. For example:
 
 .. code-block:: ini
 
     # Some custom extraction method
-    
+
     [extractors]
     custom = mypackage.module:extract_custom
-    
+
     [custom: **.ctm]
     some_option = foo
 
@@ -226,7 +226,7 @@ need to implement a function that complies with the following interface:
 
     def extract_xxx(fileobj, keywords, comment_tags, options):
         """Extract messages from XXX files.
-        
+
         :param fileobj: the file-like object the messages should be extracted
                         from
         :param keywords: a list of keywords (i.e. function names) that should
index 689b6def1885fac685cdf0c03ee3492353ba6f8b..4518445c29aeda74b62203da959b51d7ad226fd0 100644 (file)
@@ -16,7 +16,7 @@ and ``setup.py`` is using ``setuptools``. For projects that use plain old
 
     from distutils.core import setup
     from babel.messages import frontend as babel
-    
+
     setup(
         ...
         cmdclass = {'compile_catalog': babel.compile_catalog,
@@ -45,7 +45,7 @@ If the command has been correctly installed or registered, a project's
       --quiet (-q)    run quietly (turns verbosity off)
       --dry-run (-n)  don't actually do anything
       --help (-h)     show detailed help message
-    
+
     Options for 'compile_catalog' command:
        ...
 
@@ -109,7 +109,7 @@ If the command has been correctly installed or registered, a project's
       --quiet (-q)    run quietly (turns verbosity off)
       --dry-run (-n)  don't actually do anything
       --help (-h)     show detailed help message
-    
+
     Options for 'extract_messages' command:
        ...
 
@@ -135,7 +135,7 @@ function:
 .. code-block:: python
 
     setup(...
-        
+
         message_extractors = {
             'foobar': [
                 ('**.py',                'python', None),
@@ -145,7 +145,7 @@ function:
                 })
             ],
         },
-        
+
         ...
     )
 
index 15b083c611164f137dbdc799460c4593780940b2..5d17261b20503b0caa22195493a607fb48dbb7a8 100644 (file)
@@ -12,7 +12,7 @@ The ``babel.support`` modules contains a number of classes and functions that
 can help with integrating Babel, and internationalization in general, into your
 application or framework. The code in this module is not used by Babel itself,
 but instead is provided to address common requirements of applications that
-should handle internationalization. 
+should handle internationalization.
 
 
 ---------------