summaryrefslogtreecommitdiff
path: root/docs/narr/i18n.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-09-24 00:19:15 -0700
committerChris McDonough <chrism@plope.com>2011-09-24 00:19:15 -0700
commit50242db18dcafe01c755e22d6d45310bc5f5f9f3 (patch)
treec57c9a9797e29027c027c4eb65ad4735ca7a6214 /docs/narr/i18n.rst
parentacefa30d7f2329acd545ab479fb983d988972f05 (diff)
parent012b9762cd0b114b6afbf2d6356554b51706804a (diff)
downloadpyramid-50242db18dcafe01c755e22d6d45310bc5f5f9f3.tar.gz
pyramid-50242db18dcafe01c755e22d6d45310bc5f5f9f3.tar.bz2
pyramid-50242db18dcafe01c755e22d6d45310bc5f5f9f3.zip
Merge pull request #285 from michr/012b9762
fix up all the ..note and ..warnings.
Diffstat (limited to 'docs/narr/i18n.rst')
-rw-r--r--docs/narr/i18n.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst
index aef9b59ab..bac86e982 100644
--- a/docs/narr/i18n.rst
+++ b/docs/narr/i18n.rst
@@ -518,7 +518,9 @@ negotiator is registered.
def aview(request):
locale = get_localizer(request)
-.. note:: If you need to create a localizer for a locale use the
+.. note::
+
+ If you need to create a localizer for a locale use the
:func:`pyramid.i18n.make_localizer` function.
.. index::
@@ -555,7 +557,9 @@ represented by the request. The translation returned from its
``domain`` attribute of the provided translation string as well as the
locale of the localizer.
-.. note:: If you're using :term:`Chameleon` templates, you don't need
+.. note::
+
+ If you're using :term:`Chameleon` templates, you don't need
to pre-translate translation strings this way. See
:ref:`chameleon_translation_strings`.