From e53659d0d5fd80ef8c65c22725c30d5783124d68 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Thu, 5 Feb 2015 14:53:19 -0500 Subject: [PATCH] trim obsolete sentence re: i18n extension This sentence seems like a leftover from when i18n was the only extension available, eh? --- docs/extensions.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/extensions.rst b/docs/extensions.rst index 2d9493f0..0825fd4f 100644 --- a/docs/extensions.rst +++ b/docs/extensions.rst @@ -27,10 +27,9 @@ i18n Extension **Import name:** `jinja2.ext.i18n` -Jinja2 currently comes with one extension, the i18n extension. It can be -used in combination with `gettext`_ or `babel`_. If the i18n extension is -enabled Jinja2 provides a `trans` statement that marks the wrapped string as -translatable and calls `gettext`. +The i18n extension can be used in combination with `gettext`_ or `babel`_. If +the i18n extension is enabled Jinja2 provides a `trans` statement that marks +the wrapped string as translatable and calls `gettext`. After enabling, dummy `_` function that forwards calls to `gettext` is added to the environment globals. An internationalized application then has to -- 2.47.2