Skip to content

Commit

Permalink
Fixing more errors in french docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Aug 13, 2012
1 parent 7aa1399 commit cc2c0bb
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 57 deletions.
6 changes: 3 additions & 3 deletions fr/core-libraries/components/email.rst
Expand Up @@ -52,6 +52,6 @@ Pour plus d'information vous devriez lire la documentation



.. meta:: :title lang=en: EmailComponent :keywords lang=en: component
subject,component delivery,php class,template layout,custom headers,template
method,filenames,alias,lib,array,email,migration,attachments,elements,sun
.. meta::
:title lang=en: EmailComponent
:keywords lang=en: component subject,component delivery,php class,template layout,custom headers,template method,filenames,alias,lib,array,email,migration,attachments,elements,sun
2 changes: 1 addition & 1 deletion fr/core-libraries/components/sessions.rst
Expand Up @@ -176,7 +176,7 @@ Création de messages de notification
<?php
$this->Session->setFlash('Message Exemple', 'default', array('class' => 'classe_exemple'));

La sortie en utilisant ``$this->Session->flash()` avec l'exemple ci
La sortie en utilisant ``$this->Session->flash()`` avec l'exemple ci
dessus sera::
<div id="flashMessage" class="classe_exemple">Message Exemple</div>
Expand Down
2 changes: 1 addition & 1 deletion fr/core-libraries/helpers/form.rst
Expand Up @@ -95,7 +95,7 @@ pleinement avantage du Helper Form (Assistant Formulaire) est


A la création de formulaires pour les modèles dans des plugins. Nous
devrons toujours utiliser la notation :term:`plugin syntax` à la création
devrons toujours utiliser la notation :term:`syntaxe de plugin` à la création
d'un formulaire. Cela assurera que le formulaire est correctement généré::

Expand Down
44 changes: 22 additions & 22 deletions fr/core-libraries/helpers/html.rst
Expand Up @@ -68,7 +68,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
:param mixed $path: Soit une chaîne du fichier css à lier, ou un tableau avec plusieurs fichiers
:param string $rel: La valeur de l'attribut tag's rel (balise rel). SI null, 'stylesheet' sera utilisé

:param array $options: Un tableau d'attributs :term:`html attributes`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Créé un ou plusieurs lien(s) vers un feuille de style CSS. Si la clef 'inline' est
définie à false dans les paramètres ``$options``, les balises de lien seront ajoutés
Expand Down Expand Up @@ -98,7 +98,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
<link rel="stylesheet" type="text/css" href="/css/menu.css" />

Vous pouvez inclure un fichiers css depuis un plugin chargé en utilisant
:term:`plugin syntax`. Pour inclure ``app/Plugin/DebugKit/webroot/css/toolbar.css``
:term:`syntaxe de plugin`. Pour inclure ``app/Plugin/DebugKit/webroot/css/toolbar.css``
Vous pouvez utiliser ce qui suit::

<?php
Expand All @@ -113,13 +113,13 @@ couvrira les méthodes du Helper Html et comment les utiliser.

.. versionchanged:: 2.1
L'option ``block`` a été ajoutée.
Le support de :term:`plugin syntax` à été ajouté.
Le support de :term:`syntaxe de plugin` à été ajouté.

.. php:method:: meta(string $type, string $url = null, array $options = array())
:param string $type: Le type de balise meta désiré.
:param mixed $url: L'url de la balise meta, soit une chaîne ou un tableau :term:`routing array`.
:param array $options: Un tableau d'attributs :term:`html attributes`.
:param mixed $url: L'url de la balise meta, soit une chaîne ou un tableau :term:`tableau routing`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Cette méthode est fournie pour le lien vers des ressources externes
comme RSS/Atom feeds et les favicons. Comme avec css(), vous pouvez
Expand Down Expand Up @@ -260,7 +260,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
.. php:method:: image(string $path, array $options = array())
:param string $path: Chemin de l'image.
:param array $options: Un tableau de :term:`html attributes`.
:param array $options: Un tableau de :term:`attributs html`.

Créé une balise image formatée. Le chemin fournit devra être relatif à
/app/webroot/img/.::
Expand Down Expand Up @@ -298,7 +298,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
<img src="http://example.com/img/logo.jpg" alt="" />

Vous pouvez inclure des fichiers images depuis un plugin chargé en utilisant
:term:`plugin syntax`. Pour inclure ``app/Plugin/DebugKit/webroot/img/icon.png``
:term:`syntaxe de plugin`. Pour inclure ``app/Plugin/DebugKit/webroot/img/icon.png``
Vous pouvez faire cela::

<?php
Expand All @@ -313,12 +313,12 @@ couvrira les méthodes du Helper Html et comment les utiliser.

.. versionchanged:: 2.1
L'option ``fullBase`` a été ajouté.
Le support de :term:`plugin syntax` a été ajouté.
Le support de :term:`syntaxe de plugin` a été ajouté.

.. php:method:: link(string $title, mixed $url = null, array $options = array(), string $confirmMessage = false)
:param string $title: Le texte à afficher comme le body (corp) du lien.
:param mixed $url: Soit la chaîne spécifiant le chemin, ou un :term:`routing array`.
:param mixed $url: Soit la chaîne spécifiant le chemin, ou un :term:`tableau routing`.
:param array $options: Un tableau d'attributs :`html attributes`.

Méthode générale pour la création de liens HTML. Utilisez les ``$options`` pour
Expand Down Expand Up @@ -429,7 +429,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
:param string $tag: Le nom de la balise créée.
:param string $text: Le contenu de la balise.
:param array $options: Un tableau d'attributs html :term:`html attributes`.
:param array $options: Un tableau d'attributs html :term:`attributs html`.

Retourne des textes enveloppé dans une balise spécifiée. Si il n'y a
pas de texte spécifié alors le contenu du <tag> sera retourné.::
Expand Down Expand Up @@ -458,7 +458,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
:param string $class: Le nom de classe de la div.
:param string $text: Le contenu de la div.
:param array $options: Un tableau d'attributs :term:`html attributes`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Utilisé des sections de balisage enveloppés dans des div. Le premier
paramètre spécifie une clasee CSS, et le second est utilisé pour fournir
Expand All @@ -477,7 +477,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
:param string $class: Le nom de classe du paragraphe.
:param string $text: Le contenu du paragraphe.
:param array $options: Un tableau d'attributs :term:`html attributes`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Retourne un texte enveloppé dans une balise CSS <p>. Si aucun texte
CSS est fourni, un simple <p> de démarrage est retourné.::
Expand All @@ -492,7 +492,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
:param mixed $url: Soit un simple fichier javascript, ou un
tableau de chaînes pour plusieurs fichiers.
:param array $options: Un tableau d'attributs :term:`html attributes`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Inclus un(des) fichier(s). Si la clef ``inline`` est définie à false dans $options, les
balises script sont additionnées au bloc ``script`` qui va s'insérer dans
Expand Down Expand Up @@ -546,7 +546,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.
echo $this->fetch('scriptPied');

Vous pouvez inclure des fichiers de script depuis un plugin en utilisant
la syntaxe :term:`plugin syntax`. Pour inclure
la syntaxe :term:`syntaxe de plugin`. Pour inclure
``app/Plugin/DebugKit/webroot/js/toolbar.js`` vous devriez faire cela::

<?php
Expand All @@ -562,12 +562,12 @@ couvrira les méthodes du Helper Html et comment les utiliser.

.. versionchanged:: 2.1
L'option ``block`` à été ajouté.
Le support de la syntaxe :term:`plugin syntax` a été ajouté.
Le support de la syntaxe :term:`syntaxe de plugin` a été ajouté.

.. php:method:: scriptBlock($code, $options = array())
:param string $code: Le code à placer dans la balise script.
:param array $options: Un tableau d'attributs :term:`html attributes`.
:param array $options: Un tableau d'attributs :term:`attributs html`.

Génère un bloc de code contenant des options ``$options['inline']`` définies
de ``$code`` a mettre à false pour voir le bloc de script apparaître dans
Expand All @@ -578,7 +578,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.

.. php:method:: scriptStart($options = array())
:param array $options: Un tableau d'attributs :term:`html attributes` à utiliser
:param array $options: Un tableau d'attributs :term:`attributs html` à utiliser
quand scriptEnd est appelé.

Débute la mise en mémoire tampon d'un bloc de code. Ce bloc de code
Expand Down Expand Up @@ -646,8 +646,8 @@ couvrira les méthodes du Helper Html et comment les utiliser.
.. php:method:: tableHeaders(array $names, array $trOptions = null, array $thOptions = null)
:param array $names: Un tableau de chaîne pour créé les entête de tableau.
:param array $trOptions: Un tableau d'attributs :term:`html attributes` pour le <tr>
:param array $thOptions: Un tableau d'attributs :term:`html attributes` pour l'élément <th>
:param array $trOptions: Un tableau d'attributs :term:`attributs html` pour le <tr>
:param array $thOptions: Un tableau d'attributs :term:`attributs html` pour l'élément <th>

Créé une ligne de cellule d'en-tête à placer dans la balise <table>.::

Expand Down Expand Up @@ -677,8 +677,8 @@ couvrira les méthodes du Helper Html et comment les utiliser.
.. php:method:: tableCells(array $data, array $oddTrOptions = null, array $evenTrOptions = null, $useCount = false, $continueOddEven = true)
:param array $data: Un tableau à deux dimensions avec les données pour les lignes.
:param array $oddTrOptions: Un tableau d'attributs :term:`html attributes` pour les <tr> impairs.
:param array $evenTrOptions: Un tableau d'attributs :term:`html attributes` pour les <tr> pairs.
:param array $oddTrOptions: Un tableau d'attributs :term:`attributs html` pour les <tr> impairs.
:param array $evenTrOptions: Un tableau d'attributs :term:`attributs html` pour les <tr> pairs.
:param boolean $useCount: Ajoute la classe "column-$i".
:param boolean $continueOddEven: Si à false, utilisera une variable $count non-statique,
ainsi le compteur impair/pair est remis à zéro juste pour cet appel.
Expand Down Expand Up @@ -726,7 +726,7 @@ couvrira les méthodes du Helper Html et comment les utiliser.

.. php:method:: url(mixed $url = NULL, boolean $full = false)
:param mixed $url: Un tableau de routing :term:`routing array`.
:param mixed $url: Un tableau de routing :term:`tableau routing`.
:param mixed $full: Soit un booléen s'il faut ou pas que la base du chemin soit
incluse ou un tableau d'options pour le router :php:meth:`Router::url()`

Expand Down
2 changes: 1 addition & 1 deletion fr/core-libraries/helpers/js.rst
Expand Up @@ -693,7 +693,7 @@ jeux de paramètres sont fournis dans le tableau ``$options`` pour la méthode.
Créé un élément ancre html qui a un événement clic rattaché.
Les options peuvent inclure celle pour :php:func:`HtmlHelper::link()`
et :php:func:`Helper Js::request()`, :php:func:`Helper Js::event()`,
``$options`` est un tableau d'attribut :term:`html attributes` qui sont
``$options`` est un tableau d'attribut :term:`attributs html` qui sont
ajoutés à l'élément ancre généré. Si une option ne fait pas partie
des attributs standard de ``$htmlAttributes`` elle sera passée à
:php:func:`Helper Js::request()` comme une option. Si une Id n'est
Expand Down
16 changes: 7 additions & 9 deletions fr/core-libraries/helpers/paginator.rst
Expand Up @@ -455,12 +455,9 @@ D'autres Méthodes

Les clefs acceptées pour ``$options``:

* **update** - L' Id de l'élément DOM que vous souhaitez actualiser. Créé
des liens près pou Ajax.
* **escape** Si vous voulez que le contenu soit encodé comme une entité html,
par défaut à true.
* **model** Le modèle à utiliser, par défaut à
PaginatorHelper::defaultModel() .
* **update** L' Id de l'élément DOM que vous souhaitez actualiser. Créé des liens près pou Ajax.
* **escape** Si vous voulez que le contenu soit encodé comme une entité html, par défaut à true.
* **model** Le modèle à utiliser, par défaut à PaginatorHelper::defaultModel().

Créé un lien ordinaire ou Ajax avec des paramètres de pagination::

Expand All @@ -474,9 +471,10 @@ D'autres Méthodes

.. php:method:: url($options = array(), $asArray = false, $model = null)
:param array $options:Tableau d'options Pagination/URL. Comme utilisé dans
les méthodes ``options()`` ou ``link()``.
:param boolean $asArray: Retourne l'url comme dans un tableau, ou une chaîne URL. Par défaut à false.
:param array $options: Tableau d'options Pagination/URL. Comme utilisé
dans les méthodes ``options()`` ou ``link()``.
:param boolean $asArray: Retourne l'url comme dans un tableau, ou une
chaîne URL. Par défaut à false.
:param string $model: Le modèle sur lequel paginer

Par défaut retourne une chaîne d'Url complètement paginée à utiliser
Expand Down
2 changes: 1 addition & 1 deletion fr/core-libraries/helpers/session.rst
Expand Up @@ -14,7 +14,7 @@ Component is that the helper does *not* have the ability to write
to the session.

As with the Session Component, data is read by using
:term:`dot notation` array structures::
:term:`notation avec points` array structures::

<?php
array('User' =>
Expand Down
6 changes: 3 additions & 3 deletions fr/core-libraries/helpers/text.rst
Expand Up @@ -19,7 +19,7 @@ truncating long stretches of text.
.. php:method:: autoLinkEmails(string $text, array $options=array())
:param string $text: The text to convert.
:param array $options: An array of :term:`html attributes` for the generated links.
:param array $options: An array of :term:`attributs html` for the generated links.

Adds links to the well-formed email addresses in $text, according
to any options defined in ``$htmlOptions`` (see
Expand All @@ -41,7 +41,7 @@ truncating long stretches of text.
.. php:method:: autoLinkUrls(string $text, array $htmlOptions=array())
:param string $text: The text to convert.
:param array $htmlOptions: An array :term:`html attributes` for the generated links
:param array $htmlOptions: An array :term:`attributs html` for the generated links

Same as in ``autoLinkEmails()``, only this method searches for
strings that start with https, http, ftp, or nntp and links them
Expand All @@ -54,7 +54,7 @@ truncating long stretches of text.
.. php:method:: autoLink(string $text, array $htmlOptions=array())
:param string $text: The text to autolink.
:param array $htmlOptions: An array :term:`html attributes` for the generated links
:param array $htmlOptions: An array :term:`attributs html` for the generated links

Performs the functionality in both ``autoLinkUrls()`` and
``autoLinkEmails()`` on the supplied ``$text``. All URLs and emails
Expand Down
2 changes: 1 addition & 1 deletion fr/core-utility-libraries/email.rst
Expand Up @@ -240,7 +240,7 @@ When setting helpers be sure to include 'Html' or it will be removed from the
helpers loaded in your email template.

If you want to send email using templates in a plugin you can use the familiar
:term:`plugin syntax` to do so::
:term:`syntaxe de plugin` to do so::

<?php
$email = new CakeEmail();
Expand Down
12 changes: 6 additions & 6 deletions fr/development/configuration.rst
Expand Up @@ -50,7 +50,7 @@ Key
datasource
The name of the datasource this configuration array is for.
Examples: Database/Mysql, Database/Sqlserver, Database/Postgres, Database/Sqlite.
You can use :term:`plugin syntax` to indicate plugin datasource to use.
You can use :term:`syntaxe de plugin` to indicate plugin datasource to use.
persistent
Whether or not to use a persistent connection to the database.
host
Expand Down Expand Up @@ -334,7 +334,7 @@ anywhere within your application, in a static context::

.. php:staticmethod:: write($key, $value)
:param string $key: The key to write, can use be a :term:`dot notation` value.
:param string $key: The key to write, can use be a :term:`notation avec points` value.
:param mixed $value: The value to store.

Use ``write()`` to store data in the application’s configuration::
Expand All @@ -345,7 +345,7 @@ anywhere within your application, in a static context::

.. note::

The :term:`dot notation` used in the ``$key`` parameter can be used to
The :term:`notation avec points` used in the ``$key`` parameter can be used to
organize your configuration settings into logical groups.

The above example could also be written in a single call::
Expand All @@ -362,7 +362,7 @@ anywhere within your application, in a static context::

.. php:staticmethod:: read($key = null)
:param string $key: The key to read, can use be a :term:`dot notation` value
:param string $key: The key to read, can use be a :term:`notation avec points` value

Used to read configuration data from the application. Defaults to
CakePHP’s important debug value. If a key is supplied, the data is
Expand All @@ -382,7 +382,7 @@ anywhere within your application, in a static context::

.. php:staticmethod:: delete($key)
:param string $key: The key to delete, can use be a :term:`dot notation` value
:param string $key: The key to delete, can use be a :term:`notation avec points` value

Used to delete information from the application’s configuration::

Expand Down Expand Up @@ -576,7 +576,7 @@ Built-in Configuration readers
Allows you to read configuration files that are stored as plain PHP files.
You can read either files from your ``app/Config`` or from plugin configs
directories by using :term:`plugin syntax`. Files **must** contain a ``$config``
directories by using :term:`syntaxe de plugin`. Files **must** contain a ``$config``
variable. An example configuration file would look like::

<?php
Expand Down
10 changes: 5 additions & 5 deletions fr/development/routing.rst
Expand Up @@ -554,7 +554,7 @@ Either of the above would output::
$this->passedArgs may also contain named parameters as a named
array mixed with Passed arguments.

When generating urls, using a :term:`routing array` you add passed
When generating urls, using a :term:`tableau routing` you add passed
arguments as values without string keys in the array::

<?php
Expand Down Expand Up @@ -623,7 +623,7 @@ in the router use :php:meth:`Router::connectNamed()`::
Will ensure that your chapter and section parameters reverse route
correctly.

When generating urls, using a :term:`routing array` you add named
When generating urls, using a :term:`tableau routing` you add named
parameters as values with string keys matching the name::

<?php
Expand Down Expand Up @@ -774,7 +774,7 @@ Reverse routing

Reverse routing is a feature in CakePHP that is used to allow you to
easily change your url structure without having to modify all your code.
By using :term:`routing arrays <routing array>` to define your urls, you can
By using :term:`routing arrays <tableau routing>` to define your urls, you can
later configure routes and the generated urls will automatically update.

If you create urls using strings like::
Expand Down Expand Up @@ -954,7 +954,7 @@ Router API
:param string $route: A route template that dictates which urls should
be redirected.
:param mixed $url: Either a :term:`routing array` or a string url
:param mixed $url: Either a :term:`tableau routing` or a string url
for the destination of the redirect.
:param array $options: An array of options for the redirect.

Expand Down Expand Up @@ -983,7 +983,7 @@ Router API
.. php:staticmethod:: url($url = null, $full = false)
:param mixed $url: Cake-relative URL, like "/products/edit/92" or
"/presidents/elect/4" or a :term:`routing array`
"/presidents/elect/4" or a :term:`tableau routing`
:param mixed $full: If (bool) true, the full base URL will be prepended
to the result. If an array accepts the following keys

Expand Down
2 changes: 1 addition & 1 deletion fr/getting-started/a-typical-cakephp-request.rst
Expand Up @@ -10,7 +10,7 @@ CakePHP.

.. figure:: /_static/img/typical-cake-request.gif
:align: center
:alt:Diagramme représentant une requête CakePHP typique.
:alt: Diagramme représentant une requête CakePHP typique.

Diagramme représentant une requête CakePHP typique.

Expand Down

0 comments on commit cc2c0bb

Please sign in to comment.