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/06/25 21:31:13 UTC

[1/6] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-network-information

Repository: cordova-plugin-network-information
Updated Branches:
  refs/heads/master d718d0e7c -> c19fecc19


Lisa testing pulling in plugins for plugin: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/1d4d7882
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/1d4d7882
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/1d4d7882

Branch: refs/heads/master
Commit: 1d4d78820cc8dd89bb57a0964e61bc7298b62f24
Parents: 15049af
Author: ldeluca <ld...@us.ibm.com>
Authored: Thu Feb 27 11:15:08 2014 -0500
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:40 2014 -0400

----------------------------------------------------------------------
 doc/fr/index.md | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 173 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/1d4d7882/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
new file mode 100644
index 0000000..58e1d04
--- /dev/null
+++ b/doc/fr/index.md
@@ -0,0 +1,173 @@
+<!---
+    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.network-information
+
+Ce plugin fournit une implémentation d'une ancienne version de l' [API Information Network][1]. Il fournit des informations sur l'appareil cellulaire et connexion wifi, et si l'appareil dispose d'une connexion internet.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## Installation
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## Plates-formes prises en charge
+
+*   Amazon Fire OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Windows Phone 7 et 8
+*   Paciarelli
+*   Windows 8
+
+# Connexion
+
+> L'objet `connection`, disponible via `navigator.connection`, fournit des informations sur la connection cellulaire/wifi de l'appareil.
+
+## Propriétés
+
+*   connection.type
+
+## Constantes
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+Cette propriété offre un moyen rapide pour déterminer l'état et le type de la connexion réseau de l'appareil.
+
+### Petit exemple
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### Changement d'API
+
+Jusqu'à Cordova 2.3.0, l'objet `Connection` était accessible via `navigator.network.connection` ; ceci a été changé pour `navigator.connection` afin de concorder avec la spécification du W3C. L'accès est toujours possible à l'emplacement d'origine, mais est considéré comme obsolète et sera bientôt supprimé.
+
+### iOS Quirks
+
+*   iOS ne peut pas détecter le type de connexion au réseau cellulaire. 
+    *   `navigator.connection.type`a la valeur `Connection.CELL` pour toutes les données cellulaires.
+
+### Windows Phone Quirks
+
+*   Lors de l'exécution dans l'émulateur, détecte toujours `navigator.connection.type` comme`Connection.UNKNOWN`.
+
+*   Windows Phone ne peut pas détecter le type de connexion au réseau cellulaire.
+    
+    *   `navigator.connection.type`a la valeur `Connection.CELL` pour toutes les données cellulaires.
+
+### Bizarreries de paciarelli
+
+*   Paciarelli peut uniquement détecter une connexion cellulaire ou bien WiFi. 
+    *   `navigator.connection.type`a la valeur `Connection.CELL_2G` pour toutes les données cellulaires.
+
+# Événements liés au réseau
+
+## offline
+
+L'évènement se déclenche lorsqu'une application se déconnecte, quand l'appareil n'est pas connecté à Internet.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### Détails
+
+L'évènement `offline` se déclenche lorsqu'un appareil précédemment connecté perd sa connexion au réseau, empêchant ainsi l'application d'accéder à Internet. Il repose sur les mêmes informations que l'API Connection et se déclenche quand `connection.type` passe de `NONE` à une autre valeur.
+
+Les applications doivent généralement utiliser `document.addEventListener` pour attacher un écouteur d'événements une fois le `deviceready` événement se déclenche.
+
+### Petit exemple
+
+    document.addEventListener (« hors ligne », onOffline, false) ;
+    
+    function onOffline() {/ / gestion de l'événement en mode hors connexion}
+    
+
+### iOS Quirks
+
+Lors du démarrage initial, le déclenchement du premier évènement offline (si applicable) prend au moins une seconde.
+
+### Windows Phone 7 Quirks
+
+Lors de l'exécution dans l'émulateur, le `connection.status` est toujours inconnu, ainsi cet événement ne fait *pas* de feu.
+
+### Windows Phone 8 Quirks
+
+L'émulateur signale le type de connexion comme `Cellular`, type qui ne change jamais, ainsi l'évènement n'est *pas* déclenché.
+
+## online
+
+L'évènement se déclenche lorsqu'une application se connecte, quand l'appareil est connecté à Internet.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### Détails
+
+L'évènement `online` se déclenche lorsqu'un appareil précédemment non-connecté se connecte au réseau, permettant ainsi à l'application d'accéder à Internet. Il repose sur les mêmes informations que l'API Connection et se déclenche quand la valeur de `connection.type` devient `NONE`.
+
+Les applications doivent généralement utiliser `document.addEventListener` pour attacher un écouteur d'événements une fois le `deviceready` événement se déclenche.
+
+### Petit exemple
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS Quirks
+
+Lors du démarrage initial, le déclenchement du premier évènement `online` (si applicable) prend au moins une seconde avant quoi `connection.type` vaut `UNKNOWN`.
+
+### Windows Phone 7 Quirks
+
+Lors de l'exécution dans l'émulateur, le `connection.status` est toujours inconnu, ainsi cet événement ne fait *pas* de feu.
+
+### Windows Phone 8 Quirks
+
+L'émulateur signale le type de connexion comme `Cellular` , qui ne change pas, aussi des événements ne fait *pas* de feu.
\ No newline at end of file


[4/6] git commit: documentation translation: cordova-plugin-network-information

Posted by ld...@apache.org.
documentation translation: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/12fc7c39
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/12fc7c39
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/12fc7c39

Branch: refs/heads/master
Commit: 12fc7c39f43b768baf5dad6f9d99077fc2eb3745
Parents: a8fbf0e
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:36:58 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:41 2014 -0400

----------------------------------------------------------------------
 doc/de/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ja/index.md |  16 ++---
 2 files changed, 189 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/12fc7c39/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
new file mode 100644
index 0000000..71e8647
--- /dev/null
+++ b/doc/de/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+Dieses Plugin stellt eine Implementierung einer alten Version der [Netzwerk-Informationen-API][1]. Es werden Informationen über das Gerät Mobilfunk und Wifi-Anschluss, und ob das Gerät über eine Internetverbindung verfügt.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## Installation
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## Unterstützte Plattformen
+
+*   Amazon Fire OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Windows Phone 7 und 8
+*   Tizen
+*   Windows 8
+*   Firefox OS
+
+# Verbindung
+
+> Das `connection` Objekt, verfügbar gemachten über `navigator.connection`, enthält Informationen über die Mobilfunk- und Wi-Fi-Verbindung des Gerätes.
+
+## Eigenschaften
+
+*   connection.type
+
+## Konstanten
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+Diese Eigenschaft bietet eine schnelle Möglichkeit, um den Netzwerkverbindungsstatus und die Art der Verbindung zu bestimmen.
+
+### Kleines Beispiel
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### API Änderung
+
+Bis Cordova 2.3.0 wurde auf das `Connection` Objekt über `navigator.network.connection` zugegriffen, danach wurde der Zugriff auf `navigator.connection` geändert, um der W3C-Spezifikation zu entsprechen. Es steht immer noch an seiner ursprünglichen Stelle, aber ist veraltet und wird schliesslich entfernt.
+
+### iOS Macken
+
+*   iOS kann Mobilfunknetz Verbindungstyp nicht erkennen. 
+    *   `navigator.connection.type`auf festgelegt ist `Connection.CELL` für alle Handy-Daten.
+
+### Windows Phone Macken
+
+*   Wenn im Emulator ausgeführt wird, erkennt immer `navigator.connection.type` als`Connection.UNKNOWN`.
+
+*   Windows Phone kann Mobilfunknetz Verbindungstyp nicht erkennen.
+    
+    *   `navigator.connection.type`auf festgelegt ist `Connection.CELL` für alle Handy-Daten.
+
+### Tizen Macken
+
+*   Tizen kann nur eine Wi-Fi- oder Mobilfunkverbindung erkennen. 
+    *   `navigator.connection.type`auf festgelegt ist `Connection.CELL_2G` für alle Handy-Daten.
+
+### Firefox OS Macken
+
+*   Firefox-OS kann Mobilfunknetz Verbindungstyp nicht erkennen. 
+    *   `navigator.connection.type`auf festgelegt ist `Connection.CELL` für alle Handy-Daten.
+
+# Netzwerk-Veranstaltungen
+
+## offline
+
+Das Ereignis wird ausgelöst, wenn eine Anwendung offline geht, und das Gerät nicht mit dem Internet verbunden ist.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### Informationen
+
+Das `offline` -Ereignis wird ausgelöst, wenn ein bereits angeschlossenes Gerät eine Netzwerkverbindung verliert, so dass eine Anwendung nicht mehr auf das Internet zugreifen kann. Es stützt sich auf die gleichen Informationen wie die Verbindung-API und wird ausgelöst, wenn die `connection.type` ändert sich von `NONE` auf einen anderen Wert.
+
+Anwendungen sollten in der Regel verwenden `document.addEventListener` einmal einen Ereignis-Listener hinzufügen das `deviceready` -Ereignis ausgelöst.
+
+### Kleines Beispiel
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS Macken
+
+Beim ersten Start dauert das erste offline-Event (falls zutreffend) mindestens eine Sekunde zu schießen.
+
+### Windows Phone 7 Macken
+
+Bei der Ausführung im Emulator, der `connection.status` ist immer unbekannt, so dass dieses Ereignis *nicht* Feuer.
+
+### Windows Phone 8 Macken
+
+Der Emulator meldet den Verbindungstyp als `Cellular` , die wird nicht geändert, so dass das Ereignis *nicht* Feuer.
+
+## online
+
+Dieses Ereignis wird ausgelöst, wenn eine Anwendung online geht, und das Gerät wird mit dem Internet verbunden.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### Informationen
+
+Das `online` -Ereignis wird ausgelöst, wenn ein zuvor unverbundenen Gerät eine Netzwerkverbindung zu einem Anwendung Zugriff auf das Internet empfängt. Es stützt sich auf die gleichen Informationen wie die Verbindung-API und wird ausgelöst, wenn der Wert des `connection.type` wird`NONE`.
+
+Anwendungen sollten in der Regel verwenden `document.addEventListener` einmal einen Ereignis-Listener hinzufügen das `deviceready` -Ereignis ausgelöst.
+
+### Kleines Beispiel
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS Macken
+
+Beim ersten Start die erste `online` Ereignis (falls zutreffend) dauert mindestens eine Sekunde vor dem Feuer `connection.type` ist`UNKNOWN`.
+
+### Windows Phone 7 Macken
+
+Bei der Ausführung im Emulator, der `connection.status` ist immer unbekannt, so dass dieses Ereignis *nicht* Feuer.
+
+### Windows Phone 8 Macken
+
+Der Emulator meldet den Verbindungstyp als `Cellular` , die wird nicht geändert, so dass Ereignisse *nicht* Feuer.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/12fc7c39/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
index 965fc01..b24c49f 100644
--- a/doc/ja/index.md
+++ b/doc/ja/index.md
@@ -19,7 +19,7 @@
 
 # org.apache.cordova.network-information
 
-This plugin provides an implementation of an old version of the [Network Information API][1]. It provides information about the device's cellular and wifi connection, and whether the device has an internet connection.
+このプラグインは、古いバージョンの[ネットワーク情報 API][1]の実装を提供します。 デバイスの携帯電話や wifi 接続に関する情報を提供し、かどうか、デバイスがインターネットに接続します。
 
  [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
 
@@ -37,7 +37,7 @@ This plugin provides an implementation of an old version of the [Network Informa
 *   Windows Phone 7 と 8
 *   Tizen
 *   Windows 8
-*   Firefox OS
+*   Firefox の OS
 
 # 接続
 
@@ -90,27 +90,27 @@ This plugin provides an implementation of an old version of the [Network Informa
 ### iOS の癖
 
 *   iOS は、携帯電話のネットワーク接続の種類を検出できません。 
-    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+    *   `navigator.connection.type`設定する `Connection.CELL` すべての携帯電話データの。
 
 ### Windows Phone の癖
 
-*   When running in the emulator, always detects `navigator.connection.type` as `Connection.UNKNOWN`.
+*   エミュレーターで実行しているときを常に検出 `navigator.connection.type` として`Connection.UNKNOWN`.
 
 *   Windows Phone 携帯電話ネットワーク接続の種類を検出できません。
     
-    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+    *   `navigator.connection.type`設定する `Connection.CELL` すべての携帯電話データの。
 
 ### Tizen の癖
 
 *   Tizen には、WiFi または携帯電話の接続だけを検出できます。 
-    *   `navigator.connection.type` is set to `Connection.CELL_2G` for all cellular data.
+    *   `navigator.connection.type`設定する `Connection.CELL_2G` すべての携帯電話データの。
 
 ### Firefox OS 癖
 
 *   Firefox の OS は、携帯電話のネットワーク接続の種類を検出できません。 
-    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+    *   `navigator.connection.type`設定する `Connection.CELL` すべての携帯電話データの。
 
-# Network-related Events
+# ネットワーク関連のイベント
 
 ## offline
 


[3/6] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-network-information

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/a8fbf0e9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/a8fbf0e9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/a8fbf0e9

Branch: refs/heads/master
Commit: a8fbf0e92dcf1692a91df51f090783fbd459a53a
Parents: d327384
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:22:33 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:41 2014 -0400

----------------------------------------------------------------------
 doc/es/index.md |  12 +++-
 doc/fr/index.md |   6 ++
 doc/it/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/ko/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/pl/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/zh/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 740 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index 4817768..26c051f 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -37,6 +37,7 @@ Este plugin proporciona una implementación de una versión antigua de la [Red d
 *   Windows Phone 7 y 8
 *   Tizen
 *   Windows 8
+*   Firefox OS
 
 # Conexión
 
@@ -104,6 +105,11 @@ Hasta Cordova 2.3.0, el `Connection` objeto se accede a través de `navigator.ne
 *   Tizen sólo puede detectar un Wi-Fi o conexión celular. 
     *   `navigator.connection.type`se establece en `Connection.CELL_2G` para todos los datos celulares.
 
+### Firefox OS rarezas
+
+*   Firefox OS no puede detectar el tipo de conexión de red celular. 
+    *   `navigator.connection.type`se establece en `Connection.CELL` para todos los datos celulares.
+
 # Eventos relacionados con la red
 
 ## offline
@@ -121,9 +127,11 @@ Las aplicaciones normalmente deben utilizar `document.addEventListener` para con
 
 ### Ejemplo rápido
 
-    document.addEventListener ("offline", onOffline, false);
+    document.addEventListener("offline", onOffline, false);
     
-    function onOffline() {/ / Handle del evento offline}
+    function onOffline() {
+        // Handle the offline event
+    }
     
 
 ### iOS rarezas

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index 58e1d04..ef1c9fa 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -37,6 +37,7 @@ Ce plugin fournit une implémentation d'une ancienne version de l' [API Informat
 *   Windows Phone 7 et 8
 *   Paciarelli
 *   Windows 8
+*   Firefox OS
 
 # Connexion
 
@@ -104,6 +105,11 @@ Jusqu'à Cordova 2.3.0, l'objet `Connection` était accessible via `navigator.ne
 *   Paciarelli peut uniquement détecter une connexion cellulaire ou bien WiFi. 
     *   `navigator.connection.type`a la valeur `Connection.CELL_2G` pour toutes les données cellulaires.
 
+### Firefox OS Quirks
+
+*   Firefox OS ne peut pas détecter le type de connexion au réseau cellulaire. 
+    *   `navigator.connection.type`a la valeur `Connection.CELL` pour toutes les données cellulaires.
+
 # Événements liés au réseau
 
 ## offline

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
new file mode 100644
index 0000000..d9addf1
--- /dev/null
+++ b/doc/it/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+Questo plugin fornisce un'implementazione di una vecchia versione dell' [API di informazioni di rete][1]. Fornisce informazioni sul dispositivo cellulare e connessione wifi, e se il dispositivo dispone di una connessione internet.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## Installazione
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## Piattaforme supportate
+
+*   Amazon fuoco OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Windows Phone 7 e 8
+*   Tizen
+*   Windows 8
+*   Firefox OS
+
+# Connessione
+
+> Il `connection` oggetto, esposto tramite `navigator.connection` , fornisce informazioni sulla connessione wifi e cellulare del dispositivo.
+
+## Proprietà
+
+*   connection.type
+
+## Costanti
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+Questa proprietà offre un modo rapido per determinare stato della connessione di rete del dispositivo e il tipo di connessione.
+
+### Esempio rapido
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### Cambiamento di API
+
+Fino a Cordova 2.3.0, il `Connection` oggetto era accessibile tramite `navigator.network.connection` , dopo che è stato cambiato in `navigator.connection` per abbinare la specifica W3C. È ancora disponibile nella sua posizione originale, ma è obsoleto e verrà rimosso alla fine.
+
+### iOS stranezze
+
+*   iOS non è possibile rilevare il tipo di connessione di rete cellulare. 
+    *   `navigator.connection.type`è impostata su `Connection.CELL` per tutti i dati cellulare.
+
+### Stranezze di Windows Phone
+
+*   Quando è in esecuzione nell'emulatore, rileva sempre `navigator.connection.type` come`Connection.UNKNOWN`.
+
+*   Windows Phone non riesce a rilevare il tipo di connessione di rete cellulare.
+    
+    *   `navigator.connection.type`è impostata su `Connection.CELL` per tutti i dati cellulare.
+
+### Tizen stranezze
+
+*   Tizen può rilevare solo un WiFi o una connessione cellulare. 
+    *   `navigator.connection.type`è impostata su `Connection.CELL_2G` per tutti i dati cellulare.
+
+### Firefox OS stranezze
+
+*   Sistema operativo Firefox non riesce a rilevare il tipo di connessione di rete cellulare. 
+    *   `navigator.connection.type`è impostata su `Connection.CELL` per tutti i dati cellulare.
+
+# Eventi relativi alla rete
+
+## offline
+
+L'evento viene generato quando un'applicazione passa alla modalità offline, e il dispositivo non è connesso a Internet.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### Dettagli
+
+Il `offline` evento viene generato quando un dispositivo precedentemente connesso perde una connessione di rete in modo che un'applicazione non è più possibile accedere a Internet. Esso si basa sulle stesse informazioni come l'API di connessione e viene attivato quando il `connection.type` cambia da `NONE` a qualsiasi altro valore.
+
+Applicazioni in genere è necessario utilizzare `document.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Esempio rapido
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS stranezze
+
+Durante l'avvio iniziale, il primo evento offline (se applicabile) richiede almeno un secondo al fuoco.
+
+### Windows Phone 7 capricci
+
+Quando è in esecuzione nell'emulatore, il `connection.status` è sempre sconosciuto, così fa di questo evento *non* fuoco.
+
+### Windows Phone 8 stranezze
+
+L'emulatore riporta il tipo di connessione come `Cellular` , che non cambia, così fa l'evento *non* fuoco.
+
+## online
+
+Questo evento viene generato quando un'applicazione va online, e il dispositivo diventa collegato a Internet.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### Dettagli
+
+Il `online` evento viene generato quando un dispositivo precedentemente scollegato riceve una connessione di rete per consentire un'accesso di applicazione a Internet. Esso si basa sulle stesse informazioni come l'API di connessione e viene generato quando il valore di `connection.type` diventa`NONE`.
+
+Applicazioni in genere è necessario utilizzare `document.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Esempio rapido
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS stranezze
+
+Durante l'avvio iniziale, il primo `online` evento (se applicabile) richiede almeno un secondo al fuoco, prima che `connection.type` è`UNKNOWN`.
+
+### Windows Phone 7 capricci
+
+Quando è in esecuzione nell'emulatore, il `connection.status` è sempre sconosciuto, così fa di questo evento *non* fuoco.
+
+### Windows Phone 8 stranezze
+
+L'emulatore riporta il tipo di connessione come `Cellular` , che non cambia, quindi, non gli eventi *non* a fuoco.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
new file mode 100644
index 0000000..af8868c
--- /dev/null
+++ b/doc/ko/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+이 플러그인 [네트워크 정보 API][1]의 이전 버전에 대 한 구현을 제공합니다. 소자의 셀룰러와 와이파이 연결에 대 한 정보를 제공 합니다 장치는 인터넷 연결에 있는지 여부.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## 설치
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   안 드 로이드
+*   블랙베리 10
+*   iOS
+*   Windows Phone 7과 8
+*   Tizen
+*   윈도우 8
+*   Firefox 운영 체제
+
+# 연결
+
+> `connection`개체를 통해 노출 `navigator.connection` , 소자의 셀룰러와 와이파이 연결에 대 한 정보를 제공 합니다.
+
+## 속성
+
+*   connection.type
+
+## 상수
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+이 디바이스의 네트워크 연결 상태를 확인 하는 빠른 방법을 제공 합니다 및 연결의 종류.
+
+### 빠른 예제
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### API 변경
+
+코르 도우 바 2.3.0까지 `Connection` 개체를 통해 액세스 했습니다 `navigator.network.connection` , 후에 변경 된 `navigator.connection` W3C 사양에 맞게. 그것은 그것의 원래 위치에 계속 사용할 수 하지만 사용 되지 않습니다 및 결국 제거 될 것 이다.
+
+### iOS 단점
+
+*   iOS는 셀룰러 네트워크 연결의 종류를 감지할 수 없습니다. 
+    *   `navigator.connection.type`로 설정 된 `Connection.CELL` 모든 셀룰러 데이터에 대 한.
+
+### Windows Phone 단점
+
+*   에뮬레이터에서 실행할 때 항상 검색 `navigator.connection.type` 으로`Connection.UNKNOWN`.
+
+*   Windows Phone 셀룰러 네트워크 연결 유형을 검색할 수 없습니다.
+    
+    *   `navigator.connection.type`로 설정 된 `Connection.CELL` 모든 셀룰러 데이터에 대 한.
+
+### Tizen 특수
+
+*   Tizen은 와이파이 또는 휴대 전화 연결에만 검색할 수 있습니다. 
+    *   `navigator.connection.type`로 설정 된 `Connection.CELL_2G` 모든 셀룰러 데이터에 대 한.
+
+### 파이어 폭스 OS 단점
+
+*   파이어 폭스 OS 셀룰러 네트워크 연결 유형을 검색할 수 없습니다. 
+    *   `navigator.connection.type`로 설정 된 `Connection.CELL` 모든 셀룰러 데이터에 대 한.
+
+# 네트워크 관련 이벤트
+
+## offline
+
+이벤트가 발생 하면 응용 프로그램 오프 라인, 이동 및 장치가 인터넷에 연결 되어 있지.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### 세부 정보
+
+`offline`이벤트가 발생 하면 응용 프로그램이 더 이상 인터넷에 액세스할 수 있도록 이전 연결 된 장치가 네트워크 연결 손실. 그것은 연결 API와 동일한 정보에 의존 하 고 경우에 `connection.type` 에서 변경 `NONE` 다른 값으로.
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `document.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 빠른 예제
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS 단점
+
+처음 시작 하는 동안 첫 번째 오프 라인 이벤트 (있는 경우)를 적어도 초를 걸립니다.
+
+### Windows Phone 7 단점
+
+에뮬레이터에서 실행 하는 경우는 `connection.status` 항상 불명 하다, 그래서이 이벤트는 *없는* 불.
+
+### Windows Phone 8 단점
+
+에뮬레이터도 연결 형식을 보고 `Cellular` 는 변경 되지 않습니다, 그래서 이벤트 않습니다 *하지* 불.
+
+## online
+
+응용 프로그램은 온라인 및 장치가 인터넷에 연결 된다 때이 이벤트가 발생 합니다.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### 세부 정보
+
+`online`이전 연결 되지 않은 장치는 인터넷에 대 한 응용 프로그램 액세스를 허용 하도록 네트워크 연결을 받을 때 이벤트가 발생 합니다. 그것은 연결 API와 동일한 정보에 의존 하 고 경우의 값 `connection.type` 된다`NONE`.
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `document.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 빠른 예제
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS 단점
+
+처음 시작 하는 동안 첫 번째 `online` 이벤트 (있는 경우) 이전에 불 초 걸립니다 이상 `connection.type` 입니다`UNKNOWN`.
+
+### Windows Phone 7 단점
+
+에뮬레이터에서 실행 하는 경우는 `connection.status` 항상 불명 하다, 그래서이 이벤트는 *없는* 불.
+
+### Windows Phone 8 단점
+
+에뮬레이터도 연결 형식을 보고 `Cellular` 는 변경 되지 않습니다, 그래서 이벤트 않습니다 *하지* 불.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
new file mode 100644
index 0000000..e374819
--- /dev/null
+++ b/doc/pl/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+Wtyczka stanowi implementację starą wersję [API informacji w sieci][1]. Udostępnia informacje na temat urządzenia komórkowe i wifi połączenie, i czy urządzenie ma połączenie z Internetem.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## Instalacji
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## Obsługiwane platformy
+
+*   Amazon ogień OS
+*   Android
+*   Jeżyna 10
+*   iOS
+*   Windows Phone 7 i 8
+*   Tizen
+*   Windows 8
+*   Firefox OS
+
+# Połączenie
+
+> `connection`Obiektu, wystawiony przez `navigator.connection` , zawiera informacje o połączeniu urządzenia komórkowe i wifi.
+
+## Właściwości
+
+*   Connection.Type
+
+## Stałe
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## Connection.Type
+
+Oferuje szybki sposób ustalić stan połączenia sieciowego urządzenia i typ połączenia.
+
+### Szybki przykład
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### Zmiana interfejsu API
+
+Do Cordova 2.3.0 `Connection` obiekt uzyskano za pośrednictwem `navigator.network.connection` , po którym został zmieniony na `navigator.connection` odpowiadać specyfikacji W3C. To jest nadal dostępne w jego oryginalnej lokalizacji, ale jest niezalecane i zostaną ostatecznie usunięte.
+
+### iOS dziwactwa
+
+*   iOS nie może wykryć typ połączenia w sieci komórkowej. 
+    *   `navigator.connection.type`jest zestaw `Connection.CELL` dla wszystkich komórek danych.
+
+### Windows Phone dziwactwa
+
+*   Po uruchomieniu w emulatorze, zawsze wykrywa `navigator.connection.type` jako`Connection.UNKNOWN`.
+
+*   Windows Phone nie może wykryć typ połączenia w sieci komórkowej.
+    
+    *   `navigator.connection.type`jest zestaw `Connection.CELL` dla wszystkich komórek danych.
+
+### Osobliwości Tizen
+
+*   Tizen można tylko dostrzegać Wi-Fi lub połączenia komórkowe. 
+    *   `navigator.connection.type`jest zestaw `Connection.CELL_2G` dla wszystkich komórek danych.
+
+### Firefox OS dziwactwa
+
+*   Firefox OS nie można wykryć typ połączenia w sieci komórkowej. 
+    *   `navigator.connection.type`jest zestaw `Connection.CELL` dla wszystkich komórek danych.
+
+# Zdarzenia związane z sieci
+
+## offline
+
+Zdarzenie odpala gdy aplikacja przejdzie do trybu offline, a urządzenie nie jest podłączone do Internetu.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### Szczegóły
+
+`offline`Zdarzenie fires po wcześniej podłączone urządzenie traci połączenia z siecią, dzięki czemu aplikacja może już dostęp do Internetu. Opiera się na te same informacje połączenia API i gdy odpalam `connection.type` zmienia się z `NONE` na inną wartość.
+
+Aplikacje zwykle należy użyć `document.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Szybki przykład
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS dziwactwa
+
+Podczas uruchamiania systemu pierwsza impreza offline (jeśli dotyczy) trwa co najmniej drugi ognia.
+
+### Windows Phone 7 dziwactwa
+
+Po uruchomieniu w emulatorze, `connection.status` zawsze jest nieznana, więc to wydarzenie *nie* ogień.
+
+### Windows Phone 8 dziwactwa
+
+Emulator raporty typ połączenia, jako `Cellular` , co nie zmienia, więc zdarzenie *nie* ogień.
+
+## online
+
+Wydarzenie to odpala gdy aplikacja przechodzi w tryb online i urządzenie staje się połączenie z Internetem.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### Szczegóły
+
+`online`Zdarzenie odpala gdy wcześniej niezwiązane urządzenie odbiera połączenie sieciowe, aby umożliwić aplikacji dostęp do Internetu. Opiera się na te same informacje połączenia API i gdy odpalam wartość `connection.type` staje się`NONE`.
+
+Aplikacje zwykle należy użyć `document.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Szybki przykład
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS dziwactwa
+
+Podczas uruchamiania systemu pierwszy `online` zdarzenia (w stosownych przypadkach) zajmuje co najmniej drugie ognia, przed którym `connection.type` jest`UNKNOWN`.
+
+### Windows Phone 7 dziwactwa
+
+Po uruchomieniu w emulatorze, `connection.status` zawsze jest nieznana, więc to wydarzenie *nie* ogień.
+
+### Windows Phone 8 dziwactwa
+
+Emulator sprawozdania jako typ połączenia `Cellular` , które nie zmienia, więc wydarzenia czy *nie* ogień.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/a8fbf0e9/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
new file mode 100644
index 0000000..58141c6
--- /dev/null
+++ b/doc/zh/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+這個外掛程式提供的舊版本的[網路資訊 API][1]實現的。 它提供了有關該設備的行動電話和無線網路連接的資訊和設備是否已連接到 internet。
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## 安裝
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## 支援的平臺
+
+*   亞馬遜火 OS
+*   Android 系統
+*   黑莓 10
+*   iOS
+*   Windows Phone 7 和 8
+*   Tizen
+*   Windows 8
+*   火狐瀏覽器作業系統
+
+# 連接
+
+> `connection`物件,通過公開 `navigator.connection` ,提供了有關該設備的行動電話和無線網路連接的資訊。
+
+## 屬性
+
+*   connection.type
+
+## 常量
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+此屬性提供快速的方法來確定設備的網路連接狀態,和連線類型。
+
+### 快速的示例
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### API 更改
+
+科爾多瓦 2.3.0,直到 `Connection` 物件的訪問通過 `navigator.network.connection` 後才改為其中, `navigator.connection` 以匹配的 W3C 規範。 它在其原始位置,是仍然可用,但已廢棄,最終將被刪除。
+
+### iOS 的怪癖
+
+*   iOS 無法檢測到蜂窩網路連接的類型。 
+    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+
+### Windows Phone 怪癖
+
+*   當運行在模擬器中,總能檢測到 `navigator.connection.type` 作為`Connection.UNKNOWN`.
+
+*   Windows Phone 不能檢測的蜂窩網路連接的類型。
+    
+    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+
+### Tizen 怪癖
+
+*   Tizen 只可以檢測一個 WiFi 或者蜂窩連接。 
+    *   `navigator.connection.type`設置為 `Connection.CELL_2G` 為所有蜂窩資料。
+
+### 火狐瀏覽器作業系統的怪癖
+
+*   火狐瀏覽器作業系統無法檢測到蜂窩網路連接的類型。 
+    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+
+# 與網路相關的事件
+
+## offline
+
+當一個應用程式離線時,與該設備未連接到互聯網時,將觸發該事件。
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### 詳細資訊
+
+`offline`以前連接的設備失去網路連接,這樣,應用程式不再可以訪問互聯網時激發的事件。 它依賴于連接 API 中,相同的資訊和火災時 `connection.type` 從更改 `NONE` 為其他任何值。
+
+應用程式通常應使用 `document.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 快速的示例
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS 的怪癖
+
+在初始啟動期間,第一次離線事件 (如果適用) 需至少一秒的火。
+
+### Windows Phone 7 的怪癖
+
+當運行在模擬器中, `connection.status` 始終是未知的因此此事件不會*不*火。
+
+### Windows Phone 8 怪癖
+
+模擬程式報告連線類型為 `Cellular` ,而不會更改,所以該事件不會*不*火。
+
+## online
+
+當應用程式進入線上狀態,和該設備將成為連接到互聯網時觸發此事件。
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### 詳細資訊
+
+`online`當先前連接的行動裝置接收到一個網路連接以允許應用程式訪問互聯網時激發的事件。 它依賴于連接 API 中,相同的資訊和火災時的值 `connection.type` 成為`NONE`.
+
+應用程式通常應使用 `document.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 快速的示例
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS 的怪癖
+
+在初始啟動期間第一次 `online` 事件 (如果適用),至少需一秒的火災之前的, `connection.type` 是`UNKNOWN`.
+
+### Windows Phone 7 的怪癖
+
+當運行在模擬器中, `connection.status` 始終是未知的因此此事件不會*不*火。
+
+### Windows Phone 8 怪癖
+
+模擬程式報告連線類型為 `Cellular` ,而不會更改,所以事件不**火。
\ No newline at end of file


[2/6] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-network-information

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/15049afc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/15049afc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/15049afc

Branch: refs/heads/master
Commit: 15049afcce19b59a3ba3e69f2510dbd9d42b3f5b
Parents: d718d0e
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed Feb 26 09:36:26 2014 -0500
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:40 2014 -0400

----------------------------------------------------------------------
 doc/es/index.md | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 173 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/15049afc/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
new file mode 100644
index 0000000..4817768
--- /dev/null
+++ b/doc/es/index.md
@@ -0,0 +1,173 @@
+<!---
+    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.network-information
+
+Este plugin proporciona una implementación de una versión antigua de la [Red de información API][1]. Proporciona información acerca del dispositivo móvil y conexión wifi, y si el dispositivo tiene una conexión a internet.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## Instalación
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## Plataformas soportadas
+
+*   Amazon fuego OS
+*   Android
+*   BlackBerry 10
+*   iOS
+*   Windows Phone 7 y 8
+*   Tizen
+*   Windows 8
+
+# Conexión
+
+> El `connection` objeto expuesto mediante `navigator.connection` , proporciona información acerca del dispositivo móvil y conexión wifi.
+
+## Propiedades
+
+*   connection.type
+
+## Constantes
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+Esta propiedad ofrece una forma rápida de determinar el estado de conexión de red del dispositivo y el tipo de conexión.
+
+### Ejemplo rápido
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### Cambio de API
+
+Hasta Cordova 2.3.0, el `Connection` objeto se accede a través de `navigator.network.connection` , después de que fue cambiada a `navigator.connection` para que coincida con la especificación W3C. Todavía está disponible en su ubicación original, pero está en desuso y eventualmente se eliminarán.
+
+### iOS rarezas
+
+*   iOS no puede detectar el tipo de conexión de red celular. 
+    *   `navigator.connection.type`se establece en `Connection.CELL` para todos los datos celulares.
+
+### Windows Phone rarezas
+
+*   Cuando se ejecuta en el emulador, siempre detecta `navigator.connection.type` como`Connection.UNKNOWN`.
+
+*   Windows Phone no puede detectar el tipo de conexión de red celular.
+    
+    *   `navigator.connection.type`se establece en `Connection.CELL` para todos los datos celulares.
+
+### Rarezas Tizen
+
+*   Tizen sólo puede detectar un Wi-Fi o conexión celular. 
+    *   `navigator.connection.type`se establece en `Connection.CELL_2G` para todos los datos celulares.
+
+# Eventos relacionados con la red
+
+## offline
+
+El evento se desencadena cuando una aplicación está desconectada, y el dispositivo no está conectado a Internet.
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### Detalles
+
+El `offline` evento se desencadena cuando un dispositivo conectado previamente pierde una conexión de red para que una aplicación no puede acceder a Internet. Se basa en la misma información que la API de conexión y cuando se dispara el `connection.type` cambia de `NONE` a cualquier otro valor.
+
+Las aplicaciones normalmente deben utilizar `document.addEventListener` para conectar un detector de eventos una vez el `deviceready` evento incendios.
+
+### Ejemplo rápido
+
+    document.addEventListener ("offline", onOffline, false);
+    
+    function onOffline() {/ / Handle del evento offline}
+    
+
+### iOS rarezas
+
+Durante el arranque inicial, el primer evento offline (si corresponde) toma por lo menos un segundo para disparar.
+
+### Windows Phone 7 rarezas
+
+Cuando se ejecuta en el emulador, el `connection.status` siempre es desconocida, así que este evento no se ** fuego.
+
+### Windows Phone 8 rarezas
+
+El emulador, informa el tipo de conexión como `Cellular` , que no cambia, así que el evento no se ** fuego.
+
+## online
+
+Este evento se desencadena cuando una aplicación en línea, el dispositivo se conecta a Internet.
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### Detalles
+
+El `online` evento se desencadena cuando un dispositivo previamente inconexos recibe una conexión de red para permitir un acceso a las aplicaciones a Internet. Se basa en la misma información que la API de conexión y cuando se dispara el valor del `connection.type` se convierte`NONE`.
+
+Las aplicaciones normalmente deben utilizar `document.addEventListener` para conectar un detector de eventos una vez el `deviceready` evento incendios.
+
+### Ejemplo rápido
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS rarezas
+
+Durante el arranque inicial, la primera `online` evento (si corresponde) toma por lo menos un segundo al fuego, antes de que `connection.type` es`UNKNOWN`.
+
+### Windows Phone 7 rarezas
+
+Cuando se ejecuta en el emulador, el `connection.status` siempre es desconocida, así que este evento no se ** fuego.
+
+### Windows Phone 8 rarezas
+
+El emulador, informa el tipo de conexión como `Cellular` , que no cambia, así que se lo eventos *no* fuego.
\ No newline at end of file


[5/6] git commit: CB-6773cordova-plugin-network-information documentation translation: cordova-plugin-network-information

Posted by ld...@apache.org.
CB-6773cordova-plugin-network-information documentation translation: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/c19fecc1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/c19fecc1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/c19fecc1

Branch: refs/heads/master
Commit: c19fecc19be779df7f0bfb237bb3027f27e1c3c4
Parents: 12fc7c3
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed May 28 13:15:33 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:41 2014 -0400

----------------------------------------------------------------------
 doc/zh/index.md | 72 ++++++++++++++++++++++++++--------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/c19fecc1/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
index 58141c6..cae3cc2 100644
--- a/doc/zh/index.md
+++ b/doc/zh/index.md
@@ -19,31 +19,31 @@
 
 # org.apache.cordova.network-information
 
-這個外掛程式提供的舊版本的[網路資訊 API][1]實現的。 它提供了有關該設備的行動電話和無線網路連接的資訊和設備是否已連接到 internet。
+这个插件提供的旧版本的[网络信息 API][1]实现的。 它提供了有关该设备的移动电话和无线网络连接的信息和设备是否已连接到 internet。
 
  [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
 
-## 安裝
+## 安装
 
     cordova plugin add org.apache.cordova.network-information
     
 
-## 支援的平臺
+## 支持的平台
 
-*   亞馬遜火 OS
-*   Android 系統
+*   亚马逊火 OS
+*   Android 系统
 *   黑莓 10
 *   iOS
 *   Windows Phone 7 和 8
 *   Tizen
 *   Windows 8
-*   火狐瀏覽器作業系統
+*   火狐浏览器操作系统
 
-# 連接
+# 连接
 
-> `connection`物件,通過公開 `navigator.connection` ,提供了有關該設備的行動電話和無線網路連接的資訊。
+> `connection`对象,通过公开 `navigator.connection` ,提供了有关该设备的移动电话和无线网络连接的信息。
 
-## 屬性
+## 属性
 
 *   connection.type
 
@@ -60,7 +60,7 @@
 
 ## connection.type
 
-此屬性提供快速的方法來確定設備的網路連接狀態,和連線類型。
+此属性提供快速的方法来确定设备的网络连接状态,和连接类型。
 
 ### 快速的示例
 
@@ -85,45 +85,45 @@
 
 ### API 更改
 
-科爾多瓦 2.3.0,直到 `Connection` 物件的訪問通過 `navigator.network.connection` 後才改為其中, `navigator.connection` 以匹配的 W3C 規範。 它在其原始位置,是仍然可用,但已廢棄,最終將被刪除。
+知道Cordova 2.3.0, `Connection` 对象是通过 `navigator.network.connection`被访问 ,之后才改为 `navigator.connection` 匹配的 W3C 规范。 它仍然是在其原来的位置,但已被废弃,最终将被删除。
 
 ### iOS 的怪癖
 
-*   iOS 無法檢測到蜂窩網路連接的類型。 
-    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+*   iOS 无法检测到蜂窝网络连接的类型。 
+    *   `navigator.connection.type`设置为 `Connection.CELL` 为所有蜂窝数据。
 
 ### Windows Phone 怪癖
 
-*   當運行在模擬器中,總能檢測到 `navigator.connection.type` 作為`Connection.UNKNOWN`.
+*   当运行在仿真器中,总能检测到 `navigator.connection.type` 作为`Connection.UNKNOWN`.
 
-*   Windows Phone 不能檢測的蜂窩網路連接的類型。
+*   Windows Phone 不能检测的蜂窝网络连接的类型。
     
-    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+    *   `navigator.connection.type`设置为 `Connection.CELL` 为所有蜂窝数据。
 
 ### Tizen 怪癖
 
-*   Tizen 只可以檢測一個 WiFi 或者蜂窩連接。 
-    *   `navigator.connection.type`設置為 `Connection.CELL_2G` 為所有蜂窩資料。
+*   Tizen 只可以检测一个 WiFi 或者蜂窝连接。 
+    *   `navigator.connection.type`设置为 `Connection.CELL_2G` 为所有蜂窝数据。
 
-### 火狐瀏覽器作業系統的怪癖
+### 火狐浏览器操作系统的怪癖
 
-*   火狐瀏覽器作業系統無法檢測到蜂窩網路連接的類型。 
-    *   `navigator.connection.type`設置為 `Connection.CELL` 為所有蜂窩資料。
+*   火狐浏览器操作系统无法检测到蜂窝网络连接的类型。 
+    *   `navigator.connection.type`设置为 `Connection.CELL` 为所有蜂窝数据。
 
-# 與網路相關的事件
+# 与网络相关的事件
 
 ## offline
 
-當一個應用程式離線時,與該設備未連接到互聯網時,將觸發該事件。
+当一个应用程序离线,并且该设备未连接到互联网时,将触发该事件。
 
     document.addEventListener("offline", yourCallbackFunction, false);
     
 
-### 詳細資訊
+### 详细信息
 
-`offline`以前連接的設備失去網路連接,這樣,應用程式不再可以訪問互聯網時激發的事件。 它依賴于連接 API 中,相同的資訊和火災時 `connection.type` 從更改 `NONE` 為其他任何值。
+当以前连接的设备失去网络连接,以致应用程序不再可以访问互联网时,将触发该`offline`事件。 它依赖于连接API中相同的信息,并且 当 `connection.type`从 `NONE` 更改为其他任何值的时候,将触发该事件。
 
-應用程式通常應使用 `document.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+应用程序通常应使用 `document.addEventListener` 将一个事件侦听器附加一次 `deviceready` 事件火灾。
 
 ### 快速的示例
 
@@ -136,28 +136,28 @@
 
 ### iOS 的怪癖
 
-在初始啟動期間,第一次離線事件 (如果適用) 需至少一秒的火。
+在初始启动期间,第一次脱机事件 (如果适用) 至少需要一秒去触发。
 
 ### Windows Phone 7 的怪癖
 
-當運行在模擬器中, `connection.status` 始終是未知的因此此事件不會*不*火。
+当运行在仿真器中时, `connection.status` 始终是未知的,因此此事件将是*not*触发。
 
 ### Windows Phone 8 怪癖
 
-模擬程式報告連線類型為 `Cellular` ,而不會更改,所以該事件不會*不*火。
+仿真程序报告连接类型为 `Cellular` ,而不会更改,所以该事件将是*not*触发。
 
 ## online
 
-當應用程式進入線上狀態,和該設備將成為連接到互聯網時觸發此事件。
+当应用程序进入在线状态,并且该设备将成为连接到互联网时触发此事件。
 
     document.addEventListener("online", yourCallbackFunction, false);
     
 
-### 詳細資訊
+### 详细信息
 
-`online`當先前連接的行動裝置接收到一個網路連接以允許應用程式訪問互聯網時激發的事件。 它依賴于連接 API 中,相同的資訊和火災時的值 `connection.type` 成為`NONE`.
+当以前未连接的移动设备接收到一个网络连接,以允许应用程序访问互联网时将触发该`online`事件。 它依赖于连接 API相同的信息,并且当 `connection.type` 变为`NONE`时才触发。.
 
-應用程式通常應使用 `document.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+应用程序通常应使用 `document.addEventListener` 将一个事件侦听器附加一次 `deviceready` 事件火灾。
 
 ### 快速的示例
 
@@ -170,12 +170,12 @@
 
 ### iOS 的怪癖
 
-在初始啟動期間第一次 `online` 事件 (如果適用),至少需一秒的火災之前的, `connection.type` 是`UNKNOWN`.
+在初始启动期间,第一次至少需一秒钟来触发 `online` 事件 (如果适用),在这之前`connection.type` 是`UNKNOWN`.
 
 ### Windows Phone 7 的怪癖
 
-當運行在模擬器中, `connection.status` 始終是未知的因此此事件不會*不*火。
+当运行在仿真器中, `connection.status` 始终是未知的因此此事件不会*不*火。
 
 ### Windows Phone 8 怪癖
 
-模擬程式報告連線類型為 `Cellular` ,而不會更改,所以事件不**火。
\ No newline at end of file
+仿真程序报告连接类型为 `Cellular` ,而不会更改,所以该事件将是*not*触发。
\ No newline at end of file


[6/6] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-network-information

Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-network-information


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/commit/d327384b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/tree/d327384b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/diff/d327384b

Branch: refs/heads/master
Commit: d327384b56d263689da47108e55da1e239965812
Parents: 1d4d788
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 17:49:56 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 15:30:41 2014 -0400

----------------------------------------------------------------------
 doc/ja/index.md | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 181 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information/blob/d327384b/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
new file mode 100644
index 0000000..965fc01
--- /dev/null
+++ b/doc/ja/index.md
@@ -0,0 +1,181 @@
+<!---
+    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.network-information
+
+This plugin provides an implementation of an old version of the [Network Information API][1]. It provides information about the device's cellular and wifi connection, and whether the device has an internet connection.
+
+ [1]: http://www.w3.org/TR/2011/WD-netinfo-api-20110607/
+
+## インストール
+
+    cordova plugin add org.apache.cordova.network-information
+    
+
+## サポートされているプラットフォーム
+
+*   アマゾン火 OS
+*   アンドロイド
+*   ブラックベリー 10
+*   iOS
+*   Windows Phone 7 と 8
+*   Tizen
+*   Windows 8
+*   Firefox OS
+
+# 接続
+
+> `connection`オブジェクトによって公開されて `navigator.connection` 、デバイスの携帯電話や wifi 接続に関する情報を提供します。
+
+## プロパティ
+
+*   connection.type
+
+## 定数
+
+*   Connection.UNKNOWN
+*   Connection.ETHERNET
+*   Connection.WIFI
+*   Connection.CELL_2G
+*   Connection.CELL_3G
+*   Connection.CELL_4G
+*   Connection.CELL
+*   Connection.NONE
+
+## connection.type
+
+このプロパティはデバイスのネットワーク接続状態を確認する速い方法を提供し、接続の種類。
+
+### 簡単な例
+
+    function checkConnection() {
+        var networkState = navigator.connection.type;
+    
+        var states = {};
+        states[Connection.UNKNOWN]  = 'Unknown connection';
+        states[Connection.ETHERNET] = 'Ethernet connection';
+        states[Connection.WIFI]     = 'WiFi connection';
+        states[Connection.CELL_2G]  = 'Cell 2G connection';
+        states[Connection.CELL_3G]  = 'Cell 3G connection';
+        states[Connection.CELL_4G]  = 'Cell 4G connection';
+        states[Connection.CELL]     = 'Cell generic connection';
+        states[Connection.NONE]     = 'No network connection';
+    
+        alert('Connection type: ' + states[networkState]);
+    }
+    
+    checkConnection();
+    
+
+### API の変更
+
+コルドバ 2.3.0、まで、 `Connection` 経由でアクセスされたオブジェクトが `navigator.network.connection` 、それに変更されましたが後 `navigator.connection` W3C の仕様に一致します。 それはまだ元の場所は廃止され、最終的に削除されます。
+
+### iOS の癖
+
+*   iOS は、携帯電話のネットワーク接続の種類を検出できません。 
+    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+
+### Windows Phone の癖
+
+*   When running in the emulator, always detects `navigator.connection.type` as `Connection.UNKNOWN`.
+
+*   Windows Phone 携帯電話ネットワーク接続の種類を検出できません。
+    
+    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+
+### Tizen の癖
+
+*   Tizen には、WiFi または携帯電話の接続だけを検出できます。 
+    *   `navigator.connection.type` is set to `Connection.CELL_2G` for all cellular data.
+
+### Firefox OS 癖
+
+*   Firefox の OS は、携帯電話のネットワーク接続の種類を検出できません。 
+    *   `navigator.connection.type` is set to `Connection.CELL` for all cellular data.
+
+# Network-related Events
+
+## offline
+
+アプリケーションがオフラインになり、デバイスがインターネットに接続されていないときに発生します。
+
+    document.addEventListener("offline", yourCallbackFunction, false);
+    
+
+### 詳細
+
+`offline`アプリケーションはもはや、インターネットにアクセスできるように、以前接続されたデバイスは、ネットワーク接続が失われたときに発生します。 接続 API と同じ情報に依存しており、場合に適用されます、 `connection.type` から変更 `NONE` 以外の値にします。
+
+通常アプリケーションに使用する必要があります `document.addEventListener` 一度のイベント リスナーをアタッチし、 `deviceready` イベントが発生します。
+
+### 簡単な例
+
+    document.addEventListener("offline", onOffline, false);
+    
+    function onOffline() {
+        // Handle the offline event
+    }
+    
+
+### iOS の癖
+
+初回起動時 (当てはまる場合) の最初のオフライン イベントは火に 1 秒以上かかります。
+
+### Windows Phone 7 の癖
+
+エミュレーターで実行しているとき、 `connection.status` は常に知られている、このイベントは*ない*火。
+
+### Windows Phone 8 癖
+
+エミュレーターと接続の種類のレポート `Cellular` は変化しません、イベントは*ない*火。
+
+## online
+
+アプリケーションは、オンラインになるし、デバイスがインターネットに接続するときに発生します。
+
+    document.addEventListener("online", yourCallbackFunction, false);
+    
+
+### 詳細
+
+`online`以前接続されていないデバイスが、インターネットへのアプリケーション アクセスを許可するネットワーク接続を受信するときに発生します。 接続 API と同じ情報に依存しており、火災時の値 `connection.type` になります。`NONE`.
+
+通常アプリケーションに使用する必要があります `document.addEventListener` 一度のイベント リスナーをアタッチし、 `deviceready` イベントが発生します。
+
+### 簡単な例
+
+    document.addEventListener("online", onOnline, false);
+    
+    function onOnline() {
+        // Handle the online event
+    }
+    
+
+### iOS の癖
+
+初回起動時には、最初の `online` (当てはまる場合) イベントが少なくとも火を前に第 2 `connection.type` は`UNKNOWN`.
+
+### Windows Phone 7 の癖
+
+エミュレーターで実行しているとき、 `connection.status` は常に知られている、このイベントは*ない*火。
+
+### Windows Phone 8 癖
+
+エミュレーターと接続の種類のレポート `Cellular` は変化しません、イベントは*ない*火。
\ No newline at end of file