changeset 32:15f746a76acd

translator docs: fix some markup errors
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 28 Feb 2011 02:04:59 +0100
parents 084ee90bd176
children 8ab329ca6d6e
files docs/devel/translate.rst
diffstat 1 files changed, 14 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/docs/devel/translate.rst	Mon Feb 28 01:38:45 2011 +0100
+++ b/docs/devel/translate.rst	Mon Feb 28 02:04:59 2011 +0100
@@ -15,9 +15,9 @@
 1. Make sure you have the latest version of the source tree (hg).
    You will also need to have python installed.
 
-2. Go to the top directory and execute
-   ::
-     python setup.py update_catalog -l <locale>
+2. Go to the top directory and execute::
+
+       python setup.py update_catalog -l <locale>
    
    where locale is the short language descriptor of your desired
    language. It should be the name of a folder in MoinMoin/translations.
@@ -58,9 +58,9 @@
      
      
 
-4. Save the messages.po file and execute
-   ::
-     python setup.py compile_catalog -l <locale>
+4. Save the messages.po file and execute::
+
+       python setup.py compile_catalog -l <locale>
 
 
 Guidelines for translators
@@ -82,9 +82,9 @@
   1 translation and it needs to be German because that is what many
   moin developers can maintain themselves.
 
-1. Initialize a new catalog:
-   ::
-     python setup.py init_catalog -l <locale>
+1. Initialize a new catalog::
+
+       python setup.py init_catalog -l <locale>
    
 2. Adjust the ``MoinMoin/translations/<locale>/LC_MESSAGES/messages.po`` .
 
@@ -94,8 +94,8 @@
 
 3. Follow the steps above (`If your language already exists`_).
 
-First steps with a new *.po file
-````````````````````````````````
+First steps with a new ``*.po`` file
+````````````````````````````````````
 
 A newly created translation needs a few initial preparations.
 
@@ -139,7 +139,8 @@
 
 If you made changes to any gettext string, please update the .pot file
 using::
-  python setup.py extract_messages
+
+    python setup.py extract_messages
 
 Because this sometimes creates large diffs, just because of a slight
 change in line numbers, you can of course use this command sparingly.
@@ -151,3 +152,4 @@
 
 .. [#] For more information on locale strings, see
    http://www.gnu.org/software/hello/manual/gettext/Locale-Names.html.
+