changeset 2543:9d1260a1c601

Minor stylistic corrections to the docs
author sharky93 <rishabhr123@gmail.com>
date Mon, 23 Sep 2013 23:06:37 +0530
parents 1055b1f90c52
children 5e595751f5b1
files docs/devel/development.rst docs/user/moinwiki.rst
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/docs/devel/development.rst	Mon Sep 23 22:46:58 2013 +0530
+++ b/docs/devel/development.rst	Mon Sep 23 23:06:37 2013 +0530
@@ -280,13 +280,13 @@
 the translation for any string can be received by passing it as a parameter to the ``_`` function,
 also defined in the same file.
 
-For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` 
+For example, if we add the following to ``i18n_dict`` in ``dictionary.js`` ::
     
-    ``"somestring"  : "{{  _("somestring") }}",``
+    "Delete this"  : "{{  _("Delete this") }}",
 
-The translated version of "somestring" can be accessed in the JavaScript code by
+The translated version of "somestring" can be accessed in the JavaScript code by ::
 
-    ``var a = _("somestring");``
+    var a = _("Delete this");
 
 
 Testing
--- a/docs/user/moinwiki.rst	Mon Sep 23 22:46:58 2013 +0530
+++ b/docs/user/moinwiki.rst	Mon Sep 23 23:06:37 2013 +0530
@@ -170,15 +170,15 @@
 |                                                   | side compression, PIL needs to be     |
 |                                                   | installed.                            |
 +---------------------------------------------------+---------------------------------------+
-| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is embe- |
-|                                                   | dded using HTML tags. Also markup     |
+| ``{{ http://moinmo.in/ || width=20 }}``           | Resizes the ``object`` which is       |
+|                                                   | embedded using HTML tags. Also markup |
 |                                                   | involving '&' parameters like ``&w``  |
 |                                                   | doesn't make much sense.              |
 +---------------------------------------------------+---------------------------------------+
 
 **Extra Info**: 
 
-The markup of ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
+Markup like ``{{ example.jpg || &w=20 }}``, simply adds ``&w`` to the ``src`` URL of the image, the Python Imaging Library (PIL)
 understands that it has to compress the image on the server side and render as shrinked to size ``20``. 
 
 For markup like ``{{ example.jpg || width=20, height=100 }}`` we currently allow only the ``width`` and ``height`` (anything