You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/10/02 21:59:27 UTC

[20/51] [partial] CB-4975 Add 3.1.0 version of non-english docs.

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/globalization/globalization.stringToDate.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/globalization/globalization.stringToDate.md b/docs/fr/3.1.0/cordova/globalization/globalization.stringToDate.md
new file mode 100644
index 0000000..3c6d576
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/globalization/globalization.stringToDate.md
@@ -0,0 +1,105 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.stringToDate
+
+Analyse une date mise en forme comme une chaîne, en fonction des préférences de l'utilisateur et du calendrier en utilisant le fuseau horaire du client, du client et retourne l'objet date correspondante.
+
+    navigator.globalization.stringToDate(dateString, successCallback, errorCallback, options);
+    
+
+## Description
+
+Retourne la date du rappel de succès avec un `properties` objet comme paramètre. Cet objet doit avoir les propriétés suivantes :
+
+*   **année**: l'année à quatre chiffres. *(Nombre)*
+
+*   **mois**: le mois de (0-11). *(Nombre)*
+
+*   **jour**: le jour de (1-31). *(Nombre)*
+
+*   **heure**: l'heure du (0-23). *(Nombre)*
+
+*   **minute**: la minute (0-59). *(Nombre)*
+
+*   **deuxième**: la seconde de (0 à 59). *(Nombre)*
+
+*   **milliseconde**: les millisecondes (entre 0 et 999), non disponibles sur toutes les plateformes. *(Nombre)*
+
+Les entrants `dateString` paramètre doit être de type`String`.
+
+Le `options` paramètre est facultatif et par défaut les valeurs suivantes :
+
+    {formatLength: « court », sélecteur: « date et heure »}
+    
+
+Le `options.formatLength` peut être `short` , `medium` , `long` , ou `full` . Le `options.selector` peut être `date` , `time` ou`date and
+time`.
+
+S'il y a une erreur, l'analyse de la chaîne de date, puis le `errorCallback` s'exécute avec un `GlobalizationError` objet comme paramètre. Code attendu de l'erreur est`GlobalizationError.PARSING\_ERROR`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 8
+
+## Petit exemple
+
+Lorsque le navigateur est configuré pour la `en\_US` locale, cela permet d'afficher une boîte de dialogue contextuelle avec un texte semblable à `month:8 day:25 year:2012` . Notez que le mois entier est l'un de moins que la chaîne, comme le nombre entier de mois représente un index de tableau.
+
+    navigator.globalization.stringToDate(
+        '9/25/2012',
+        function (date) {alert('month:' + date.month +
+                               ' day:'  + date.day   +
+                               ' year:' + date.year  + '\n');},
+        function () {alert('Error getting date\n');},
+        {selector: 'date'}
+    );
+    
+
+## Exemple complet
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>stringToDate Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkStringDate() {
+          navigator.globalization.stringToDate(
+            '9/25/2012',
+            function (date) {alert('month:' + date.month +
+                                   ' day:' + date.day +
+                                   ' year:' + date.year + '\n');},
+            function () {alert('Error getting date\n');},
+            {selector:'date'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkStringDate()">Click for parsed date</button>
+      </body>
+    </html>
+    
+
+## Windows Phone 8 Quirks
+
+*   Le `formatLength` prend en charge uniquement l'option `short` et `full` valeurs.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/globalization/globalization.stringToNumber.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/globalization/globalization.stringToNumber.md b/docs/fr/3.1.0/cordova/globalization/globalization.stringToNumber.md
new file mode 100644
index 0000000..7a0d277
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/globalization/globalization.stringToNumber.md
@@ -0,0 +1,79 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# globalization.stringToNumber
+
+Analyse un nombre mis en forme comme une chaîne selon les préférences de l'utilisateur du client et renvoie le numéro du correspondant.
+
+    navigator.globalization.stringToNumber(string, successCallback, errorCallback, options);
+    
+
+## Description
+
+Retourne le nombre de la `successCallback` avec un `properties` objet comme paramètre. Cet objet doit avoir une `value` propriété avec une `Number` valeur.
+
+S'il y a une erreur, l'analyse de la chaîne de numéro, puis le `errorCallback` s'exécute avec un `GlobalizationError` objet comme paramètre. Code attendu de l'erreur est`GlobalizationError.PARSING\_ERROR`.
+
+Le `options` paramètre est facultatif et par défaut les valeurs suivantes :
+
+    {type: « decimal »}
+    
+
+Le `options.type` peut être `decimal` , `percent` , ou`currency`.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 8
+
+## Petit exemple
+
+Lorsque le navigateur est configuré pour la `en\_US` locale, cela doit afficher une boîte de dialogue contextuelle avec un texte semblable à `number: 1234.56` :
+
+    navigator.globalization.stringToNumber(
+        '1234.56',
+        function (number) {alert('number: ' + number.value + '\n');},
+        function () {alert('Error getting number\n');},
+        {type:'decimal'}
+    );
+    
+
+## Exemple complet
+
+    <!DOCTYPE HTML>
+    <html>
+      <head>
+        <title>stringToNumber Example</title>
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        function checkNumber() {
+          navigator.globalization.stringToNumber(
+            '1234.56',
+            function (number) {alert('number: ' + number.value + '\n');},
+            function () {alert('Error getting number\n');},
+            {type:'decimal'}
+          );
+        }
+    
+        </script>
+      </head>
+      <body>
+        <button onclick="checkNumber()">Click for parsed number</button>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/inappbrowser/inappbrowser.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/inappbrowser/inappbrowser.md b/docs/fr/3.1.0/cordova/inappbrowser/inappbrowser.md
new file mode 100644
index 0000000..516a74b
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/inappbrowser/inappbrowser.md
@@ -0,0 +1,497 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# InAppBrowser
+
+> `InAppBrowser` désigne une vue de navigateur Web s'affichant après un appel à `window.open()`, ou via un lien formulé de la façon suivante `<a target="_blank">`.
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    
+
+**Remarque :** une fenêtre InAppBrowser se comporte comme un navigateur Web standard et ne peut pas accéder aux API Cordova.
+
+## Description
+
+L'objet retourné par un appel à `window.open`.
+
+## Méthodes
+
+*   addEventListener
+*   removeEventListener
+*   close
+*   show
+*   executeScript
+*   insertCSS
+
+## Accéder à la fonctionnalité
+
+Depuis la version 3.0, Cordova implémente les API liées à l'appareil en tant que *plugins*. Utiliser la commande `plugin` de l'Interface en Ligne de Commande, décrite dans la section intitulée L'Interface en Ligne de Commande, afin d'ajouter ou retirer cette fonctionnalité à un projet :
+
+        $ cordova plugin add org.apache.cordova.inappbrowser
+        $ cordova plugin ls
+        [ 'org.apache.cordova.inappbrowser' ]
+        $ cordova plugin rm org.apache.cordova.inappbrowser
+    
+
+Ces commandes s'appliquent à toutes les plates-formes ciblées mais modifient les paramètres de configuration spécifiques aux différentes plates-formes tel que décrit ci-dessous :
+
+*   Android (dans `app/res/xml/config.xml`)
+    
+        <feature name="InAppBrowser">
+            <param name="android-package" value="org.apache.cordova.InAppBrowser" />
+        </feature>
+        
+
+*   iOS (dans `config.xml`)
+    
+        <feature name="InAppBrowser">
+            <param name="ios-package" value="CDVInAppBrowser" />
+        </feature>
+        
+
+*   Windows Phone 7 et 8 (dans `config.xml`)
+    
+        <feature name="InAppBrowser" />
+        
+
+Certaines plates-formes peuvent prendre en charge cette fonctionnalité sans nécessiter aucune configuration spéciale. Voir *Support de plate-forme* dans la section vue d'ensemble.
+
+# addEventListener
+
+> Ajoute un écouteur pour un évènement de la fenêtre `InAppBrowser`.
+
+    ref.addEventListener(eventname, callback);
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+*   **eventname** : l'évènement à écouter *(String)*
+    
+    *   **loadstart** : évènement déclenché lorsque le chargement d'une URL débute dans la fenêtre `InAppBrowser`.
+    *   **loadstop** : évènement déclenché lorsque la fenêtre `InAppBrowser` finit de charger une URL.
+    *   **loaderror** : évènement déclenché si la fenêtre `InAppBrowser` rencontre une erreur lors du chargement d'une URL.
+    *   **exit** : évènement déclenché lorsque la fenêtre `InAppBrowser` est fermée.
+
+*   **callback** : la fonction à exécuter lorsque l'évènement se déclenche. Un objet `InAppBrowserEvent` lui est transmis comme paramètre.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+*   Windows Phone 7 et 8
+
+## Petit exemple
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    ref.addEventListener('loadstart', function() { alert(event.url); });
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.addEventListener Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+             var ref = window.open('http://apache.org', '_blank', 'location=yes');
+             ref.addEventListener('loadstart', function(event) { alert('start: ' + event.url); });
+             ref.addEventListener('loadstop', function(event) { alert('stop: ' + event.url); });
+             ref.addEventListener('loaderror', function(event) { alert('error: ' + event.message); });
+             ref.addEventListener('exit', function(event) { alert(event.type); });
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# removeEventListener
+
+> Supprime un écouteur pour un évènement de la fenêtre `InAppBrowser`.
+
+    ref.removeEventListener(eventname, callback);
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+*   **eventname** : l'évènement pour lequel arrêter l'écoute. *(String)*
+    
+    *   **loadstart** : évènement déclenché lorsque le chargement d'une URL débute dans la fenêtre `InAppBrowser`.
+    *   **loadstop** : évènement déclenché lorsque la fenêtre `InAppBrowser` finit de charger une URL.
+    *   **loaderror** : évènement déclenché si la fenêtre `InAppBrowser` rencontre une erreur lors du chargement d'une URL.
+    *   **exit** : évènement déclenché lorsque la fenêtre `InAppBrowser` est fermée.
+
+*   **callback** : la fonction à exécuter lorsque l'évènement se déclenche. Un objet `InAppBrowserEvent` lui est transmis comme paramètre.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+*   Windows Phone 7 et 8
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    var myCallback = function() { alert(event.url); }
+    ref.addEventListener('loadstart', myCallback);
+    ref.removeEventListener('loadstart', myCallback);
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.removeEventListener Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // Global InAppBrowser reference
+        var iabRef = null;
+    
+        function iabLoadStart(event) {
+            alert(event.type + ' - ' + event.url);
+        }
+    
+        function iabLoadStop(event) {
+            alert(event.type + ' - ' + event.url);
+        }
+    
+        function iabLoadError(event) {
+            alert(event.type + ' - ' + event.message);
+        }
+    
+        function iabClose(event) {
+             alert(event.type);
+             iabRef.removeEventListener('loadstart', iabLoadStart);
+             iabRef.removeEventListener('loadstop', iabLoadStop);
+             iabRef.removeEventListener('loaderror', iabLoadError);
+             iabRef.removeEventListener('exit', iabClose);
+        }
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+             iabRef = window.open('http://apache.org', '_blank', 'location=yes');
+             iabRef.addEventListener('loadstart', iabLoadStart);
+             iabRef.addEventListener('loadstop', iabLoadStop);
+             iabRef.removeEventListener('loaderror', iabLoadError);
+             iabRef.addEventListener('exit', iabClose);
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# close
+
+> Ferme la fenêtre `InAppBrowser`.
+
+    ref.close();
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+*   Windows Phone 7 et 8
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    ref.close();
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.close Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+             var ref = window.open('http://apache.org', '_blank', 'location=yes');
+             // close InAppBrowser after 5 seconds
+             setTimeout(function() {
+                 ref.close();
+             }, 5000);
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# show
+
+> Affiche une fenêtre InAppBrowser qui a été ouverte cachée. Appeler cette méthode n'a aucun effet si la fenêtre en question est déjà visible.
+
+    ref.show();
+    
+
+*   **ref :** référence à la fenêtre InAppBrowser. (`InAppBrowser`)
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'hidden=yes');
+    ref.show();
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.show Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for Cordova to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // Cordova is ready
+        //
+        function onDeviceReady() {
+             var ref = window.open('http://apache.org', '_blank', 'hidden=yes');
+             ref.addEventListener('loadstop', function(event) {
+                 alert('background window loaded'); 
+             });
+             // close InAppBrowser after 5 seconds
+             setTimeout(function() {
+                 ref.close();
+             }, 5000);
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# executeScript
+
+> Injecte du code JavaScript dans la fenêtre `InAppBrowser`
+
+    ref.executeScript(details, callback);
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+*   **injectDetails** : détails du script à exécuter, requérant une propriété `file` ou `code`. *(Object)*
+    
+    *   **file** : URL du script à injecter.
+    *   **code** : texte du script à injecter.
+
+*   **callback** : une fonction exécutée après l'injection du code JavaScript.
+    
+    *   Si le script injecté est de type `code`, un seul paramètre est transmis à la fonction callback, correspondant à la valeur de retour du script enveloppée dans un `Array`. Pour les scripts multilignes, il s'agit de la valeur renvoyée par la dernière instruction ou la dernière expression évaluée.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    ref.addEventListener('loadstop', function() {
+        ref.executeSript({file: "myscript.js"});
+    });
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.executeScript Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // Global InAppBrowser reference
+        var iabRef = null;
+    
+        // Inject our custom JavaScript into the InAppBrowser window
+        //
+        function replaceHeaderImage() {
+            iabRef.executeScript({
+                code: "var img=document.querySelector('#header img'); img.src='http://cordova.apache.org/images/cordova_bot.png';"
+            }, function() {
+                alert("Image Element Successfully Hijacked");
+            }
+        }
+    
+        function iabClose(event) {
+             iabRef.removeEventListener('loadstop', replaceHeaderImage);
+             iabRef.removeEventListener('exit', iabClose);
+        }
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+             iabRef = window.open('http://apache.org', '_blank', 'location=yes');
+             iabRef.addEventListener('loadstop', replaceHeaderImage);
+             iabRef.addEventListener('exit', iabClose);
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# insertCSS
+
+> Injecte des règles CSS dans la fenêtre `InAppBrowser`.
+
+    ref.insertCSS(details, callback);
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+*   **injectDetails** : détails du fichier à injecter, requérant une propriété `file` ou `code`. *(Object)*
+    
+    *   **file** : URL de la feuille de style à injecter.
+    *   **code** : contenu de la feuille de style à injecter.
+
+*   **callback** : une fonction exécutée après l'injection du fichier CSS.
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    ref.addEventListener('loadstop', function() {
+        ref.insertCSS({file: "mystyles.css"});
+    });
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>InAppBrowser.insertCSS Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // Global InAppBrowser reference
+        var iabRef = null;
+    
+        // Inject our custom CSS into the InAppBrowser window
+        //
+        function changeBackgroundColor() {
+            iabRef.insertCSS({
+                code: "body { background: #ffff00"
+            }, function() {
+                alert("Styles Altered");
+            }
+        }
+    
+        function iabClose(event) {
+             iabRef.removeEventListener('loadstop', changeBackgroundColor);
+             iabRef.removeEventListener('exit', iabClose);
+        }
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+             iabRef = window.open('http://apache.org', '_blank', 'location=yes');
+             iabRef.addEventListener('loadstop', changeBackgroundColor);
+             iabRef.addEventListener('exit', iabClose);
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
+    
+
+# InAppBrowserEvent
+
+L'objet passé à la fonction callback d'un écouteur d'évènement ajouté via un appel à `addEventListener` sur un objet `InAppBrowser`.
+
+## Propriétés
+
+*   **type** : le nom de l'évènement, soit `loadstart`, `loadstop`, `loaderror` ou `exit`. *(String)*
+
+*   **url** : l'URL ayant été chargée. *(String)*
+
+*   **code** : le code d'erreur, seulement pour `loaderror`. *(Number)*
+
+*   **message** : un message d'erreur, seulement pour `loaderror`. *(String)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/inappbrowser/window.open.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/inappbrowser/window.open.md b/docs/fr/3.1.0/cordova/inappbrowser/window.open.md
new file mode 100644
index 0000000..9362202
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/inappbrowser/window.open.md
@@ -0,0 +1,101 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# window.open
+
+Ouvre une URL dans une nouvelle instance de la classe `InAppBrowser`, une instance déjà existante ou dans le navigateur système.
+
+    var ref = window.open(url, target, options);
+    
+
+*   **ref** : référence à la fenêtre `InAppBrowser`. *(InAppBrowser)*
+
+*   **url** : l'URL à charger *(String)*. À encoder au préalable via `encodeURI()` si celle-ci contient des caractères Unicode.
+
+*   **target** : la cible du chargement de l'URL, ce paramètre est optionnel, sa valeur par défaut est `_self`. *(String)*
+    
+    *   `_self` : dirige le chargement vers la WebView Cordova si l'URL figure dans la liste blanche, sinon dans une fenêtre `InAppBrowser`.
+    *   `_blank` : dirige le chargement vers une fenêtre `InAppBrowser`.
+    *   `_system` : dirige le chargement vers le navigateur Web du système.
+
+*   **options** : permet de personnaliser la fenêtre `InAppBrowser`. Paramètre facultatif dont la valeur par défaut est `location=yes`. *(String)*
+    
+    La chaîne `options` ne doit contenir aucun caractère vide, chaque paire nom/valeur représentant une fonctionnalité doit être séparée de la précédente par une virgule. Les noms de fonctionnalités sont sensibles à la casse. Toutes les plates-formes prennent en charge la valeur ci-dessous :
+    
+    *   **location** : régler à `yes` ou `no` afin d'afficher ou masquer la barre d'adresse de la fenêtre `InAppBrowser`.
+    ## Android uniquement
+    
+    *   **closebuttoncaption** : permet de modifier la valeur du texte du bouton "Terminé". 
+    *   **hidden** : régler à 'yes' pour créer la fenêtre et charger la page, mais ne pas la montrer. L'événement load se déclenche lorsque le chargement est terminé. Ne pas préciser de valeur ou régler sur 'no' (par défaut) afin que la fenêtre soit affichée normalement. 
+    *   **clearcache** : régler sur 'yes' pour que les cookies du navigateur soient effacés avant l'ouverture de la nouvelle fenêtre
+    *   **clearsessioncache** : régler sur 'yes' afin que les cookies de session soient supprimés avant l'ouverture de la nouvelle fenêtre
+    ## iOS uniquement
+    
+    *   **closebuttoncaption** : permet de modifier la valeur du texte du bouton "Terminé". Dans le cas d'une application multilingue, vous devrez localiser cette valeur par vos propres moyens.
+    *   **hidden** : régler à 'yes' pour créer la fenêtre et charger la page, mais ne pas la montrer. L'événement load se déclenche lorsque le chargement est terminé. Ne pas préciser de valeur ou régler sur 'no' (par défaut) afin que la fenêtre soit affichée normalement. 
+    *   **toolbar** : régler sur 'yes' ou 'no' afin d'afficher ou masquer la barre d'outils de la fenêtre InAppBrowser ('yes' par défaut).
+    *   **enableViewportScale** : selon si la valeur est `yes` ou `no`, une balise meta est injectée avec pour but de permettre ou empêcher l'utilisateur de zoomer dans le viewport (`no` par défaut).
+    *   **mediaPlaybackRequiresUserAction** : selon si la valeur est `yes` ou `no`, la lecture automatique de contenus HTML5 audio ou vidéo (c'est à dire sans action préalable de l'utilisateur) est désactivée ou activée (`no` par défaut).
+    *   **allowInlineMediaPlayback** : régler sur `yes` ou `no` pour permettre ou interdire la lecture de contenu HTML5 audio ou vidéo directement au sein du navigateur plutôt que dans une fenêtre de lecture spécifique à l'appareil. L'élément HTML `video` doit également comporter l'attribut `webkit-playsinline` (`no` par défaut)
+    *   **keyboardDisplayRequiresUserAction** : régler sur `yes` ou `no` pour interdire ou autoriser l'ouverture du clavier lorsque des éléments de formulaire reçoivent le focus par l'intermédiaire d'un appel à la méthode JavaScript `focus()` (`yes` par défaut).
+    *   **suppressesIncrementalRendering** : selon si la valeur est `yes` ou `no`, le rendu de la vue attendra ou non que tout nouveau contenu soit reçu (`no` par défaut).
+    *   **presentationstyle** : régler sur `pagesheet`, `formsheet` ou `fullscreen` afin d'obtenir le [style de présentation][1] de fenêtre souhaité (`fullscreen` par défaut).
+    *   **transitionstyle**: régler la valeur à `fliphorizontal`, `crossdissolve` ou `coververtical` afin de définir le [style de transition][2] de fenêtre souhaité (`coververtical` par défaut).
+
+ [1]: http://developer.apple.com/library/ios/documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalPresentationStyle
+ [2]: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIViewController_Class/Reference/Reference.html#//apple_ref/occ/instp/UIViewController/modalTransitionStyle
+
+## Plates-formes supportées
+
+*   Android
+*   BlackBerry
+*   iOS
+*   Windows Phone 7 et 8
+
+## Exemple court
+
+    var ref = window.open('http://apache.org', '_blank', 'location=yes');
+    var ref2 = window.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes');
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>window.open Example</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Wait for device API libraries to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+    
+        // device APIs are available
+        //
+        function onDeviceReady() {
+            // external url
+            var ref = window.open(encodeURI('http://apache.org'), '_blank', 'location=yes');
+            // relative document
+            ref = window.open('next.html', '_self');
+        }
+    
+        </script>
+      </head>
+      <body>
+      </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/MediaError/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/MediaError/mediaError.md b/docs/fr/3.1.0/cordova/media/MediaError/mediaError.md
new file mode 100644
index 0000000..06c0845
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/MediaError/mediaError.md
@@ -0,0 +1,36 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# MediaError
+
+A `MediaError` objet est retourné à la `mediaError` fonction de rappel lorsqu'une erreur survient.
+
+## Propriétés
+
+*   **code**: l'un des codes d'erreur prédéfinis énumérés ci-dessous.
+
+*   **message**: un message d'erreur décrivant les détails de l'erreur.
+
+## Constantes
+
+*   `MediaError.MEDIA_ERR_ABORTED`
+*   `MediaError.MEDIA_ERR_NETWORK`
+*   `MediaError.MEDIA_ERR_DECODE`
+*   `MediaError.MEDIA_ERR_NONE_SUPPORTED`
+
+## Description
+
+Le `MediaError` objet est passé à une `mediaError` fonction de rappel lorsqu'une erreur survient.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/Parameters/mediaError.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/Parameters/mediaError.md b/docs/fr/3.1.0/cordova/media/Parameters/mediaError.md
new file mode 100644
index 0000000..967082b
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/Parameters/mediaError.md
@@ -0,0 +1,28 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# mediaError
+
+Une fonction de rappel spécifiée par l'utilisateur qui s'exécute lorsqu'il y a une erreur dans les fonctions des médias.
+
+    function(error) {
+        // Handle the error
+    }
+    
+
+## Paramètres
+
+*   **erreur**: l'erreur retournée par le périphérique. *(MediaError)*
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/CaptureCB.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/CaptureCB.md b/docs/fr/3.1.0/cordova/media/capture/CaptureCB.md
new file mode 100644
index 0000000..3d00d6b
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/CaptureCB.md
@@ -0,0 +1,39 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureCB
+
+> Appelé lors d'une opération de capture de médias réussie.
+
+    function captureSuccess( MediaFile[] mediaFiles ) { ... };
+    
+
+## Description
+
+Cette fonction s'exécute après qu'une opération de capture réussie est terminée. À ce point qu'un fichier multimédia a été capturé et soit l'utilisateur a quitté l'application capture de média, ou la limite de capture a été atteinte.
+
+Chaque `MediaFile` objet décrit un fichier multimédia capturés.
+
+## Petit exemple
+
+    // capture callback
+    function captureSuccess(mediaFiles) {
+        var i, path, len;
+        for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+            path = mediaFiles[i].fullPath;
+            // do something interesting with the file
+        }
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/CaptureError.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/CaptureError.md b/docs/fr/3.1.0/cordova/media/capture/CaptureError.md
new file mode 100644
index 0000000..dc15e35
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/CaptureError.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureError
+
+> Encapsule le code d'erreur résultant d'une opération de capture de médias ayant échoué.
+
+## Propriétés
+
+*   **code**: un des codes d'erreur prédéfinis énumérés ci-dessous.
+
+## Constantes
+
+*   `CaptureError.CAPTURE_INTERNAL_ERR`: La caméra ou un microphone a échoué à capturer l'image ou le son.
+
+*   `CaptureError.CAPTURE_APPLICATION_BUSY`: L'application de capture caméra / audio est actuellement une autre demande de capture.
+
+*   `CaptureError.CAPTURE_INVALID_ARGUMENT`: Utilisation incorrecte de l'API (par exemple, la valeur de `limit` est inférieur à 1).
+
+*   `CaptureError.CAPTURE_NO_MEDIA_FILES`: L'utilisateur quitte l'application capture audio ou de la caméra avant de capturer n'importe quoi.
+
+*   `CaptureError.CAPTURE_NOT_SUPPORTED`: L'opération de capture demandée n'est pas pris en charge.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/CaptureErrorCB.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/CaptureErrorCB.md b/docs/fr/3.1.0/cordova/media/capture/CaptureErrorCB.md
new file mode 100644
index 0000000..f4154c0
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/CaptureErrorCB.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureErrorCB
+
+> Appelée si une erreur se produit pendant une opération de capture de médias.
+
+    function captureError( CaptureError error ) { ... };
+    
+
+## Description
+
+Cette fonction s'exécute si une erreur se produit lorsque vous essayez de lancer un média opération de capture. Scénarios de défaillance incluent lors de l'application capture est occupée, une opération de capture est déjà en cours, ou l'utilisateur annule l'opération avant que tous les fichiers multimédias sont capturés.
+
+Cette fonction s'exécute avec un `CaptureError` objet contenant une erreur appropriée`code`.
+
+## Petit exemple
+
+    // capture error callback
+    var captureError = function(error) {
+        navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
+    };
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/ConfigurationData.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/ConfigurationData.md b/docs/fr/3.1.0/cordova/media/capture/ConfigurationData.md
new file mode 100644
index 0000000..522cf4b
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/ConfigurationData.md
@@ -0,0 +1,59 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# ConfigurationData
+
+> Encapsule un ensemble de paramètres de capture de médias qu'un périphérique prend en charge.
+
+## Description
+
+Décrit les modes de capture de média pris en charge par le périphérique. Les données de configuration incluent le type MIME et dimensions de capture pour la capture vidéo ou image.
+
+[RFC2046][1]devraient respecter les types MIME. Exemples :
+
+ [1]: http://www.ietf.org/rfc/rfc2046.txt
+
+*   `vidéo/3gpp`
+*   `vidéo/quicktime`
+*   `image/jpeg`
+*   `audio/amr`
+*   `audio/wav`
+
+## Propriétés
+
+*   **type**: The ASCII encodée en chaîne minuscule qui représente le type de média. (DOMString)
+
+*   **hauteur**: la hauteur de l'image ou la vidéo en pixels. La valeur est zéro pour les extraits sonores. (Nombre)
+
+*   **largeur**: la largeur de l'image ou la vidéo en pixels. La valeur est zéro pour les extraits sonores. (Nombre)
+
+## Petit exemple
+
+    // retrieve supported image modes
+    var imageModes = navigator.device.capture.supportedImageModes;
+    
+    // Select mode that has the highest horizontal resolution
+    var width = 0;
+    var selectedmode;
+    for each (var mode in imageModes) {
+        if (mode.width > width) {
+            width = mode.width;
+            selectedmode = mode;
+        }
+    }
+    
+
+Pas pris en charge par n'importe quelle plateforme. Tous les tableaux de données de configuration sont vides.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/MediaFile.getFormatData.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/MediaFile.getFormatData.md b/docs/fr/3.1.0/cordova/media/capture/MediaFile.getFormatData.md
new file mode 100644
index 0000000..d030c80
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/MediaFile.getFormatData.md
@@ -0,0 +1,46 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# MediaFile.getFormatData
+
+> Récupère le format d'informations sur le fichier de capture de médias.
+
+    mediaFile.getFormatData (MediaFileDataSuccessCB successCallback, [MediaFileDataErrorCB errorCallback]) ;
+    
+
+## Description
+
+Cette fonction de façon asynchrone tente de récupérer les informations de format pour le fichier multimédia. Si réussie, elle appelle le `MediaFileDataSuccessCB` rappel avec un `MediaFileData` objet. Si la tentative échoue, cette fonction appelle la `MediaFileDataErrorCB` rappel.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## BlackBerry WebWorks Quirks
+
+Ne fournit pas une API pour plus d'informations sur les fichiers de médias, alors tous les `MediaFileData` objets reviennent avec les valeurs par défaut.
+
+## Quirks Android
+
+L'API pour accéder aux médias file format informations est limité, donc pas tous les `MediaFileData` propriétés sont prises en charge.
+
+## iOS Quirks
+
+L'API pour accéder aux médias file format informations est limité, donc pas tous les `MediaFileData` propriétés sont prises en charge.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/MediaFile.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/MediaFile.md b/docs/fr/3.1.0/cordova/media/capture/MediaFile.md
new file mode 100644
index 0000000..2b20214
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/MediaFile.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# MediaFile
+
+> Encapsule les propriétés d'un fichier de capture multimédia.
+
+## Propriétés
+
+*   **nom**: le nom du fichier, sans le chemin d'accès. (DOMString)
+
+*   **fullPath**: le chemin d'accès complet du fichier, y compris le nom. (DOMString)
+
+*   **type**: type de mime du fichier (DOMString)
+
+*   **lastModifiedDate**: la date et l'heure lorsque le fichier a été modifié. (Date)
+
+*   **taille**: la taille du fichier, en octets. (Nombre)
+
+## Méthodes
+
+*   **MediaFile.getFormatData**: récupère les informations sur le format du fichier multimédia.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/MediaFileData.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/MediaFileData.md b/docs/fr/3.1.0/cordova/media/capture/MediaFileData.md
new file mode 100644
index 0000000..6b05a22
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/MediaFileData.md
@@ -0,0 +1,73 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# MediaFileData
+
+> Encapsule des informations sur le format d'un fichier multimédia.
+
+## Propriétés
+
+*   **codecs**: le format réel du contenu audio et vidéo. (DOMString)
+
+*   **débit**: le débit moyen du contenu. La valeur est égale à zéro pour les images. (Nombre)
+
+*   **hauteur**: la hauteur de l'image ou la vidéo en pixels. La valeur est égale à zéro pour des clips audio. (Nombre)
+
+*   **largeur**: la largeur de l'image ou la vidéo en pixels. La valeur est égale à zéro pour des clips audio. (Nombre)
+
+*   **durée**: la durée du clip vidéo ou audio en quelques secondes. La valeur est égale à zéro pour les images. (Nombre)
+
+## BlackBerry WebWorks Quirks
+
+Aucune API ne fournit des informations sur le format des fichiers multimédias, donc le `MediaFileData` objet retourné par `MediaFile.getFormatData` comporte les valeurs par défaut suivantes :
+
+*   **codecs**: pas pris en charge et retourne`null`.
+
+*   **Bitrate**: pas pris en charge et retourne la valeur zéro.
+
+*   **hauteur**: pas pris en charge et retourne la valeur zéro.
+
+*   **largeur**: non pris en charge et retourne la valeur zéro.
+
+*   **durée**: non pris en charge et retourne la valeur zéro.
+
+## Quirks Android
+
+Prend en charge ce qui suit `MediaFileData` Propriétés :
+
+*   **codecs**: pas pris en charge et retourne`null`.
+
+*   **Bitrate**: pas pris en charge et retourne la valeur zéro.
+
+*   **hauteur**: prise en charge : seuls les fichiers image et vidéo.
+
+*   **largeur**: prise en charge : seuls les fichiers image et vidéo.
+
+*   **durée**: prise en charge : seuls les fichiers audio et vidéo.
+
+## iOS Quirks
+
+Prend en charge ce qui suit `MediaFileData` Propriétés :
+
+*   **codecs**: pas pris en charge et retourne`null`.
+
+*   **Bitrate**: pris en charge sur les périphériques d'iOS4 pour l'audio uniquement. Renvoie zéro pour les images et vidéos.
+
+*   **hauteur**: prise en charge : seuls les fichiers image et vidéo.
+
+*   **largeur**: prise en charge : seuls les fichiers image et vidéo.
+
+*   **durée**: prise en charge : seuls les fichiers audio et vidéo.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/capture.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/capture.md b/docs/fr/3.1.0/cordova/media/capture/capture.md
new file mode 100644
index 0000000..ec0fd19
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/capture.md
@@ -0,0 +1,112 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# Capture
+
+> Donne accès à de l'appareil audio, image et capacités de capture vidéo.
+
+**Remarque importante de la vie privée :** Collecte et utilisation des images, vidéo ou audio de la caméra ou un microphone de l'appareil soulève des questions importantes de la vie privée. Politique de confidentialité de votre application doit examiner comment l'application utilise des capteurs et si les données enregistrées sont partagées avec d'autres parties. En outre, si l'utilisation de l'application de la caméra ou un microphone n'est pas apparente dans l'interface utilisateur, vous devez fournir un avis juste-à-temps avant votre application d'accéder à la caméra ou un microphone (si le système d'exploitation de périphérique n'est pas faire déjà). Cet avis doit fournir les mêmes renseignements susmentionnées, ainsi que d'obtenir l'autorisation de l'utilisateur (par exemple, en présentant des choix **OK** et **Non merci**). Notez que certains marchés app peuvent exiger votre app à aviser le juste-à-temps et obtenir l'autorisation de l'utilisateur avant
  d'accéder à la caméra ou un microphone. Pour plus d'informations, consultez le Guide de la vie privée.
+
+## Objets
+
+*   Capture
+*   CaptureAudioOptions
+*   CaptureImageOptions
+*   CaptureVideoOptions
+*   CaptureCallback
+*   CaptureErrorCB
+*   ConfigurationData
+*   MediaFile
+*   MediaFileData
+
+## Méthodes
+
+*   capture.captureAudio
+*   capture.captureImage
+*   capture.captureVideo
+*   MediaFile.getFormatData
+
+## Champ d'application
+
+The `capture` object is assigned to the `navigator.device` object, and therefore has global scope.
+
+    // The global capture object
+    var capture = navigator.device.capture;
+    
+
+## Propriétés
+
+*   **supportedAudioModes**: l'enregistrement des formats pris en charge par le périphérique audio. (ConfigurationData[])
+
+*   **supportedImageModes**: l'enregistrement image et formats pris en charge par le périphérique. (ConfigurationData[])
+
+*   **supportedVideoModes**: l'enregistrement vidéo résolutions et formats pris en charge par le périphérique. (ConfigurationData[])
+
+## Méthodes
+
+*   `capture.captureAudio`: Lancer l'application d'enregistrement audio de l'appareil pour enregistrer des clips audio.
+
+*   `capture.captureImage`: Lancer l'application appareil photo de l'appareil pour prendre des photos.
+
+*   `capture.captureVideo`: Lancer l'application enregistreur vidéo de l'appareil pour enregistrer des vidéos.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Accéder à la fonctionnalité
+
+Depuis la version 3.0, Cordova implémente API au niveau du périphérique comme les *plugins*. Utiliser de la CLI `plugin` commande, décrite dans l'Interface de ligne de commande, d'ajouter ou de supprimer cette fonction pour un projet :
+
+        $ cordova plugin add org.apache.cordova.media-capture
+        $ cordova plugin ls
+        [ 'org.apache.cordova.media-capture' ]
+        $ cordova plugin rm org.apache.cordova.media-capture
+    
+
+Ces commandes s'appliquent à toutes les plates-formes ciblées, mais modifier les paramètres de configuration spécifiques à la plateforme décrites ci-dessous :
+
+*   Android
+    
+        (in app/res/XML/plugins.Xml) < nom de la fonction = "Capturer" >< param name = "android-package" value="org.apache.cordova.Capture" / >< / fiction > (dans app/AndroidManifest.xml) < permissions des utilisations android:name="android.permission.RECORD_AUDIO" / >< permissions des utilisations android:name="android.permission.WRITE_EXTERNAL_STORAGE" / >
+        
+
+*   BlackBerry WebWorks
+    
+        (in www/plugins.Xml) < nom de la fonction = "Capturer" >< param name = "blackberry-package" value="org.apache.cordova.capture.MediaCapture" / >< / fiction > (dans www/config.xml) < id="blackberry.system en vedette" requis = "true" version = "1.0.0.0" / >< id="blackberry.io.file en vedette" requis = "true" version = "1.0.0.0" / >
+        
+
+*   iOS (en`config.xml`)
+    
+        < nom de la fonction = « Capturer » >< param name = « ios-paquet » value = « CDVCapture » / >< / fiction >
+        
+
+*   Windows Phone (en`Properties/WPAppManifest.xml`)
+    
+        <Capabilities>
+            <Capability Name="ID_CAP_MEDIALIB" />
+            <Capability Name="ID_CAP_MICROPHONE" />
+            <Capability Name="ID_HW_FRONTCAMERA" />
+            <Capability Name="ID_CAP_ISV_CAMERA" />
+            <Capability Name="ID_CAP_CAMERA" />
+        </Capabilities>
+        
+
+Certaines plates-formes peuvent prendre en charge cette fonctionnalité sans nécessiter aucune configuration spéciale. Voir *Support de plate-forme* dans la section vue d'ensemble.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureAudio.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureAudio.md b/docs/fr/3.1.0/cordova/media/capture/captureAudio.md
new file mode 100644
index 0000000..4d67e67
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureAudio.md
@@ -0,0 +1,133 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# capture.captureAudio
+
+> Démarrez l'application enregistreur audionumérique et renvoyer des informations sur les fichiers de clips audio capturés.
+
+    navigator.device.capture.captureAudio(
+        CaptureCB captureSuccess, CaptureErrorCB captureError,  [CaptureAudioOptions options]
+    );
+    
+
+## Description
+
+Commence une opération asynchrone pour capturer les enregistrements audio à l'aide d'application d'enregistrement audio de l'appareil par défaut. L'opération permet à l'utilisateur de l'appareil capturer des enregistrements multiples en une seule séance.
+
+L'opération de capture se termine lorsque l'utilisateur quitte l'enregistrement demande, ou le nombre maximal d'enregistrements spécifié par audio `CaptureAudioOptions.limit` est atteinte. Si aucun `limit` valeur du paramètre est spécifiée, par défaut à un (1), et l'opération de capture se termine après que l'utilisateur enregistre un clip audio unique.
+
+Fin de l'opération de capture, le `CaptureCallback` s'exécute avec un tableau de `MediaFile` objets décrivant chacune capturé fichiers clip audio. Si l'utilisateur annule l'opération avant un clip audio est capturé, le `CaptureErrorCallback` s'exécute avec un `CaptureError` objet, mettant en vedette le `CaptureError.CAPTURE_NO_MEDIA_FILES` code d'erreur.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Petit exemple
+
+    // capture callback
+    var captureSuccess = function(mediaFiles) {
+        var i, path, len;
+        for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+            path = mediaFiles[i].fullPath;
+            // do something interesting with the file
+        }
+    };
+    
+    // capture error callback
+    var captureError = function(error) {
+        navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
+    };
+    
+    // start audio capture
+    navigator.device.capture.captureAudio(captureSuccess, captureError, {limit:2});
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Capture Audio</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8" src="json2.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Called when capture operation is finished
+        //
+        function captureSuccess(mediaFiles) {
+            var i, len;
+            for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+                uploadFile(mediaFiles[i]);
+            }
+        }
+    
+        // Called if something bad happens.
+        //
+        function captureError(error) {
+            var msg = 'An error occurred during capture: ' + error.code;
+            navigator.notification.alert(msg, null, 'Uh oh!');
+        }
+    
+        // A button will call this function
+        //
+        function captureAudio() {
+            // Launch device audio recording application,
+            // allowing user to capture up to 2 audio clips
+            navigator.device.capture.captureAudio(captureSuccess, captureError, {limit: 2});
+        }
+    
+        // Upload files to server
+        function uploadFile(mediaFile) {
+            var ft = new FileTransfer(),
+                path = mediaFile.fullPath,
+                name = mediaFile.name;
+    
+            ft.upload(path,
+                "http://my.domain.com/upload.php",
+                function(result) {
+                    console.log('Upload success: ' + result.responseCode);
+                    console.log(result.bytesSent + ' bytes sent');
+                },
+                function(error) {
+                    console.log('Error uploading file ' + path + ': ' + error.code);
+                },
+                { fileName: name });
+        }
+    
+        </script>
+        </head>
+        <body>
+            <button onclick="captureAudio();">Capture Audio</button> <br>
+        </body>
+    </html>
+    
+
+## BlackBerry WebWorks Quirks
+
+*   Cordova pour BlackBerry WebWorks tente de lancer l'application **Dictaphone Notes** , fournie par RIM, pour capturer des enregistrements audio. L'application reçoit un `CaptureError.CAPTURE_NOT_SUPPORTED` code d'erreur si l'application n'est pas installée sur l'appareil.
+
+## iOS Quirks
+
+*   iOS n'a pas une application d'enregistrement audio par défaut, donc une interface utilisateur simple est fournie.
+
+## Windows Phone 7 et 8 Quirks
+
+*   Windows Phone 7 n'a pas une application d'enregistrement audio par défaut, donc une interface utilisateur simple est fournie.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureAudioOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureAudioOptions.md b/docs/fr/3.1.0/cordova/media/capture/captureAudioOptions.md
new file mode 100644
index 0000000..5270cf9
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureAudioOptions.md
@@ -0,0 +1,45 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureAudioOptions
+
+> Encapsule les options de configuration de capture audio.
+
+## Propriétés
+
+*   **limite**: le nombre maximal de clips audio, l'utilisateur de l'appareil permet d'enregistrer dans une opération de capture unique. La valeur doit être supérieure ou égale à 1 (1 par défaut).
+
+*   **durée**: la durée maximale d'un clip sonore audio, en quelques secondes.
+
+## Petit exemple
+
+    // limit capture operation to 3 media files, no longer than 10 seconds each
+    var options = { limit: 3, duration: 10 };
+    
+    navigator.device.capture.captureAudio(captureSuccess, captureError, options);
+    
+
+## Quirks Android
+
+*   Le `duration` paramètre n'est pas pris en charge. Longueurs d'enregistrement ne peut être limitée par programme.
+
+## BlackBerry WebWorks Quirks
+
+*   Le `duration` paramètre n'est pas pris en charge. Longueurs d'enregistrement ne peut être limitée par programme.
+
+## iOS Quirks
+
+*   Le `limit` paramètre n'est pas pris en charge, ainsi qu'un enregistrement peut être créée pour chaque appel.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureImage.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureImage.md b/docs/fr/3.1.0/cordova/media/capture/captureImage.md
new file mode 100644
index 0000000..d3fab85
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureImage.md
@@ -0,0 +1,124 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# capture.captureImage
+
+> Démarrez l'application appareil photo et retourner des informations sur les fichiers de l'image capturée.
+
+    navigator.device.capture.captureImage(
+        CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureImageOptions options]
+    );
+    
+
+## Description
+
+Commence une opération asynchrone pour capturer des images à l'aide d'application caméra de l'appareil. L'opération permet aux utilisateurs de capturer plusieurs images en une seule séance.
+
+L'opération de capture soit termine lorsque l'utilisateur ferme l'application appareil photo, ou le nombre maximal d'enregistrements spécifié par `CaptureAudioOptions.limit` est atteinte. Si aucun `limit` valeur est spécifiée, par défaut à un (1), et l'opération de capture se termine après que l'utilisateur saisit une image unique.
+
+Lorsque l'opération de capture terminée, elle appelle le `CaptureCB` rappel avec un tableau de `MediaFile` objets décrivant chaque fichier de l'image capturée. Si l'utilisateur annule l'opération avant la capture d'une image, la `CaptureErrorCB` rappel s'exécute avec un `CaptureError` objet mettant en vedette un `CaptureError.CAPTURE_NO_MEDIA_FILES` code d'erreur.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Windows Phone 7 Quirks
+
+Invoquant l'application native caméra alors que votre appareil est connecté via Zune ne fonctionne pas, et exécute le rappel de l'erreur.
+
+## Petit exemple
+
+    // capture callback
+    var captureSuccess = function(mediaFiles) {
+        var i, path, len;
+        for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+            path = mediaFiles[i].fullPath;
+            // do something interesting with the file
+        }
+    };
+    
+    // capture error callback
+    var captureError = function(error) {
+        navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
+    };
+    
+    // start image capture
+    navigator.device.capture.captureImage(captureSuccess, captureError, {limit:2});
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Capture Image</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8" src="json2.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Called when capture operation is finished
+        //
+        function captureSuccess(mediaFiles) {
+            var i, len;
+            for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+                uploadFile(mediaFiles[i]);
+            }
+        }
+    
+        // Called if something bad happens.
+        //
+        function captureError(error) {
+            var msg = 'An error occurred during capture: ' + error.code;
+            navigator.notification.alert(msg, null, 'Uh oh!');
+        }
+    
+        // A button will call this function
+        //
+        function captureImage() {
+            // Launch device camera application,
+            // allowing user to capture up to 2 images
+            navigator.device.capture.captureImage(captureSuccess, captureError, {limit: 2});
+        }
+    
+        // Upload files to server
+        function uploadFile(mediaFile) {
+            var ft = new FileTransfer(),
+                path = mediaFile.fullPath,
+                name = mediaFile.name;
+    
+            ft.upload(path,
+                "http://my.domain.com/upload.php",
+                function(result) {
+                    console.log('Upload success: ' + result.responseCode);
+                    console.log(result.bytesSent + ' bytes sent');
+                },
+                function(error) {
+                    console.log('Error uploading file ' + path + ': ' + error.code);
+                },
+                { fileName: name });
+        }
+    
+        </script>
+        </head>
+        <body>
+            <button onclick="captureImage();">Capture Image</button> <br>
+        </body>
+    </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureImageOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureImageOptions.md b/docs/fr/3.1.0/cordova/media/capture/captureImageOptions.md
new file mode 100644
index 0000000..aa5cee0
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureImageOptions.md
@@ -0,0 +1,35 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureImageOptions
+
+> Encapsule les options de configuration de capture image.
+
+## Propriétés
+
+*   **limite**: le nombre maximum d'images, l'utilisateur peut saisir dans une opération de capture unique. La valeur doit être supérieure ou égale à 1 (1 par défaut).
+
+## Petit exemple
+
+    // limit capture operation to 3 images
+    var options = { limit: 3 };
+    
+    navigator.device.capture.captureImage(captureSuccess, captureError, options);
+    
+
+## iOS Quirks
+
+*   Le paramètre **limit** n'est pas pris en charge, et qu'une image est prise par l'invocation.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureVideo.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureVideo.md b/docs/fr/3.1.0/cordova/media/capture/captureVideo.md
new file mode 100644
index 0000000..dcedf4f
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureVideo.md
@@ -0,0 +1,125 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# capture.captureVideo
+
+> Démarrez l'application enregistreur vidéo et renvoyer des informations sur les fichiers de clips vidéo capturée.
+
+    navigator.device.capture.captureVideo(
+        CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureVideoOptions options]
+    );
+    
+
+## Description
+
+Commence une opération asynchrone pour capturer des enregistrements vidéo à l'aide de la demande d'enregistrement vidéo de l'appareil. L'opération permet à l'utilisateur de capturer plusieurs enregistrements en une seule séance.
+
+L'opération de capture se termine lorsque l'utilisateur quitte l'application de l'enregistrement vidéo, ou le nombre maximal d'enregistrements spécifié par `CaptureVideoOptions.limit` est atteinte. Si aucun `limit` valeur du paramètre est spécifiée, par défaut à un (1), et l'opération de capture se termine après que l'utilisateur enregistre un clip vidéo unique.
+
+Fin de l'opération de capture, il le `CaptureCB` rappel s'exécute avec un tableau de `MediaFile` objets décrivant chacune capturé clip vidéo. Si l'utilisateur annule l'opération avant la capture d'un clip vidéo, le `CaptureErrorCB` rappel s'exécute avec un `CaptureError` objet mettant en vedette un `CaptureError.CAPTURE_NO_MEDIA_FILES` code d'erreur.
+
+## Plates-formes prises en charge
+
+*   Android
+*   BlackBerry WebWorks (OS 5.0 et plus)
+*   iOS
+*   Windows Phone 7 et 8
+*   Windows 8
+
+## Petit exemple
+
+    // capture callback
+    var captureSuccess = function(mediaFiles) {
+        var i, path, len;
+        for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+            path = mediaFiles[i].fullPath;
+            // do something interesting with the file
+        }
+    };
+    
+    // capture error callback
+    var captureError = function(error) {
+        navigator.notification.alert('Error code: ' + error.code, null, 'Capture Error');
+    };
+    
+    // start video capture
+    navigator.device.capture.captureVideo(captureSuccess, captureError, {limit:2});
+    
+
+## Exemple complet
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Capture Video</title>
+    
+        <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+        <script type="text/javascript" charset="utf-8" src="json2.js"></script>
+        <script type="text/javascript" charset="utf-8">
+    
+        // Called when capture operation is finished
+        //
+        function captureSuccess(mediaFiles) {
+            var i, len;
+            for (i = 0, len = mediaFiles.length; i < len; i += 1) {
+                uploadFile(mediaFiles[i]);
+            }
+        }
+    
+        // Called if something bad happens.
+        //
+        function captureError(error) {
+            var msg = 'An error occurred during capture: ' + error.code;
+            navigator.notification.alert(msg, null, 'Uh oh!');
+        }
+    
+        // A button will call this function
+        //
+        function captureVideo() {
+            // Launch device video recording application,
+            // allowing user to capture up to 2 video clips
+            navigator.device.capture.captureVideo(captureSuccess, captureError, {limit: 2});
+        }
+    
+        // Upload files to server
+        function uploadFile(mediaFile) {
+            var ft = new FileTransfer(),
+                path = mediaFile.fullPath,
+                name = mediaFile.name;
+    
+            ft.upload(path,
+                "http://my.domain.com/upload.php",
+                function(result) {
+                    console.log('Upload success: ' + result.responseCode);
+                    console.log(result.bytesSent + ' bytes sent');
+                },
+                function(error) {
+                    console.log('Error uploading file ' + path + ': ' + error.code);
+                },
+                { fileName: name });
+        }
+    
+        </script>
+        </head>
+        <body>
+            <button onclick="captureVideo();">Capture Video</button> <br>
+        </body>
+    </html>
+    
+
+## BlackBerry WebWorks Quirks
+
+*   Cordova pour BlackBerry WebWorks tente de lancer l'application **Enregistreur vidéo** , fournie par RIM, pour capturer les enregistrements vidéo. L'application reçoit un `CaptureError.CAPTURE_NOT_SUPPORTED` code d'erreur si l'application n'est pas installée sur l'appareil.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/capture/captureVideoOptions.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/capture/captureVideoOptions.md b/docs/fr/3.1.0/cordova/media/capture/captureVideoOptions.md
new file mode 100644
index 0000000..57f9d5a
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/capture/captureVideoOptions.md
@@ -0,0 +1,41 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# CaptureVideoOptions
+
+> Encapsule les options de configuration de capture vidéo.
+
+## Propriétés
+
+*   **limite**: le nombre maximal de clips vidéo, utilisateur de l'appareil peut capturer dans une opération de capture unique. La valeur doit être supérieure ou égale à 1 (1 par défaut).
+
+*   **durée**: la durée maximale d'un clip vidéo, en quelques secondes.
+
+## Petit exemple
+
+    // limit capture operation to 3 video clips
+    var options = { limit: 3 };
+    
+    navigator.device.capture.captureVideo(captureSuccess, captureError, options);
+    
+
+## BlackBerry WebWorks Quirks
+
+*   Le paramètre de **durée** n'est pas supporté, donc la longueur des enregistrements ne peut pas être limitée par programme.
+
+## iOS Quirks
+
+*   Le paramètre **limit** n'est pas pris en charge. Qu'une vidéo est enregistrée par l'invocation.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/2b8e503f/docs/fr/3.1.0/cordova/media/media.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/fr/3.1.0/cordova/media/media.getCurrentPosition.md b/docs/fr/3.1.0/cordova/media/media.getCurrentPosition.md
new file mode 100644
index 0000000..22a3c2d
--- /dev/null
+++ b/docs/fr/3.1.0/cordova/media/media.getCurrentPosition.md
@@ -0,0 +1,173 @@
+---
+
+license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+
+           http://www.apache.org/licenses/LICENSE-2.0
+    
+         Unless required by applicable law or agreed to in writing,
+         software distributed under the License is distributed on an
+         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+         KIND, either express or implied.  See the License for the
+         specific language governing permissions and limitations
+    
+
+   under the License.
+---
+
+# media.getCurrentPosition
+
+Retourne la position courante dans un fichier audio.
+
+    media.getCurrentPosition(mediaSuccess, [mediaError]);
+    
+
+## Paramètres
+
+*   **mediaSuccess**: le rappel qui est passé de la position actuelle en quelques secondes.
+
+*   **mediaError**: (facultatif) le rappel à exécuter si une erreur se produit.
+
+## Description
+
+Une fonction asynchrone qui retourne la position courante du fichier audio sous-jacent d'un `Media` objet. Met également à jour la `Media` de l'objet `position` paramètre.
+
+## Plates-formes prises en charge
+
+*   Android
+
+*   BlackBerry WebWorks (OS 5.0 et plus)
+
+*   iOS
+
+*   Windows Phone 7 et 8
+
+*   Paciarelli
+
+*   Windows 8
+
+## Petit exemple
+
+    // Audio player
+    //
+    var my_media = new Media(src, onSuccess, onError);
+    
+    // Update media position every second
+    var mediaTimer = setInterval(function () {
+        // get media position
+        my_media.getCurrentPosition(
+            // success callback
+            function (position) {
+                if (position > -1) {
+                    console.log((position) + " sec");
+                }
+            },
+            // error callback
+            function (e) {
+                console.log("Error getting pos=" + e);
+            }
+        );
+    }, 1000);
+    
+
+## Exemple complet
+
+        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+                      "http://www.w3.org/TR/html4/strict.dtd">
+        <html>
+          <head>
+            <title>Media Example</title>
+    
+            <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
+            <script type="text/javascript" charset="utf-8">
+    
+            // Wait for device API libraries to load
+            //
+            document.addEventListener("deviceready", onDeviceReady, false);
+    
+            // device APIs are available
+            //
+            function onDeviceReady() {
+                playAudio("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
+            }
+    
+            // Audio player
+            //
+            var my_media = null;
+            var mediaTimer = null;
+    
+            // Play audio
+            //
+            function playAudio(src) {
+                // Create Media object from src
+                my_media = new Media(src, onSuccess, onError);
+    
+                // Play audio
+                my_media.play();
+    
+                // Update my_media position every second
+                if (mediaTimer == null) {
+                    mediaTimer = setInterval(function() {
+                        // get my_media position
+                        my_media.getCurrentPosition(
+                            // success callback
+                            function(position) {
+                                if (position > -1) {
+                                    setAudioPosition((position) + " sec");
+                                }
+                            },
+                            // error callback
+                            function(e) {
+                                console.log("Error getting pos=" + e);
+                                setAudioPosition("Error: " + e);
+                            }
+                        );
+                    }, 1000);
+                }
+            }
+    
+            // Pause audio
+            //
+            function pauseAudio() {
+                if (my_media) {
+                    my_media.pause();
+                }
+            }
+    
+            // Stop audio
+            //
+            function stopAudio() {
+                if (my_media) {
+                    my_media.stop();
+                }
+                clearInterval(mediaTimer);
+                mediaTimer = null;
+            }
+    
+            // onSuccess Callback
+            //
+            function onSuccess() {
+                console.log("playAudio():Audio Success");
+            }
+    
+            // onError Callback
+            //
+            function onError(error) {
+                alert('code: '    + error.code    + '\n' +
+                      'message: ' + error.message + '\n');
+            }
+    
+            // Set audio position
+            //
+            function setAudioPosition(position) {
+                document.getElementById('audio_position').innerHTML = position;
+            }
+    
+            </script>
+          </head>
+          <body>
+            <a href="#" class="btn large" onclick="playAudio('http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3');">Play Audio</a>
+            <a href="#" class="btn large" onclick="pauseAudio();">Pause Playing Audio</a>
+            <a href="#" class="btn large" onclick="stopAudio();">Stop Playing Audio</a>
+            <p id="audio_position"></p>
+          </body>
+        </html>
\ No newline at end of file