From 459d4c325a668a4b47cb8bb39156bdf89cd27fce Mon Sep 17 00:00:00 2001 From: Carlos de la Guardia Date: Mon, 3 May 2010 22:00:51 +0000 Subject: more trivial fixes --- docs/narr/i18n.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/narr/i18n.rst b/docs/narr/i18n.rst index aa00673bc..2c37713e8 100644 --- a/docs/narr/i18n.rst +++ b/docs/narr/i18n.rst @@ -322,7 +322,7 @@ In particular, add the ``Babel`` distribution to the ) The ``message_extractors`` stanza placed into the ``setup.py`` file -cause the :term:`Babel` message catalog extraction machinery to also +causes the :term:`Babel` message catalog extraction machinery to also consider ``**.pt`` files when doing message id extraction. .. index:: @@ -609,7 +609,7 @@ locale negotiator returns ``None``. You can change the default locale name by changing the ``default_locale_name`` setting; see :ref:`default_locale_name_setting`. -Once :func:`repoze.bfg.i18n.get_locale_name` has run once, the locale +Once :func:`repoze.bfg.i18n.get_locale_name` is first run, the locale name is stored on the request object. Subsequent calls to :func:`repoze.bfg.i18n.get_locale_name` will return the stored locale name without invoking the :term:`locale negotiator`. To avoid this @@ -888,7 +888,7 @@ configuration using either imperative configuration or ZCML. A message catalog in a translation directory added via :meth:`repoze.bfg.configuration.Configurator.add_translation_dirs` - will be merged into translations from an message catalog added earlier + will be merged into translations from a message catalog added earlier if both translation directories contain translations for the same locale and :term:`translation domain`. @@ -904,7 +904,7 @@ configuration using either imperative configuration or ZCML. A message catalog in a translation directory added via :ref:`translationdir_directive` will be merged into translations from - an message catalog added earlier if both translation directories + a message catalog added earlier if both translation directories contain translations for the same locale and :term:`translation domain`. -- cgit v1.2.3