diff options
Diffstat (limited to 'docs/api/i18n.rst')
| -rw-r--r-- | docs/api/i18n.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/api/i18n.rst b/docs/api/i18n.rst index 604bf7cd1..a67350b64 100644 --- a/docs/api/i18n.rst +++ b/docs/api/i18n.rst @@ -5,15 +5,15 @@ .. automodule:: repoze.bfg.i18n - .. autofunction:: get_translator(request) + .. autoclass:: TranslationString + + .. autoclass:: TranslationStringFactory + + .. autoinstance:: bfg_tstr - .. function:: msg(text, domain=None, default=None, mapping=None) + .. autofunction:: get_translator(request) - Create a :class:`repoze.bfg.i18n.TranslationString` instance in - the ``bfg`` domain. If this is a "technical" translation, use a - opaque string for ``text``, and make the ``default`` the format - string. if this is a nontechnical translation, pass ``text`` - without a ``default``. + .. autofunction:: interpolate .. autoclass:: InterpolationOnlyTranslator |
