You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ld...@apache.org on 2014/07/07 19:50:31 UTC

[2/5] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-dialogs

Lisa testing pulling in plugins for plugin: cordova-plugin-dialogs


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/commit/4eb5fd5b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/tree/4eb5fd5b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/diff/4eb5fd5b

Branch: refs/heads/master
Commit: 4eb5fd5b63bb6dfcf4d660a4852675850abcdafd
Parents: 8885968
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:21:54 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:21:54 2014 -0400

----------------------------------------------------------------------
 doc/es/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/fr/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/it/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ko/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/pl/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zh/index.md | 247 +++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 1482 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
new file mode 100644
index 0000000..3ccb5f7
--- /dev/null
+++ b/doc/es/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+Este plugin proporciona acceso a algunos elementos de la interfaz nativa de diálogo.
+
+## Instalación
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## Métodos
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+Muestra un cuadro de alerta o cuadro de diálogo personalizado. La mayoría de las implementaciones de Cordova utilizan un cuadro de diálogo nativa para esta característica, pero algunas plataformas utilizan el navegador `alert` la función, que es típicamente menos personalizable.
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **mensaje**: mensaje de diálogo. *(String)*
+
+*   **alertCallback**: Callback para invocar al diálogo de alerta es desestimada. *(Función)*
+
+*   **título**: título de diálogo. *(String)* (Opcional, por defecto`Alert`)
+
+*   **buttonName**: nombre del botón. *(String)* (Opcional, por defecto`OK`)
+
+### Ejemplo
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 y 8
+*   Windows 8
+
+### Windows Phone 7 y 8 rarezas
+
+*   No hay ninguna alerta del navegador integrado, pero puede enlazar uno proceda a llamar a `alert()` en el ámbito global:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   Ambos `alert` y `confirm` son no-bloqueo llamadas, cuyos resultados sólo están disponibles de forma asincrónica.
+
+### Firefox OS rarezas:
+
+Dos nativos de bloqueo `window.alert()` y no-bloqueo `navigator.notification.alert()` están disponibles.
+
+## navigator.notification.confirm
+
+Muestra un cuadro de diálogo de confirmación personalizables.
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **mensaje**: mensaje de diálogo. *(String)*
+
+*   **confirmCallback**: Callback para invocar con índice del botón pulsado (1, 2 ó 3) o cuando el cuadro de diálogo es despedido sin la presión del botón (0). *(Función)*
+
+*   **título**: título de diálogo. *(String)* (Opcional, por defecto`Confirm`)
+
+*   **buttonLabels**: matriz de cadenas especificando las etiquetas de botón. *(Matriz)* (Opcional, por defecto [ `OK,Cancel` ])
+
+### confirmCallback
+
+El `confirmCallback` se ejecuta cuando el usuario presiona uno de los botones en el cuadro de diálogo de confirmación.
+
+La devolución de llamada toma el argumento `buttonIndex` *(número)*, que es el índice del botón presionado. Observe que el índice utiliza indexación basada en uno, entonces el valor es `1` , `2` , `3` , etc..
+
+### Ejemplo
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 y 8
+*   Windows 8
+
+### Windows Phone 7 y 8 rarezas
+
+*   No hay ninguna función de navegador incorporado para `window.confirm` , pero lo puede enlazar mediante la asignación:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   Llama a `alert` y `confirm` son no-bloqueo, así que el resultado sólo está disponible de forma asincrónica.
+
+### Firefox OS rarezas:
+
+Dos nativos de bloqueo `window.confirm()` y no-bloqueo `navigator.notification.confirm()` están disponibles.
+
+## navigator.notification.prompt
+
+Muestra un cuadro de diálogo nativa que es más personalizable que del navegador `prompt` función.
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **mensaje**: mensaje de diálogo. *(String)*
+
+*   **promptCallback**: Callback para invocar con índice del botón pulsado (1, 2 ó 3) o cuando el cuadro de diálogo es despedido sin la presión del botón (0). *(Función)*
+
+*   **título**: título *(String)* (opcional, por defecto de diálogo`Prompt`)
+
+*   **buttonLabels**: matriz de cadenas especificando botón etiquetas *(Array)* (opcional, por defecto`["OK","Cancel"]`)
+
+*   **defaultText**: valor de la entrada predeterminada textbox ( `String` ) (opcional, por defecto: cadena vacía)
+
+### promptCallback
+
+El `promptCallback` se ejecuta cuando el usuario presiona uno de los botones del cuadro de diálogo pronto. El `results` objeto que se pasa a la devolución de llamada contiene las siguientes propiedades:
+
+*   **buttonIndex**: el índice del botón presionado. *(Número)* Observe que el índice utiliza indexación basada en uno, entonces el valor es `1` , `2` , `3` , etc..
+
+*   **INPUT1**: el texto introducido en el cuadro de diálogo pronto. *(String)*
+
+### Ejemplo
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   Android
+*   Firefox OS
+*   iOS
+*   Windows Phone 7 y 8
+
+### Rarezas Android
+
+*   Android soporta un máximo de tres botones e ignora nada más.
+
+*   En Android 3.0 y posteriores, los botones aparecen en orden inverso para dispositivos que utilizan el tema Holo.
+
+### Firefox OS rarezas:
+
+Dos nativos de bloqueo `window.prompt()` y no-bloqueo `navigator.notification.prompt()` están disponibles.
+
+## navigator.notification.beep
+
+El aparato reproduce un sonido sonido.
+
+    navigator.notification.beep(times);
+    
+
+*   **tiempos**: el número de veces a repetir la señal. *(Número)*
+
+### Ejemplo
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### Plataformas soportadas
+
+*   Amazon fuego OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 y 8
+*   Windows 8
+
+### Amazon fuego OS rarezas
+
+*   Amazon fuego OS reproduce el **Sonido de notificación** especificados en el panel de **configuración/pantalla y sonido** por defecto.
+
+### Rarezas Android
+
+*   Androide reproduce el **tono de notificación** especificados en el panel **ajustes de sonido y visualización** por defecto.
+
+### Windows Phone 7 y 8 rarezas
+
+*   Se basa en un archivo de sonido genérico de la distribución de Córdoba.
+
+### Rarezas Tizen
+
+*   Tizen implementa pitidos por reproducir un archivo de audio a través de los medios de comunicación API.
+
+*   El archivo de sonido debe ser corto, debe estar ubicado en un `sounds` subdirectorio del directorio raíz de la aplicación y deben ser nombrados`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
new file mode 100644
index 0000000..5e4398a
--- /dev/null
+++ b/doc/fr/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+Ce plugin permet d'accéder à certains éléments d'interface utilisateur native de dialogue.
+
+## Installation
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## Méthodes
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+Affiche une boîte de dialogue ou d'alerte personnalisé. La plupart des implémentations de Cordova utilisent une boîte de dialogue natives pour cette fonctionnalité, mais certaines plates-formes du navigateur `alert` fonction, qui est généralement moins personnalisable.
+
+    Navigator.notification.Alert (message, alertCallback, [titre], [buttonName])
+    
+
+*   **message**: message de la boîte de dialogue. *(String)*
+
+*   **alertCallback**: callback à appeler lorsque la boîte de dialogue d'alerte est rejetée. *(Fonction)*
+
+*   **titre**: titre de la boîte de dialogue. *(String)* (Facultatif, par défaut`Alert`)
+
+*   **buttonName**: nom du bouton. *(String)* (Facultatif, par défaut`OK`)
+
+### Exemple
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 et 8
+*   Windows 8
+
+### Windows Phone 7 et 8 Quirks
+
+*   Il n'y a aucune boîte de dialogue d'alerte intégrée au navigateur, mais vous pouvez en lier une pour appeler `alert()` dans le scope global:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   Les deux appels `alert` et `confirm` sont non-blocants, leurs résultats ne sont disponibles que de façon asynchrone.
+
+### Firefox OS Quirks :
+
+Les deux indigènes bloquant `window.alert()` et non-bloquante `navigator.notification.alert()` sont disponibles.
+
+## navigator.notification.confirm
+
+Affiche une boîte de dialogue de confirmation personnalisable.
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **message**: message de la boîte de dialogue. *(String)*
+
+*   **confirmCallback**: callback à appeler avec l'index du bouton pressé (1, 2 ou 3) ou lorsque la boîte de dialogue est fermée sans qu'un bouton ne soit pressé (0). *(Fonction)*
+
+*   **titre**: titre de dialogue. *(String)* (Facultatif, par défaut`Confirm`)
+
+*   **buttonLabels**: tableau de chaînes spécifiant les étiquettes des boutons. *(Array)* (Optionnel, par défaut, [ `OK,Cancel` ])
+
+### confirmCallback
+
+Le `confirmCallback` s'exécute lorsque l'utilisateur appuie sur un bouton dans la boîte de dialogue de confirmation.
+
+Le rappel prend l'argument `buttonIndex` *(nombre)*, qui est l'index du bouton activé. Notez que l'index utilise base d'indexation, la valeur est `1` , `2` , `3` , etc..
+
+### Exemple
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Paciarelli
+*   Windows Phone 7 et 8
+*   Windows 8
+
+### Windows Phone 7 et 8 Quirks
+
+*   Il n'y a aucune fonction intégrée au navigateur pour `window.confirm`, mais vous pouvez en lier une en affectant:
+    
+        window.confirm = navigator.notification.confirm ;
+        
+
+*   Les appels à `alert` et `confirm` sont non-bloquants, donc le résultat est seulement disponible de façon asynchrone.
+
+### Firefox OS Quirks :
+
+Les deux indigènes bloquant `window.confirm()` et non-bloquante `navigator.notification.confirm()` sont disponibles.
+
+## navigator.notification.prompt
+
+Affiche une boîte de dialogue natif qui est plus personnalisable que le navigateur `prompt` fonction.
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **message**: message de la boîte de dialogue. *(String)*
+
+*   **promptCallback**: rappel d'invoquer avec l'index du bouton pressé (1, 2 ou 3) ou lorsque la boîte de dialogue est fermée sans une presse de bouton (0). *(Fonction)*
+
+*   **titre**: titre de la boîte de dialogue. *(String)* (Facultatif, par défaut`Alert`)
+
+*   **buttonLabels**: tableau de chaînes spécifiant les étiquettes de boutons *(Array)* (facultatif, par défaut, les étiquettes `["OK","Cancel"]`)
+
+*   **defaultText**: texte par défaut de la zone de texte ( `String` ) (en option, par défaut : chaîne vide)
+
+### promptCallback
+
+Le `promptCallback` s'exécute lorsque l'utilisateur appuie sur un bouton dans la boîte de dialogue d'invite. Le `results` objet passé au rappel contient les propriétés suivantes :
+
+*   **buttonIndex**: l'index du bouton activé. *(Nombre)* Notez que l'index utilise une indexation de base 1, donc la valeur est `1` , `2` , `3` , etc.
+
+*   **entrée 1**: le texte entré dans la boîte de dialogue d'invite. *(String)*
+
+### Exemple
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   Android
+*   Firefox OS
+*   iOS
+*   Windows Phone 7 et 8
+
+### Quirks Android
+
+*   Android prend en charge un maximum de trois boutons et ignore plus que cela.
+
+*   Sur Android 3.0 et versions ultérieures, les boutons sont affichés dans l'ordre inverse pour les appareils qui utilisent le thème Holo.
+
+### Firefox OS Quirks :
+
+Les deux indigènes bloquant `window.prompt()` et non-bloquante `navigator.notification.prompt()` sont disponibles.
+
+## navigator.notification.beep
+
+Le dispositif joue un bip sonore.
+
+    navigator.notification.beep(times);
+    
+
+*   **temps**: le nombre de fois répéter le bip. *(Nombre)*
+
+### Exemple
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Paciarelli
+*   Windows Phone 7 et 8
+*   Windows 8
+
+### Amazon Fire OS Quirks
+
+*   Amazon Fire OS joue la valeur par défaut le **Son de Notification** spécifié sous le panneau **d'affichage des réglages/& Sound** .
+
+### Quirks Android
+
+*   Android joue la **sonnerie de Notification** spécifié sous le panneau des **réglages/son et affichage** de valeur par défaut.
+
+### Windows Phone 7 et 8 Quirks
+
+*   S'appuie sur un fichier générique bip de la distribution de Cordova.
+
+### Bizarreries de paciarelli
+
+*   Paciarelli implémente les bips en lisant un fichier audio via les médias API.
+
+*   Le fichier sonore doit être court, doit se trouver dans un `sounds` sous-répertoire du répertoire racine de l'application et doit être nommé`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
new file mode 100644
index 0000000..f0132c3
--- /dev/null
+++ b/doc/it/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+Questo plugin consente di accedere ad alcuni elementi di interfaccia utente nativa del dialogo.
+
+## Installazione
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## Metodi
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+Mostra una finestra di avviso o la finestra di dialogo personalizzata. La maggior parte delle implementazioni di Cordova una dialogo nativa per questa caratteristica, ma alcune piattaforme utilizzano il browser `alert` funzione, che è in genere meno personalizzabile.
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **messaggio**: messaggio finestra di dialogo. *(String)*
+
+*   **alertCallback**: Callback da richiamare quando viene chiusa la finestra di avviso. *(Funzione)*
+
+*   **titolo**: titolo di dialogo. *(String)* (Opzionale, default è`Alert`)
+
+*   **buttonName**: nome del pulsante. *(String)* (Opzionale, default è`OK`)
+
+### Esempio
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 e 8
+*   Windows 8
+
+### Windows Phone 7 e 8 stranezze
+
+*   Non non c'è nessun avviso del browser integrato, ma è possibile associare uno come segue per chiamare `alert()` in ambito globale:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   Entrambi `alert` e `confirm` sono non di blocco chiamate, risultati di cui sono disponibili solo in modo asincrono.
+
+### Firefox OS Stranezze:
+
+Entrambi nativi di blocco `window.alert()` e non bloccante `navigator.notification.alert()` sono disponibili.
+
+## navigator.notification.confirm
+
+Visualizza una finestra di dialogo conferma personalizzabile.
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **messaggio**: messaggio finestra di dialogo. *(String)*
+
+*   **confirmCallback**: Callback da richiamare con l'indice del pulsante premuto (1, 2 o 3) o quando la finestra di dialogo viene chiusa senza una pressione del pulsante (0). *(Funzione)*
+
+*   **titolo**: titolo di dialogo. *(String)* (Opzionale, default è`Confirm`)
+
+*   **buttonLabels**: matrice di stringhe che specificano le etichette dei pulsanti. *(Matrice)* (Opzionale, default è [ `OK,Cancel` ])
+
+### confirmCallback
+
+Il `confirmCallback` viene eseguito quando l'utente preme uno dei pulsanti nella finestra di dialogo conferma.
+
+Il callback accetta l'argomento `buttonIndex` *(numero)*, che è l'indice del pulsante premuto. Nota che l'indice utilizza l'indicizzazione base uno, quindi il valore è `1` , `2` , `3` , ecc.
+
+### Esempio
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   Android
+*   BlackBerry 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 e 8
+*   Windows 8
+
+### Windows Phone 7 e 8 stranezze
+
+*   Non non c'è nessuna funzione browser incorporato per `window.confirm` , ma è possibile associare assegnando:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   Chiama al `alert` e `confirm` sono non bloccante, quindi il risultato è disponibile solo in modo asincrono.
+
+### Firefox OS Stranezze:
+
+Entrambi nativi di blocco `window.confirm()` e non bloccante `navigator.notification.confirm()` sono disponibili.
+
+## navigator.notification.prompt
+
+Visualizza una finestra di dialogo nativa che è più personalizzabile del browser `prompt` funzione.
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **messaggio**: messaggio finestra di dialogo. *(String)*
+
+*   **promptCallback**: Callback da richiamare con l'indice del pulsante premuto (1, 2 o 3) o quando la finestra di dialogo viene chiusa senza una pressione del pulsante (0). *(Funzione)*
+
+*   **titolo**: dialogo titolo *(String)* (opzionale, default è`Prompt`)
+
+*   **buttonLabels**: matrice di stringhe specificando il pulsante etichette *(Array)* (opzionale, default è`["OK","Cancel"]`)
+
+*   **defaultText**: valore di input predefinito textbox ( `String` ) (opzionale, Default: stringa vuota)
+
+### promptCallback
+
+Il `promptCallback` viene eseguito quando l'utente preme uno dei pulsanti nella finestra di dialogo richiesta. Il `results` oggetto passato al metodo di callback contiene le seguenti proprietà:
+
+*   **buttonIndex**: l'indice del pulsante premuto. *(Numero)* Nota che l'indice utilizza l'indicizzazione base uno, quindi il valore è `1` , `2` , `3` , ecc.
+
+*   **INPUT1**: il testo immesso nella finestra di dialogo richiesta. *(String)*
+
+### Esempio
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   Android
+*   Firefox OS
+*   iOS
+*   Windows Phone 7 e 8
+
+### Stranezze Android
+
+*   Android supporta un massimo di tre pulsanti e ignora di più di quello.
+
+*   Su Android 3.0 e versioni successive, i pulsanti vengono visualizzati in ordine inverso per dispositivi che utilizzano il tema Holo.
+
+### Firefox OS Stranezze:
+
+Entrambi nativi di blocco `window.prompt()` e non bloccante `navigator.notification.prompt()` sono disponibili.
+
+## navigator.notification.beep
+
+Il dispositivo riproduce un bip sonoro.
+
+    navigator.notification.beep(times);
+    
+
+*   **volte**: il numero di volte per ripetere il segnale acustico. *(Numero)*
+
+### Esempio
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 e 8
+*   Windows 8
+
+### Amazon fuoco OS stranezze
+
+*   Amazon fuoco OS riproduce il **Suono di notifica** specificato sotto il pannello **Impostazioni/Display e il suono** predefinito.
+
+### Stranezze Android
+
+*   Android giochi default **Notification ringtone** specificato sotto il pannello **impostazioni/audio e Display** .
+
+### Windows Phone 7 e 8 stranezze
+
+*   Si basa su un file generico bip dalla distribuzione di Cordova.
+
+### Tizen stranezze
+
+*   Tizen implementa bip di riproduzione di un file audio tramite i media API.
+
+*   Il file beep deve essere breve, deve essere situato un `sounds` sottodirectory della directory radice dell'applicazione e deve essere denominato`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
new file mode 100644
index 0000000..2350421
--- /dev/null
+++ b/doc/ko/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+이 플러그인 몇 가지 기본 대화 상자 UI 요소에 액세스할 수 있습니다.
+
+## 설치
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## 메서드
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+사용자 지정 경고 또는 대화 상자를 보여 줍니다. 이 기능에 대 한 기본 대화 상자를 사용 하는 대부분의 코르도바 구현 하지만 일부 플랫폼 사용 브라우저의 `alert` 함수는 일반적으로 덜 사용자 정의할 수 있습니다.
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **메시지**: 대화 메시지. *(문자열)*
+
+*   **alertCallback**: 콜백을 호출할 때 경고 대화 기 각. *(기능)*
+
+*   **제목**: 제목 대화 상자. *(문자열)* (옵션, 기본값:`Alert`)
+
+*   **buttonName**: 단추 이름. *(문자열)* (옵션, 기본값:`OK`)
+
+### 예를 들어
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   안 드 로이드
+*   블랙베리 10
+*   Firefox 운영 체제
+*   iOS
+*   Tizen
+*   Windows Phone 7과 8
+*   윈도우 8
+
+### Windows Phone 7, 8 특수
+
+*   아니 내장 브라우저 경고 하지만 다음과 같이 전화를 바인딩할 수 있습니다 `alert()` 전역 범위에서:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   둘 다 `alert` 와 `confirm` 는 비차단 호출, 결과 비동기적으로 사용할 수 있습니다.
+
+### 파이어 폭스 OS 단점:
+
+두 기본 차단 `window.alert()` 및 비차단 `navigator.notification.alert()` 사용할 수 있습니다.
+
+## navigator.notification.confirm
+
+사용자 정의 확인 대화 상자가 표시 됩니다.
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **메시지**: 대화 메시지. *(문자열)*
+
+*   **confirmCallback**: 인덱스 버튼 (1, 2 또는 3) 또는 대화 상자 버튼을 누르면 (0) 없이 기 각 될 때 호출할 콜백 합니다. *(기능)*
+
+*   **제목**: 제목 대화 상자. *(문자열)* (옵션, 기본값:`Confirm`)
+
+*   **buttonLabels**: 단추 레이블을 지정 하는 문자열 배열입니다. *(배열)* (옵션, 기본값은 [ `OK,Cancel` ])
+
+### confirmCallback
+
+`confirmCallback`사용자가 확인 대화 상자에서 단추 중 하나를 누를 때 실행 됩니다.
+
+콜백 인수 `buttonIndex` *(번호)를*누르면된 버튼의 인덱스입니다. 참고 인덱스에서는 인덱스 1부터 값은 `1` , `2` , `3` , 등등.
+
+### 예를 들어
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   안 드 로이드
+*   블랙베리 10
+*   Firefox 운영 체제
+*   iOS
+*   Tizen
+*   Windows Phone 7과 8
+*   윈도우 8
+
+### Windows Phone 7, 8 특수
+
+*   에 대 한 기본 제공 브라우저 함수가 `window.confirm` , 그러나 할당 하 여 바인딩할 수 있습니다:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   호출 `alert` 및 `confirm` 되므로 차단 되지 않은 결과만 비동기적으로 사용할 수 있습니다.
+
+### 파이어 폭스 OS 단점:
+
+두 기본 차단 `window.confirm()` 및 비차단 `navigator.notification.confirm()` 사용할 수 있습니다.
+
+## navigator.notification.prompt
+
+브라우저의 보다 더 많은 사용자 정의 기본 대화 상자 표시 `prompt` 기능.
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **메시지**: 대화 메시지. *(문자열)*
+
+*   **promptCallback**: 인덱스 버튼 (1, 2 또는 3) 또는 대화 상자 버튼을 누르면 (0) 없이 기 각 될 때 호출할 콜백 합니다. *(기능)*
+
+*   **제목**: 제목 *(문자열)* (옵션, 기본값 대화 상자`Prompt`)
+
+*   **buttonLabels**: 단추를 지정 하는 문자열의 배열 *(배열)* (옵션, 기본값은 레이블`["OK","Cancel"]`)
+
+*   **defaultText**: 기본 텍스트 상자 입력 값 ( `String` ) (옵션, 기본값: 빈 문자열)
+
+### promptCallback
+
+`promptCallback`사용자가 프롬프트 대화 상자에서 단추 중 하나를 누를 때 실행 됩니다. `results`콜백에 전달 된 개체에는 다음 속성이 포함 되어 있습니다:
+
+*   **buttonIndex**: 눌려진된 버튼의 인덱스. *(수)* 참고 인덱스에서는 인덱스 1부터 값은 `1` , `2` , `3` , 등등.
+
+*   **input1**: 프롬프트 대화 상자에 입력 한 텍스트. *(문자열)*
+
+### 예를 들어
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   안 드 로이드
+*   Firefox 운영 체제
+*   iOS
+*   Windows Phone 7과 8
+
+### 안 드 로이드 단점
+
+*   안 드 로이드 최대 3 개의 단추를 지원 하 고 그것 보다는 더 이상 무시 합니다.
+
+*   안 드 로이드 3.0 및 나중에, 단추는 홀로 테마를 사용 하는 장치에 대 한 반대 순서로 표시 됩니다.
+
+### 파이어 폭스 OS 단점:
+
+두 기본 차단 `window.prompt()` 및 비차단 `navigator.notification.prompt()` 사용할 수 있습니다.
+
+## navigator.notification.beep
+
+장치는 경고음 소리를 재생 합니다.
+
+    navigator.notification.beep(times);
+    
+
+*   **시간**: 경고음을 반복 하는 횟수. *(수)*
+
+### 예를 들어
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   안 드 로이드
+*   블랙베리 10
+*   iOS
+*   Tizen
+*   Windows Phone 7과 8
+*   윈도우 8
+
+### 아마존 화재 OS 단점
+
+*   아마존 화재 운영 체제 기본 **설정/디스플레이 및 사운드** 패널에 지정 된 **알림 소리** 재생 됩니다.
+
+### 안 드 로이드 단점
+
+*   안 드 로이드 기본 **알림 벨소리** **설정/사운드 및 디스플레이** 패널에서 지정 합니다.
+
+### Windows Phone 7, 8 특수
+
+*   코르 도우 바 분포에서 일반 경고음 파일에 의존합니다.
+
+### Tizen 특수
+
+*   Tizen은 미디어 API 통해 오디오 파일을 재생 하 여 경고음을 구현 합니다.
+
+*   경고음 파일에 위치 해야 합니다, 짧은 해야 한 `sounds` 응용 프로그램의 루트 디렉터리의 하위 디렉터리 명명 해야 합니다`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
new file mode 100644
index 0000000..c968310
--- /dev/null
+++ b/doc/pl/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+Ten plugin umożliwia dostęp do niektórych rodzimych okna dialogowego elementy interfejsu użytkownika.
+
+## Instalacji
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## Metody
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+Pokazuje niestandardowe wpisu lub okno dialogowe. Większość implementacji Cordova używać rodzimych okno dialogowe dla tej funkcji, ale niektóre platformy używać przeglądarki `alert` funkcja, który jest zazwyczaj mniej konfigurowalny.
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **wiadomość**: komunikat okna dialogowego. *(String)*
+
+*   **alertCallback**: wywołanie zwrotne do wywołania, gdy okno dialogowe alert jest oddalona. *(Funkcja)*
+
+*   **tytuł**: okno tytuł. *(String)* (Opcjonalna, domyślnie`Alert`)
+
+*   **buttonName**: Nazwa przycisku. *(String)* (Opcjonalna, domyślnie`OK`)
+
+### Przykład
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   Android
+*   Jeżyna 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 i 8
+*   Windows 8
+
+### Windows Phone 7 i 8 dziwactwa
+
+*   Istnieje wpis nie wbudowana przeglądarka, ale można powiązać w następujący sposób na wywołanie `alert()` w globalnym zasięgu:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   Zarówno `alert` i `confirm` są bez blokowania połączeń, których wyniki są tylko dostępne asynchronicznie.
+
+### Firefox OS dziwactwa:
+
+Blokuje zarówno rodzimych `window.alert()` i bez blokowania `navigator.notification.alert()` są dostępne.
+
+## navigator.notification.confirm
+
+Wyświetla okno dialogowe potwierdzenia konfigurowalny.
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **wiadomość**: komunikat okna dialogowego. *(String)*
+
+*   **confirmCallback**: wywołanie zwrotne do wywołania z indeksu z przycisku (1, 2 lub 3), lub gdy okno jest zwolniony bez naciśnij przycisk (0). *(Funkcja)*
+
+*   **tytuł**: okno tytuł. *(String)* (Opcjonalna, domyślnie`Confirm`)
+
+*   **buttonLabels**: tablica ciągów, określając etykiety przycisków. *(Tablica)* (Opcjonalna, domyślnie [ `OK,Cancel` ])
+
+### confirmCallback
+
+`confirmCallback`Wykonuje, gdy użytkownik naciśnie klawisz jeden z przycisków w oknie dialogowym potwierdzenia.
+
+Wywołania zwrotnego przyjmuje argument `buttonIndex` *(numer)*, który jest indeksem wciśnięty przycisk. Uwaga, że indeks używa, na podstawie jednego indeksowania, więc wartość jest `1` , `2` , `3` , itp.
+
+### Przykład
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   Android
+*   Jeżyna 10
+*   Firefox OS
+*   iOS
+*   Tizen
+*   Windows Phone 7 i 8
+*   Windows 8
+
+### Windows Phone 7 i 8 dziwactwa
+
+*   Istnieje funkcja wbudowana przeglądarka nie `window.confirm` , ale można go powiązać przypisując:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   Wzywa do `alert` i `confirm` są bez blokowania, więc wynik jest tylko dostępnych asynchronicznie.
+
+### Firefox OS dziwactwa:
+
+Blokuje zarówno rodzimych `window.confirm()` i bez blokowania `navigator.notification.confirm()` są dostępne.
+
+## navigator.notification.prompt
+
+Wyświetla okno dialogowe macierzystego, który bardziej niż przeglądarki `prompt` funkcja.
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **wiadomość**: komunikat okna dialogowego. *(String)*
+
+*   **promptCallback**: wywołanie zwrotne do wywołania z indeksu z przycisku (1, 2 lub 3), lub gdy okno jest zwolniony bez naciśnij przycisk (0). *(Funkcja)*
+
+*   **tytuł**: okno tytuł *(String)* (opcjonalna, domyślnie`Prompt`)
+
+*   **buttonLabels**: tablica ciągów, określając przycisk etykiety *(tablica)* (opcjonalna, domyślnie`["OK","Cancel"]`)
+
+*   **defaultText**: wartość wejściowa tekstowym domyślnego ( `String` ) (opcjonalna, domyślnie: pusty ciąg)
+
+### promptCallback
+
+`promptCallback`Wykonuje, gdy użytkownik naciśnie klawisz jeden z przycisków w oknie dialogowym polecenia. `results`Obiekt przekazywany do wywołania zwrotnego zawiera następujące właściwości:
+
+*   **buttonIndex**: indeks wciśnięty przycisk. *(Liczba)* Uwaga, że indeks używa, na podstawie jednego indeksowania, więc wartość jest `1` , `2` , `3` , itp.
+
+*   **input1**: Tekst wprowadzony w oknie polecenia. *(String)*
+
+### Przykład
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   Android
+*   Firefox OS
+*   iOS
+*   Windows Phone 7 i 8
+
+### Android dziwactwa
+
+*   Android obsługuje maksymalnie trzy przyciski i więcej niż to ignoruje.
+
+*   Android 3.0 i nowszych przyciski są wyświetlane w kolejności odwrotnej do urządzenia, które używają tematu Holo.
+
+### Firefox OS dziwactwa:
+
+Blokuje zarówno rodzimych `window.prompt()` i bez blokowania `navigator.notification.prompt()` są dostępne.
+
+## navigator.notification.beep
+
+Urządzenie odtwarza sygnał ciągły dźwięk.
+
+    navigator.notification.beep(times);
+    
+
+*   **razy**: liczba powtórzeń po sygnale. *(Liczba)*
+
+### Przykład
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   Android
+*   Jeżyna 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 i 8
+*   Windows 8
+
+### Amazon ogień OS dziwactwa
+
+*   Amazon ogień OS gra domyślny **Dźwięk powiadomienia** określone w panelu **ekranu/ustawienia i dźwięk** .
+
+### Android dziwactwa
+
+*   Android gra domyślnie **dzwonek powiadomienia** określone w panelu **ustawień/dźwięk i wyświetlacz** .
+
+### Windows Phone 7 i 8 dziwactwa
+
+*   Opiera się na pliku rodzajowego sygnał z rozkładu Cordova.
+
+### Osobliwości Tizen
+
+*   Tizen implementuje dźwięków przez odtwarzania pliku audio za pośrednictwem mediów API.
+
+*   Plik dźwiękowy muszą być krótkie, musi znajdować się w `sounds` podkatalogu katalogu głównego aplikacji i musi być nazwany`beep.wav`.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs/blob/4eb5fd5b/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
new file mode 100644
index 0000000..f9abbb1
--- /dev/null
+++ b/doc/zh/index.md
@@ -0,0 +1,247 @@
+<!---
+    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.
+-->
+
+# org.apache.cordova.dialogs
+
+這個外掛程式提供了對一些本機對話方塊的使用者介面元素的訪問。
+
+## 安裝
+
+    cordova plugin add org.apache.cordova.dialogs
+    
+
+## 方法
+
+*   `navigator.notification.alert`
+*   `navigator.notification.confirm`
+*   `navigator.notification.prompt`
+*   `navigator.notification.beep`
+
+## navigator.notification.alert
+
+顯示一個自訂的警報或對話方塊框。 大多數科爾多瓦實現使用本機對話方塊中的此項功能,但一些平臺使用瀏覽器的 `alert` 函數,這是通常不那麼可自訂。
+
+    navigator.notification.alert(message, alertCallback, [title], [buttonName])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **alertCallback**: 當警報對話方塊的被解雇時要調用的回檔。*(函數)*
+
+*   **標題**: 標題對話方塊。*(字串)*(可選,預設值為`Alert`)
+
+*   **buttonName**: 按鈕名稱。*(字串)*(可選,預設值為`OK`)
+
+### 示例
+
+    function alertDismissed() {
+        // do something
+    }
+    
+    navigator.notification.alert(
+        'You are the winner!',  // message
+        alertDismissed,         // callback
+        'Game Over',            // title
+        'Done'                  // buttonName
+    );
+    
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   Android 系統
+*   黑莓 10
+*   火狐瀏覽器作業系統
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+*   Windows 8
+
+### Windows Phone 7 和 8 怪癖
+
+*   有沒有內置瀏覽器警報,但你可以綁定一個,如下所示調用 `alert()` 在全球範圍內:
+    
+        window.alert = navigator.notification.alert;
+        
+
+*   兩個 `alert` 和 `confirm` 的非阻塞的調用,其中的結果才是可用的非同步。
+
+### 火狐瀏覽器作業系統怪癖:
+
+這兩個本機阻止 `window.alert()` 和非阻塞 `navigator.notification.alert()` 可用。
+
+## navigator.notification.confirm
+
+顯示一個可自訂的確認對話方塊。
+
+    navigator.notification.confirm(message, confirmCallback, [title], [buttonLabels])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **confirmCallback**: 要用索引 (1、 2 或 3) 按下的按鈕,或者在沒有按下按鈕 (0) 駁回了對話方塊中時調用的回檔。*(函數)*
+
+*   **標題**: 標題對話方塊。*(字串)*(可選,預設值為`Confirm`)
+
+*   **buttonLabels**: 指定按鈕標籤的字串陣列。*(陣列)*(可選,預設值為 [ `OK,Cancel` ])
+
+### confirmCallback
+
+`confirmCallback`當使用者按下確認對話方塊中的按鈕之一的時候執行。
+
+回檔將參數 `buttonIndex` *(編號)*,它是按下的按鈕的索引。 請注意索引使用基於 1 的索引,所以值是 `1` , `2` , `3` ,等等。
+
+### 示例
+
+    function onConfirm(buttonIndex) {
+        alert('You selected button ' + buttonIndex);
+    }
+    
+    navigator.notification.confirm(
+        'You are the winner!', // message
+         onConfirm,            // callback to invoke with index of button pressed
+        'Game Over',           // title
+        ['Restart','Exit']     // buttonLabels
+    );
+    
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   Android 系統
+*   黑莓 10
+*   火狐瀏覽器作業系統
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+*   Windows 8
+
+### Windows Phone 7 和 8 怪癖
+
+*   有沒有內置的瀏覽器功能的 `window.confirm` ,但你可以將它綁定通過分配:
+    
+        window.confirm = navigator.notification.confirm;
+        
+
+*   調用到 `alert` 和 `confirm` 的非阻塞,所以結果就是只可用以非同步方式。
+
+### 火狐瀏覽器作業系統怪癖:
+
+這兩個本機阻止 `window.confirm()` 和非阻塞 `navigator.notification.confirm()` 可用。
+
+## navigator.notification.prompt
+
+顯示本機的對話方塊,更可自訂的瀏覽器比 `prompt` 函數。
+
+    navigator.notification.prompt(message, promptCallback, [title], [buttonLabels], [defaultText])
+    
+
+*   **消息**: 消息對話方塊。*(字串)*
+
+*   **promptCallback**: 要用索引 (1、 2 或 3) 按下的按鈕,或者在沒有按下按鈕 (0) 駁回了對話方塊中時調用的回檔。*(函數)*
+
+*   **標題**: 對話方塊的標題*(字串)* (可選,預設值為`Prompt`)
+
+*   **buttonLabels**: 陣列,這些字串指定按鈕標籤*(陣列)* (可選,預設值為`["OK","Cancel"]`)
+
+*   **defaultText**: 預設文字方塊中輸入值 ( `String` ) (可選,預設值: 空字串)
+
+### promptCallback
+
+`promptCallback`當使用者按下一個提示對話方塊中的按鈕時執行。`results`物件傳遞給回檔的包含以下屬性:
+
+*   **buttonIndex**: 按下的按鈕的索引。*(人數)*請注意索引使用基於 1 的索引,所以值是 `1` , `2` , `3` ,等等。
+
+*   **輸入 1**: 在提示對話方塊中輸入的文本。*(字串)*
+
+### 示例
+
+    function onPrompt(results) {
+        alert("You selected button number " + results.buttonIndex + " and entered " + results.input1);
+    }
+    
+    navigator.notification.prompt(
+        'Please enter your name',  // message
+        onPrompt,                  // callback to invoke
+        'Registration',            // title
+        ['Ok','Exit'],             // buttonLabels
+        'Jane Doe'                 // defaultText
+    );
+    
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   Android 系統
+*   火狐瀏覽器作業系統
+*   iOS
+*   Windows Phone 7 和 8
+
+### Android 的怪癖
+
+*   Android 支援最多的三個按鈕,並忽略任何更多。
+
+*   關於 Android 3.0 及更高版本,使用全息主題的設備按相反的順序顯示按鈕。
+
+### 火狐瀏覽器作業系統怪癖:
+
+這兩個本機阻止 `window.prompt()` 和非阻塞 `navigator.notification.prompt()` 可用。
+
+## navigator.notification.beep
+
+該設備播放提示音聲音。
+
+    navigator.notification.beep(times);
+    
+
+*   **時間**: 的次數重複發出蜂鳴音。*(人數)*
+
+### 示例
+
+    // Beep twice!
+    navigator.notification.beep(2);
+    
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   Android 系統
+*   黑莓 10
+*   iOS
+*   Tizen
+*   Windows Phone 7 和 8
+*   Windows 8
+
+### 亞馬遜火 OS 怪癖
+
+*   亞馬遜火 OS 播放預設**設置/顯示 & 聲音**面板下指定的**通知聲音**。
+
+### Android 的怪癖
+
+*   Android 系統播放的預設**通知鈴聲****設置/聲音和顯示**面板下指定。
+
+### Windows Phone 7 和 8 怪癖
+
+*   依賴泛型蜂鳴音檔從科爾多瓦分佈。
+
+### Tizen 怪癖
+
+*   Tizen 通過播放音訊檔通過媒體 API 實現會發出蜂鳴聲。
+
+*   蜂鳴音檔必須很短,必須設在 `sounds` 子目錄中的應用程式的根目錄中,並且必須命名`beep.wav`.
\ No newline at end of file