Fix typos

This commit is contained in:
Pierre Grimaud
2020-04-24 01:14:34 +02:00
committed by Fabien Potencier
parent e3ff236877
commit 0273057622
21 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ The ``data_uri`` filter generates a URL using the data scheme as defined in RFC
$ composer req twig/html-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Html\HtmlExtension;
+1 -1
View File
@@ -60,7 +60,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -17,7 +17,7 @@ the ``format_datetime`` filter, but without the time.
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -52,7 +52,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -103,7 +103,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -17,7 +17,7 @@ the ``format_datetime`` filter, but without the date.
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -44,7 +44,7 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Markdown\MarkdownExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ You can also use the filter on an included file:
$ composer req twig/inky-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Inky\InkyExtension;
+1 -1
View File
@@ -56,7 +56,7 @@ Note that the CSS inliner works on an entire HTML document, not a fragment.
$ composer req twig/cssinliner-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\CssInliner\CssInlinerExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -32,7 +32,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -43,7 +43,7 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Markdown\MarkdownExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -22,7 +22,7 @@ with a given country code:
$ composer req twig/intl-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -25,7 +25,7 @@ names together:
$ composer req twig/html-extra
Then, use the ``twig/extra-bundle`` on Symfony projects or add the extension
explictly on the Twig environment::
explicitly on the Twig environment::
use Twig\Extra\Html\HtmlExtension;
+1 -1
View File
@@ -128,7 +128,7 @@ The scoping rules are the same whether you imported macros via ``import`` or
Imported macros are always **local** to the current template. It means that
macros are available in all blocks and other macros defined in the current
template, but they are not available in included templates or child templates;
you need to explicitely re-import macros in each template.
you need to explicitly re-import macros in each template.
When calling ``import`` or ``from`` from a ``block`` tag, the imported macros
are only defined in the current block and they override macros defined at the
+1 -1
View File
@@ -41,7 +41,7 @@ final class HtmlExtension extends AbstractExtension
/**
* Creates a data URI (RFC 2397).
*
* Length validation is not perfomed on purpose, validation should
* Length validation is not performed on purpose, validation should
* be done before calling this filter.
*
* @return string The generated data URI
+1 -1
View File
@@ -265,7 +265,7 @@ function twig_escape_filter(Environment $env, $string, $strategy = 'html', $char
/*
* A few characters have short escape sequences in JSON and JavaScript.
* Escape sequences supported only by JavaScript, not JSON, are ommitted.
* Escape sequences supported only by JavaScript, not JSON, are omitted.
* \" is also supported but omitted, because the resulting string is not HTML safe.
*/
static $shortMap = [