Skip to content

Commit

Permalink
Merge pull request cakephp#5133 from cakephp/3.0-fr
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot authored Jul 30, 2017
2 parents bacb0fd + 539c757 commit fb3d15a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/elasticsearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ plugin::

namespace App\Model\Document;

use Cake\ElasticSearch\Type;
use Cake\ElasticSearch\Document;

class Article extends Document
{
Expand Down
9 changes: 9 additions & 0 deletions fr/appendices/3-5-migration-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,15 @@ le moteur était mal configuré ou indisponible. Reportez-vous à la section
:ref:`cache-configuration-fallback` pour plus d'informations sur la configuration
de 'fallbacks' pour vos configurations de cache.

Console Integration Testing
---------------------------

La classe ``Cake\TestSuite\ConsoleIntegrationTestCase`` a été ajoutée pour
faciliter les tests d'intégration des applications console. Pour plus d'informations
rendez-vous à la section :ref:`console-integration-testing`. Cette classe de
test est compatible avec le dispatcher de shell actuel mais aussi avec le
nouveau ``Cake\Console\CommandRunner``.

Core
----

Expand Down
2 changes: 2 additions & 0 deletions fr/development/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1464,6 +1464,8 @@ activé. Vous pouvez utiliser ceci afin que votre test marche dans les deux cas:

json_encode($data, Configure::read('debug') ? JSON_PRETTY_PRINT : 0);

.. _console-integration-testing:

Tests d'Intégration de la Console
=================================

Expand Down
2 changes: 2 additions & 0 deletions fr/elasticsearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ plugin::

namespace App\Model\Document;

use Cake\ElasticSearch\Document;

class Article extends Document
{
}
Expand Down
4 changes: 3 additions & 1 deletion fr/orm/table-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ beforeSave
L'event ``Model.beforeSave`` est déclenché avant que chaque entity ne soit
sauvegardée. Stopper cet event va annuler l'opération de sauvegarde. Quand
l'event est stoppé, le résultat de l'event sera retourné.
La manière de stopper un event est documentée :ref:`ici <stopping-events>`.

afterSave
---------
Expand Down Expand Up @@ -313,7 +314,8 @@ beforeDelete
L'event ``Model.beforeDelete`` est déclenché avant qu'une entity ne soit
supprimée. En stoppant cet event, vous allez annuler l'opération de
suppression.
suppression. Quand l'event est stoppé le résultat de l'event sera retourné.
La manière de stopper un event est documentée :ref:`ici <stopping-events>`.

afterDelete
-----------
Expand Down
2 changes: 2 additions & 0 deletions ja/elasticsearch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ Document クラスは、アプリケーションやプラグイン内の ``Model

namespace App\Model\Document;

use Cake\ElasticSearch\Document;

class Article extends Document
{
}
Expand Down

0 comments on commit fb3d15a

Please sign in to comment.