Skip to content

Commit 59f6303

Browse files
committed
cleanup spelling
1 parent 3d806a7 commit 59f6303

File tree

14 files changed

+47
-29
lines changed

14 files changed

+47
-29
lines changed

book/database_layer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ versioning and access control.
3737

3838
Doctrine PHPCR-ODM has the same API as the other Doctrine libraries, like the
3939
`Doctrine ORM`_. The Doctrine PHPCR-ODM adds another great feature to PHPCR:
40-
Multilanguage support.
40+
multi-language support.
4141

4242
.. sidebar:: PHPCR Implementations
4343

book/static_content.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ developers with a small and easy to understand starting point you can extend
7878
or use as inspiration to develop your own content types, Controllers and Admin
7979
panels.
8080

81-
.. _`multilanguage support in PHPCR-ODM`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/multilang.html
8281
.. _SonataDoctrinePHPCRAdminBundle: https://github.com/sonata-project/SonataDoctrinePhpcrAdminBundle

bundles/core/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ If the ``multilang`` option is *not* defined at all, the CoreBundle registers a
210210
listener for Doctrine PHPCR-ODM that modifies PHPCR-ODM metadata to remove the
211211
translatable attribute from all fields.
212212

213-
If multilang is enabled, the ``TranslatableExtension`` for
213+
If multi-language is enabled, the ``TranslatableExtension`` for
214214
``SonataAdminBundle`` is enabled and the locales will be configured on all CMF
215215
bundles that use this configuration:
216216

bundles/create/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ reads like this:
508508
The metadata support in CreatePHP is not as powerful as in Doctrine. There
509509
are currently no drivers for annotation or yml mappings. Mappings are not
510510
inherited from a parent class but need to be repeated each time. And the
511-
mapping file must include the full namespace in the filename to be found.
511+
mapping file must include the full namespace in the file name to be found.
512512

513513
All of these issues will hopefully be fixed in later versions if people
514514
step up and contribute pull requests.

bundles/map.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ bundle based on the key bundles.
108108
Contributed Bundles
109109
~~~~~~~~~~~~~~~~~~~
110110

111-
Besides that, the Symfony CMF team also maintains some 3th party bundles which
111+
Besides that, the Symfony CMF team also maintains some third party bundles which
112112
help with integrating PHPCR concepts into the Symfony Framework.
113113

114114
* :doc:`phpcr_odm/index`

bundles/menu/menu_documents.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ locale to be set via. the ``setLocale`` method::
107107
$menuItem = ...;
108108
$menuItem->setLocale('fr');
109109

110-
See :ref:`Persisting Multilang Documents <bundles-core-multilang-persisting_multilang_documents>` for more details.
110+
See :ref:`Persisting Multi-Language Documents <bundles-core-multilang-persisting_multilang_documents>` for more details.
111111

112112
Publish Workflow
113113
~~~~~~~~~~~~~~~~

bundles/phpcr_odm/fixtures_initializers.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ Initializers have to implement the
3030
``Doctrine\Bundle\PHPCRBundle\Initializer\InitializerInterface``. If you don't
3131
need any special logic and want to create plain PHPCR nodes and not documents,
3232
you can simply define services with ``GenericInitializer``. The generic
33-
initializer expects a name to identify the initializer, an array of repository
33+
Initializer expects a name to identify the Initializer, an array of repository
3434
paths it will create if they do not exist and an optional string defining
3535
namespaces and primary / mixin node types in the CND language that should be
3636
registered with the repository.
3737

3838
.. versionadded:: 1.1
3939
Since version 1.1, the ``GenericInitializer`` expects a name parameter
4040
as first argument. With 1.0 there is no way to specify a custom name
41-
for the generic initializer.
41+
for the generic Initializer.
4242

43-
A service to use the generic initializer looks like this:
43+
A service to use the generic Initializer looks like this:
4444

4545
.. configuration-block::
4646

@@ -87,19 +87,19 @@ A service to use the generic initializer looks like this:
8787
$definition->addTag('doctrine_phpcr.initializer');
8888
$container->setDefinition('acme_content.phpcr.initializer', $definition);
8989
90-
You can execute your initializers using the following command:
90+
You can execute your Initializers using the following command:
9191

9292
.. code-block:: bash
9393
9494
$ php app/console doctrine:phpcr:repository:init
9595
9696
.. versionadded:: 1.1
9797
Since DoctrinePHPCRBundle 1.1 the load data fixtures command will
98-
automatically execute the initializers after purging the database,
98+
automatically execute the Initializers after purging the database,
9999
before executing the fixtures.
100100

101-
The generic initializer only creates PHPCR nodes. If you want to create
102-
specific documents, you need your own initializer. The interesting method
101+
The generic Initializer only creates PHPCR nodes. If you want to create
102+
specific documents, you need your own Initializer. The interesting method
103103
to overwrite is the ``init`` method. It is passed the ``ManagerRegistry``,
104104
from which you can retrieve the PHPCR session but also the document manager::
105105

@@ -149,10 +149,10 @@ from which you can retrieve the PHPCR session but also the document manager::
149149
.. versionadded:: 1.1
150150
Since version 1.1, the ``init`` method is passed the ``ManagerRegistry`` rather
151151
than the PHPCR ``SessionInterface`` to allow the creation of documents in
152-
initializers. With 1.0, you would need to manually set the ``phpcr:class``
152+
Initializers. With 1.0, you would need to manually set the ``phpcr:class``
153153
property to the right value.
154154

