Skip to content

Commit 9104ad2

Browse files
committed
typos + build warning
1 parent 178953c commit 9104ad2

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

en/contributing/documentation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,5 +462,5 @@ Samples
462462

463463

464464
.. meta::
465-
:title lang=en: Documentation
465+
:title lang=en: Documentation
466466
:keywords lang=en: partial translations,translation efforts,html entities,text markup,asfd,asdf,structured text,english content,markdown,formatted text,dot org,repo,consistency,translator,freenode,textile,improvements,syntax,cakephp,submission

en/core-libraries/helpers/rss.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ View
113113
Our view, located at ``app/View/Posts/rss/index.ctp``, begins by
114114
setting the ``$documentData`` and ``$channelData`` variables for the
115115
layout, these contain all the metadata for our RSS feed. This is
116-
done by using the :php:meth:`View::set()`` method which is analogous to the
117-
Controller::set() method. Here though we are passing the channel's
116+
done by using the :php:meth:`View::set()` method which is analogous to the
117+
:php:meth:`Controller::set()` method. Here though we are passing the channel's
118118
metadata back to the layout::
119119

120120
$this->set('channelData', array(
@@ -178,7 +178,7 @@ You can see above that we can use the loop to prepare the data to be transformed
178178
into XML elements. It is important to filter out any non-plain text characters
179179
out of the description, especially if you are using a rich text editor for the
180180
body of your blog. In the code above we used ``strip_tags()`` and
181-
:php:func:`h()` to remove/escape any XML special characaters from the content,
181+
:php:func:`h()` to remove/escape any XML special characters from the content,
182182
as they could cause validation errors. Once we have set up the data for the
183183
feed, we can then use the :php:meth:`RssHelper::item()` method to create the XML
184184
in RSS format. Once you have all this setup, you can test your RSS feed by going

fr/core-libraries/helpers/rss.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ View
116116
Notre vue, localisée dans ``app/View/Posts/rss/index.ctp``, commence par
117117
définir les variables ``$documentData`` et ``$channelData`` pour le layout,
118118
celles-ci contiennent toutes les metadonnées pour notre flux RSS. C'est fait
119-
en utilisant la méthode :php:meth:`View::set()`` qui est analogue à la
120-
méthode Controller::set(). Ici nous passons les canaux de données en retour au
121-
layout::
119+
en utilisant la méthode :php:meth:`View::set()` qui est analogue à la
120+
méthode :php:meth:`View::set()`. Ici nous passons les canaux de données en
121+
retour au layout::
122122

123123
$this->set('channelData', array(
124124
'title' => __("Most Recent Posts"),
@@ -177,7 +177,7 @@ pour chaque pair de valeur de clé.
177177
}
178178

179179
Vous pouvez voir ci-dessus que nous pouvons utiliser la boucle pour préparer
180-
les données devant être transformées en elements XML. Il est important de
180+
les données devant être transformées en éléments XML. Il est important de
181181
filtrer tout texte de caractères non brute en-dehors de la description,
182182
spécialement si vous utilisez un éditeur de texte riche pour le corps de votre
183183
blog. Dans le code ci-dessus nous utilisons ``strip_tags()`` et

0 commit comments

Comments
 (0)