瀏覽代碼

Merge pull request #1779 from baruica/master

fixed some english grammar
Thomas 11 年之前
父節點
當前提交
db176158c9
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Resources/doc/reference/dashboard.rst
  2. 2 2
      Resources/doc/reference/templates.rst

+ 1 - 1
Resources/doc/reference/dashboard.rst

@@ -130,7 +130,7 @@ Using the ``config.yml``
 ^^^^^^^^^^^^^^^^^^^^^^^^
 
 You can also configure the ``Admin`` list in your ``config.yml`` file. This
-configuration method overrides the any settings defined in the Admin service
+configuration method overrides any settings defined in the Admin service
 declarations.
 
 .. configuration-block::

+ 2 - 2
Resources/doc/reference/templates.rst

@@ -14,7 +14,7 @@ Global Templates
 ----------------
 
 ``SonataAdminBundle`` views are implemented using ``twig`` files, and take full advantage of its
-inheritance capabilities. As such, even the most simple page is actually be rendered using many
+inheritance capabilities. As such, even the most simple page is actually rendered using many
 different ``twig`` files. At the end of that ``twig`` inheritance hierarchy is always one of two files:
 
 * layout: SonataAdminBundle::standard_layout.html.twig
@@ -164,7 +164,7 @@ specify the templates to use in the ``Admin`` service definition:
 .. note::
 
     A ``setTemplates(array $templates)`` (notice the plural) function also exists, that allows
-    you to set multiple templates at once. Notice that, if used outside the service definition
+    you to set multiple templates at once. Notice that, if used outside of the service definition
     context, ``setTemplates(array $templates)`` will replace the whole template list for that
     ``Admin`` class, meaning you have to explicitly pass the full template list in the
     ``$templates`` argument.