155-
Define a service for your initializer as follows:
155+
Define a service for your Initializer as follows:
156156

157157
.. configuration-block::
158158

bundles/phpcr_odm/multilang.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. index::
2-
single: Multilanguage; DoctrinePHPCRBundle
2+
single: Multi-Language; DoctrinePHPCRBundle
33

4-
Doctrine PHPCR-ODM Multilanguage Support
5-
========================================
4+
Doctrine PHPCR-ODM Multi-Language Support
5+
=========================================
66

7-
To use the multilanguage features of PHPCR-ODM you need to enable locales in
7+
To use the multi-language features of PHPCR-ODM you need to enable locales in
88
the configuration.
99

1010
Translation Configuration
@@ -167,14 +167,14 @@ depending on the locale.
167167
type: binary
168168
translated: true
169169
170-
Unless you explicitly interact with the multilanguage features of PHPCR-ODM,
170+
Unless you explicitly interact with the multi-language features of PHPCR-ODM,
171171
documents are loaded in the request locale and saved in the locale they where
172172
loaded. (This could be a different locale, if the PHPCR-ODM did not find the
173173
requested locale and had to fall back to an alternative locale.)
174174

175175
.. tip::
176176

177177
For more information on multilingual documents, see the
178-
`PHPCR-ODM documentation on Multilanguage`_.
178+
`PHPCR-ODM documentation on multi-language`_.
179179

180-
.. _`PHPCR-ODM documentation on Multilanguage`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/multilang.html
180+
.. _`PHPCR-ODM documentation on multi-language`: http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/reference/multilang.html

bundles/routing/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ content repository service.
547547

548548
**type**: ``array`` **default**: ``array()``
549549

550-
To enable multilanguage, set the valid locales in this option.
550+
To enable multi-language, set the valid locales in this option.
551551

552552
If the :doc:`CoreBundle <../core/introduction>` is registered, this will
553553
default to the value of ``cmf_core.locales``.

components/routing/dynamic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ from the Symfony2 component.
163163
Redirections
164164
------------
165165

166-
You can build redirections by implementing the ``RedirectRouteInterface``.
166+
You can create redirections by implementing the ``RedirectRouteInterface``.
167167
It can redirect to an absolute URI, a route name that can be generated by any
168168
Router in the chain or to another ``Route`` object.
169169

contributing/bundles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Core configuration files MUST be in **XML**, this includes:
202202
In other cases XML should be preferred over other configuration formats where
203203
there is a choice.
204204

205-
Bundles MUST adhere to the following directory and filename schema
205+
Bundles MUST adhere to the following directory and file name schema
206206
as applicable:
207207

208208
.. code-block:: text

spelling_word_list.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
admin
22
admins
33
ajax
4+
afterwards
45
api
56
app
67
assetic
78
autoloading
89
backend
910
backends
11+
balancer
12+
balancers
1013
basepath
1114
basepaths
15+
boolean
1216
blog
1317
blogging
1418
blogs
@@ -29,10 +33,13 @@ esi
2933
fallback
3034
frontend
3135
gaufrette
36+
getters
3237
github
3338
globalized
3439
html
3540
idempotency
41+
initializer
42+
initializers
3643
invalidator
3744
IO
3845
jackalope
@@ -43,16 +50,19 @@ js
4350
json
4451
jstree
4552
knp
53+
licensor
54+
login
55+
lookup
4656
lunetics
4757
metadata
4858
migrator
4959
mixin
5060
modififying
51-
multilang
52-
multilanguage
61+
multi
5362
multivalue
5463
namespace
5564
namespaces
65+
natively
5666
odm
5767
online
5868
org
@@ -62,18 +72,23 @@ pdf
6272
performant
6373
php
6474
phpcr
75+
pluggable
6576
plugin
77+
postfix
6678
pre
6779
programmatically
6880
prepend
6981
prepended
7082
prismic
7183
rdf
84+
redirections
85+
refactoring
7286
regexp
7387
remoting
7488
renderers
7589
routeable
7690
rss
91+
runtime
7792
schemas
7893
seo
7994
serializer
@@ -87,12 +102,15 @@ stylesheet
87102
stylesheets
88103
subfolder
89104
subfolders
105+
subtree
106+
subtrees
90107
symfony
91108
templating
92109
thinkpad
93110
todo
94111
toolbar
95112
travis
113+
uncomment
96114
unconfigured
97115
unix
98116
unpublishing
@@ -107,6 +125,7 @@ webserver
107125
wiki
108126
workflow
109127
workflows
128+
workspaces
110129
wysiwyg
111130
yml
112131
lifecycle

tutorial/conclusion.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Conclusion
22
==========
33

4-
And thats it! Well done. You have created a very minimum but functional
4+
And that's it! Well done. You have created a very minimum but functional
55
CMS which can act as a good foundation for larger projects!

tutorial/sonata-admin.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ No translations? Uncomment the translator in the configuration file:
189189
.. tip::
190190

191191
See :ref:`book_handling-multilang_sonata-admin` for more information
192-
on Sonata Admin and multilanguage.
192+
on Sonata Admin and multi-language.
193193

194194
When looking at the admin dashboard, you will notice that there is an entry
195195
to administrate Routes. The administration class of the RoutingBundle has

0 commit comments

Comments
 (0)