diff options
| author | Carlos de la Guardia <cguardia@yahoo.com> | 2010-05-03 22:00:51 +0000 |
|---|---|---|
| committer | Carlos de la Guardia <cguardia@yahoo.com> | 2010-05-03 22:00:51 +0000 |
| commit | 459d4c325a668a4b47cb8bb39156bdf89cd27fce (patch) | |
| tree | c2168397f6318e0e35fd94b6820e2238a498e520 | |
| parent | 0c691efc65577d3674cec7d8da678cbf8a2bc5a2 (diff) | |
| download | pyramid-459d4c325a668a4b47cb8bb39156bdf89cd27fce.tar.gz pyramid-459d4c325a668a4b47cb8bb39156bdf89cd27fce.tar.bz2 pyramid-459d4c325a668a4b47cb8bb39156bdf89cd27fce.zip | |
more trivial fixes
| -rw-r--r-- | docs/narr/i18n.rst | 8 |
1 files changed, 4 insertions, 4 deletions
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`. |
