]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
trim obsolete sentence re: i18n extension 403/head
authorChad Whitacre <chad@zetaweb.com>
Thu, 5 Feb 2015 19:53:19 +0000 (14:53 -0500)
committerChad Whitacre <chad@zetaweb.com>
Thu, 5 Feb 2015 19:53:19 +0000 (14:53 -0500)
This sentence seems like a leftover from when i18n was the only extension available, eh?

docs/extensions.rst

index 2d9493f01edf49bd1389bc6784a3b6a2991f718a..0825fd4f9b7343afefff38bab60c3bdaadfe6067 100644 (file)
@@ -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