You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by vi...@apache.org on 2015/02/27 19:49:44 UTC

cordova-plugin-device-orientation git commit: CB-8438 cordova-plugin-device-orientation documentation translation: cordova-plugin-device-orientation

Repository: cordova-plugin-device-orientation
Updated Branches:
  refs/heads/master 3cf4e4d52 -> 98ee0b6aa


CB-8438 cordova-plugin-device-orientation documentation translation: cordova-plugin-device-orientation


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/98ee0b6a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/98ee0b6a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/98ee0b6a

Branch: refs/heads/master
Commit: 98ee0b6aa4090f2764df236753a12ddbf2c62bd3
Parents: 3cf4e4d
Author: Victor Sosa <vi...@apache.org>
Authored: Fri Feb 27 12:49:08 2015 -0600
Committer: Victor Sosa <vi...@apache.org>
Committed: Fri Feb 27 12:49:08 2015 -0600

----------------------------------------------------------------------
 doc/de/index.md | 26 ++++++++++++++++++--------
 doc/es/index.md | 51 ++++++++++++++++++++++++---------------------------
 doc/fr/index.md | 43 ++++++++++++++++++++-----------------------
 doc/it/index.md | 30 ++++++++++++++++++++----------
 doc/ja/index.md | 26 ++++++++++++++++++--------
 doc/ko/index.md | 30 ++++++++++++++++++++----------
 doc/pl/index.md | 28 +++++++++++++++++++---------
 doc/zh/index.md | 36 +++++++++++++++++++++++-------------
 8 files changed, 162 insertions(+), 108 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
index 8c211ca..19779e0 100644
--- a/doc/de/index.md
+++ b/doc/de/index.md
@@ -21,6 +21,16 @@
 
 Dieses Plugin ermöglicht den Zugriff auf das Gerät Kompass. Der Kompass ist ein Sensor, der erkennt die Richtung oder Position, dass das Gerät in der Regel von der Oberseite des Geräts gezeigt wird. Er misst die Überschrift im Grad von 0 bis 359.99, 0 wo Norden ist.
 
+Der Zugang ist über eine globale `navigator.compass`-Objekt.
+
+Obwohl das Objekt mit der globalen Gültigkeitsbereich `navigator` verbunden ist, steht es nicht bis nach dem `Deviceready`-Ereignis.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## Installation
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@ Dieses Plugin ermöglicht den Zugriff auf das Gerät Kompass. Der Kompass ist ei
 
 ## navigator.compass.getCurrentHeading
 
-Erhalten Sie aktuelle Kompassrichtung. Die Kompassrichtung wird zurückgegeben, über ein `CompassHeading` -Objekt unter Verwendung der `compassSuccess` Callback-Funktion.
+Erhalten Sie aktuelle Kompassrichtung. Die Kompassrichtung wird über ein `CompassHeading`-Objekt mithilfe der `compassSuccess`-Callback-Funktion zurückgegeben.
 
-    navigator.compass.getCurrentHeading (CompassSuccess, CompassError);
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### Beispiel
@@ -66,14 +76,14 @@ Erhalten Sie aktuelle Kompassrichtung. Die Kompassrichtung wird zurückgegeben,
 
 ## navigator.compass.watchHeading
 
-Ruft das Gerät an den aktuellen Kurs in regelmäßigen Abständen. Jedes Mal, die Überschrift abgerufen wird, die `headingSuccess` Callback-Funktion wird ausgeführt.
+Ruft das Gerät an den aktuellen Kurs in regelmäßigen Abständen. Jedes Mal, wenn die Überschrift abgerufen wird, wird die Callback-Funktion `headingSuccess` ausgeführt.
 
-Die zurückgegebenen Watch-ID verweist das Kompass-Uhr-Intervall. Die Uhr, die ID kann verwendet werden, mit `navigator.compass.clearWatch` , beobachten die navigator.compass zu stoppen.
+Die zurückgegebenen Watch-ID verweist das Kompass-Uhr-Intervall. Die Uhr ID mit `navigator.compass.clearWatch` einsetzbar, um gerade die navigator.compass zu stoppen.
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`enthalten die folgenden Schlüssel:
+`compassOptions` enthalten die folgenden Schlüssel:
 
 *   **Häufigkeit**: wie oft die Kompassrichtung in Millisekunden abrufen. *(Anzahl)* (Default: 100)
 *   **Filter**: die Veränderung der Grad benötigt, um einen WatchHeading Erfolg Rückruf initiiert. Wenn dieser Wert festgelegt ist, wird die **Häufigkeit** ignoriert. *(Anzahl)*
@@ -102,7 +112,7 @@ Werte für aktuelle Überschrift werden nach dem Zufallsprinzip generiert, um de
 
 ### iOS Macken
 
-Nur ein `watchHeading` kann in der Tat auf einmal in iOS sein. Wenn ein `watchHeading` benutzt einen Filter Aufrufen von `getCurrentHeading` oder `watchHeading` verwendet den Wert des vorhandenen Filters Überschrift Änderungen festlegen. Überschrift Veränderungen beobachten, mit einem Filter ist effizienter als mit Zeitintervallen.
+Nur ein `watchHeading` kann in der Tat auf einmal in iOS sein. Wenn ein `watchHeading` einen Filter verwendet, wird durch Aufrufen von `getCurrentHeading` oder `watchHeading` den vorhandenen Filterwert Überschrift Änderungen angegeben. Überschrift Veränderungen beobachten, mit einem Filter ist effizienter als mit Zeitintervallen.
 
 ### Amazon Fire OS Macken
 
@@ -144,7 +154,7 @@ Stoppen Sie, beobachten den Kompass auf der Watch-ID-Parameter verweist.
 
 ## CompassHeading
 
-Ein `CompassHeading` Objekt wird an die `CompassSuccess` Callback-Funktion zurückgegeben.
+Ein `CompassHeading`-Objekt wird an die `compassSuccess`-Callback-Funktion zurückgegeben.
 
 ### Eigenschaften
 
@@ -182,7 +192,7 @@ Ein `CompassHeading` Objekt wird an die `CompassSuccess` Callback-Funktion zurü
 
 ## CompassError
 
-A `CompassError` Objekt wird zurückgegeben, um die `compassError` Callback-Funktion, wenn ein Fehler auftritt.
+Ein `CompassError`-Objekt wird an die `compassError`-Callback-Funktion zurückgegeben, wenn ein Fehler auftritt.
 
 ### Eigenschaften
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index d9f063d..ad94a9d 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -21,9 +21,17 @@
 
 Este plugin proporciona acceso al compás del dispositivo. La brújula es un sensor que detecta la dirección o rumbo que el dispositivo está apuntado, normalmente desde la parte superior del dispositivo. Mide el rumbo en grados de 0 a 359.99, donde 0 es el norte.
 
+El acceso es por un global `navigator.compass` objeto.
+
+Aunque el objeto está unido al ámbito global `navigator` , no estará disponible hasta después de la `deviceready` evento.
+
+    document.addEventListener ("deviceready", onDeviceReady, false);
+    function onDeviceReady() {console.log(navigator.compass)};
+    
+
 ## Instalación
 
-    cordova plugin add org.apache.cordova.device-orientation
+    Cordova plugin añade org.apache.cordova.device-orientación
     
 
 ## Plataformas soportadas
@@ -46,31 +54,27 @@ Este plugin proporciona acceso al compás del dispositivo. La brújula es un sen
 
 ## navigator.compass.getCurrentHeading
 
-Conseguir el actual rumbo de la brújula. El rumbo de la brújula es devuelto por un `CompassHeading` objeto usando el `compassSuccess` función callback.
+Conseguir el actual rumbo de la brújula. El rumbo de la brújula es devuelto vía un `CompassHeading` objeto usando la `compassSuccess` función de callback.
 
     navigator.compass.getCurrentHeading (compassSuccess, compassError);
     
 
 ### Ejemplo
 
-    function onSuccess(heading) {
-        alert('Heading: ' + heading.magneticHeading);
-    };
+    function onSuccess(heading) {alert (' dirige: ' + heading.magneticHeading);};
     
-    function onError(error) {
-        alert('CompassError: ' + error.code);
-    };
+    function onError(error) {alert ('CompassError: "+ error.code);};
     
-    navigator.compass.getCurrentHeading(onSuccess, onError);
+    navigator.compass.getCurrentHeading (onSuccess, onError);
     
 
 ## navigator.compass.watchHeading
 
-Obtiene el título actual del dispositivo a intervalos regulares. Cada vez que se recupera el título, el `headingSuccess` función de devolución de llamada se ejecuta.
+Obtiene el título actual del dispositivo a intervalos regulares. Cada vez que se recupera el título, el `headingSuccess` se ejecuta la función callback.
 
-El identificador devuelto reloj hace referencia al intervalo de reloj brújula. El reloj ID puede utilizarse con `navigator.compass.clearWatch` dejar de ver la navigator.compass.
+El identificador devuelto reloj referencias el intervalo reloj brújula. El reloj ID puede utilizarse con `navigator.compass.clearWatch` para dejar de ver la navigator.compass.
 
-    var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
+    var watchID = navigator.compass.watchHeading (compassSuccess, compassError, [compassOptions]);
     
 
 `compassOptions`puede contener las siguientes claves:
@@ -80,20 +84,15 @@ El identificador devuelto reloj hace referencia al intervalo de reloj brújula.
 
 ### Ejemplo
 
-    function onSuccess(heading) {
-        var element = document.getElementById('heading');
-        element.innerHTML = 'Heading: ' + heading.magneticHeading;
+    function onSuccess(heading) {var elemento = document.getElementById('heading');
+        element.innerHTML = ' Dirección: "+ heading.magneticHeading;
     };
     
-    function onError(compassError) {
-        alert('Compass error: ' + compassError.code);
-    };
+    function onError(compassError) {alert (' error del compás: ' + compassError.code);};
     
-    var options = {
+    var opciones = {
         frequency: 3000
-    }; // Update every 3 seconds
-    
-    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    }; Actualizar cada 3 segundos var watchID = navigator.compass.watchHeading (onSuccess, onError, opciones);
     
 
 ### Navegador rarezas
@@ -102,7 +101,7 @@ Los valores de partida actual son generados al azar para simular la brújula.
 
 ### iOS rarezas
 
-Sólo un `watchHeading` puede ser en efecto a la vez en iOS. Si un `watchHeading` utiliza un filtro, llamando al `getCurrentHeading` o `watchHeading` utiliza el valor existente de filtro para especificar los cambios de rumbo. Observando los cambios de rumbo con un filtro es más eficiente que con intervalos de tiempo.
+Solamente un `watchHeading` puede ser en efecto a la vez en iOS. Si un `watchHeading` utiliza un filtro, llamando a `getCurrentHeading` o `watchHeading` utiliza el valor existente del filtro para especificar los cambios de rumbo. Observando los cambios de rumbo con un filtro es más eficiente que con intervalos de tiempo.
 
 ### Amazon fuego OS rarezas
 
@@ -135,11 +134,9 @@ Deja de mirar la brújula al que hace referencia el parámetro ID de reloj.
 
 ### Ejemplo
 
-    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    var watchID = navigator.compass.watchHeading (onSuccess, onError, opciones);
     
-    // ... later on ...
-    
-    navigator.compass.clearWatch(watchID);
+    ... adelante... navigator.compass.clearWatch(watchID);
     
 
 ## CompassHeading

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index 1284fe7..4cbe6a0 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -21,9 +21,17 @@
 
 Ce plugin permet d'accéder à la boussole de l'appareil. La boussole est un capteur qui détecte la direction ou la position que l'appareil est pointé, généralement par le haut de l'appareil. Il mesure la position en degrés de 0 à 359.99, où 0 est vers le Nord.
 
+Accès se fait par un global `navigator.compass` objet.
+
+Bien que l'objet est attaché à la portée globale `navigator` , il n'est pas disponible jusqu'après la `deviceready` événement.
+
+    document.addEventListener (« deviceready », onDeviceReady, false) ;
+    function onDeviceReady() {console.log(navigator.compass);}
+    
+
 ## Installation
 
-    cordova plugin add org.apache.cordova.device-orientation
+    Cordova plugin ajouter org.apache.cordova.device-orientation
     
 
 ## Plates-formes prises en charge
@@ -53,15 +61,11 @@ Téléchargez la cours de la boussole. La boussole est renvoyé via un `CompassH
 
 ### Exemple
 
-    function onSuccess(heading) {
-        alert('Heading: ' + heading.magneticHeading);
-    };
+    function onSuccess(heading) {alert (' intitulé: "+ heading.magneticHeading);} ;
     
-    function onError(error) {
-        alert('CompassError: ' + error.code);
-    };
+    function onError(error) {alert ('CompassError: ' + error.code);} ;
     
-    navigator.compass.getCurrentHeading(onSuccess, onError);
+    navigator.compass.getCurrentHeading (onSuccess, onError) ;
     
 
 ## navigator.compass.watchHeading
@@ -70,7 +74,7 @@ Obtient la position actuelle de l'appareil à intervalle régulier. Chaque fois
 
 Le code retourné montre fait référence à l'intervalle montre boussole. La montre ID peut être utilisé avec `navigator.compass.clearWatch` d'arrêter de regarder le navigator.compass.
 
-    var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
+    var watchID = navigator.compass.watchHeading (compassSuccess, compassError, [compassOptions]) ;
     
 
 `compassOptions`peut contenir les clés suivantes :
@@ -80,20 +84,15 @@ Le code retourné montre fait référence à l'intervalle montre boussole. La mo
 
 ### Exemple
 
-    function onSuccess(heading) {
-        var element = document.getElementById('heading');
-        element.innerHTML = 'Heading: ' + heading.magneticHeading;
+    function onSuccess(heading) {var element = document.getElementById('heading') ;
+        element.innerHTML = "intitulé:" + heading.magneticHeading ;
     };
     
-    function onError(compassError) {
-        alert('Compass error: ' + compassError.code);
-    };
+    function onError(compassError) {alert (' erreur de boussole: "+ compassError.code);} ;
     
-    var options = {
+    options de var = {
         frequency: 3000
-    }; // Update every 3 seconds
-    
-    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
+    } ; Mise à jour chaque 3 secondes var watchID = navigator.compass.watchHeading (onSuccess, onError, options) ;
     
 
 ### Bizarreries navigateur
@@ -135,11 +134,9 @@ Arrêter de regarder la boussole référencée par le paramètre ID de montre.
 
 ### Exemple
 
-    var watchID = navigator.compass.watchHeading(onSuccess, onError, options);
-    
-    // ... later on ...
+    var watchID = navigator.compass.watchHeading (onSuccess, onError, options) ;
     
-    navigator.compass.clearWatch(watchID);
+    ... plus tard... navigator.compass.clearWatch(watchID) ;
     
 
 ## CompassHeading

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
index e52b2dc..f59d6e4 100644
--- a/doc/it/index.md
+++ b/doc/it/index.md
@@ -21,6 +21,16 @@
 
 Questo plugin consente di accedere alla bussola del dispositivo. La bussola è un sensore che rileva la direzione o la voce che il dispositivo è puntato, in genere dalla parte superiore del dispositivo. Esso misura la rotta in gradi da 0 a 359.99, dove 0 è a nord.
 
+L'accesso avviene tramite un oggetto globale `navigator.compass`.
+
+Anche se l'oggetto è associato con ambito globale del `navigator`, non è disponibile fino a dopo l'evento `deviceready`.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## Installazione
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@ Questo plugin consente di accedere alla bussola del dispositivo. La bussola è u
 
 ## navigator.compass.getCurrentHeading
 
-Ottenere la corrente della bussola. La bussola viene restituita tramite una `CompassHeading` oggetto utilizzando il `compassSuccess` funzione di callback.
+Ottenere la corrente della bussola. La bussola viene restituita tramite un oggetto `CompassHeading` utilizzando la funzione di callback `compassSuccess`.
 
-    navigator.compass.getCurrentHeading (compassSuccess, compassError);
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### Esempio
@@ -66,17 +76,17 @@ Ottenere la corrente della bussola. La bussola viene restituita tramite una `Com
 
 ## navigator.compass.watchHeading
 
-Ottiene il titolo attuale del dispositivo a intervalli regolari. Ogni volta che viene recuperato il titolo, il `headingSuccess` viene eseguita la funzione di callback.
+Ottiene il titolo attuale del dispositivo a intervalli regolari. Ogni volta che viene recuperato il titolo, viene eseguita la funzione di callback `headingSuccess`.
 
-L'orologio restituito ID fa riferimento l'intervallo orologio bussola. L'orologio ID può essere usato con `navigator.compass.clearWatch` a smettere di guardare la navigator.compass.
+L'orologio restituito ID fa riferimento l'intervallo orologio bussola. L'ID di orologio utilizzabile con `navigator.compass.clearWatch` a smettere di guardare la navigator.compass.
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`può contenere i seguenti tasti:
+`compassOptions` può contenere i seguenti tasti:
 
-*   **frequenza**: la frequenza di recuperare la bussola in millisecondi. *(Numero)* (Default: 100)
-*   **filtro**: il cambiamento in gradi necessari per avviare un callback di successo watchHeading. Quando questo valore è impostato, la **frequenza** viene ignorata. *(Numero)*
+*   **frequency**: la frequenza di recuperare la bussola in millisecondi. *(Numero)* (Default: 100)
+*   **filter**: il cambiamento in gradi necessari per avviare un callback di successo watchHeading. Quando questo valore è impostato, la **frequency** viene ignorata. *(Numero)*
 
 ### Esempio
 
@@ -102,7 +112,7 @@ I valori per la rubrica attuale sono generati casualmente al fine di simulare la
 
 ### iOS stranezze
 
-Solo un `watchHeading` può essere in effetti una volta in iOS. Se un `watchHeading` utilizza un filtro, chiamata `getCurrentHeading` o `watchHeading` utilizza il valore esistente di filtro per specificare le modifiche intestazione. Guardando i cambiamenti di direzione con un filtro è più efficiente con intervalli di tempo.
+Solo un `watchHeading` può essere in effetti una volta in iOS. Se un `watchHeading` utilizza un filtro, chiamata `getCurrentHeading` o `watchHeading` utilizza il valore di filtro esistenti per specificare le modifiche intestazione. Guardando i cambiamenti di direzione con un filtro è più efficiente con intervalli di tempo.
 
 ### Amazon fuoco OS stranezze
 
@@ -144,7 +154,7 @@ Smettere di guardare la bussola a cui fa riferimento il parametro ID orologio.
 
 ## CompassHeading
 
-A `CompassHeading` oggetto viene restituito alla `compassSuccess` funzione di callback.
+Alla funzione di callback `compassSuccess` viene restituito un oggetto `CompassHeading`.
 
 ### Proprietà
 
@@ -182,7 +192,7 @@ A `CompassHeading` oggetto viene restituito alla `compassSuccess` funzione di ca
 
 ## CompassError
 
-A `CompassError` oggetto viene restituito alla `compassError` funzione di callback quando si verifica un errore.
+Un oggetto `CompassError` viene restituito alla funzione di callback `compassError` quando si verifica un errore.
 
 ### Proprietà
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
index 42f888c..0f90771 100644
--- a/doc/ja/index.md
+++ b/doc/ja/index.md
@@ -21,6 +21,16 @@
 
 このプラグインは、デバイスのコンパスへのアクセスを提供します。 コンパスは方向またはというデバイスは、通常から指摘装置の上部の見出しを検出するセンサーです。 359.99、0 は北に 0 からの角度で見出しを測定します。
 
+アクセスは、グローバル `navigator.compass` オブジェクトを介して。
+
+オブジェクトは、グローバル スコープの `ナビゲーター` に添付、それがないまで `deviceready` イベントの後。
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## インストール
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@
 
 ## navigator.compass.getCurrentHeading
 
-現在のコンパス方位を取得します。コンパス針路経由で返されます、 `CompassHeading` オブジェクトを使用して、 `compassSuccess` コールバック関数。
+現在のコンパス方位を取得します。コンパス針路が `compassSuccess` コールバック関数を使用して `CompassHeading` オブジェクトを介して返されます。
 
-    navigator.compass.getCurrentHeading compassSuccess (compassError);
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### 例
@@ -66,14 +76,14 @@
 
 ## navigator.compass.watchHeading
 
-デバイスの定期的な間隔で現在の方位を取得します。見出しを取り出すたびに、 `headingSuccess` コールバック関数が実行されます。
+デバイスの定期的な間隔で現在の方位を取得します。見出しを取り出すたびに `headingSuccess` コールバック関数が実行されます。
 
-返される時計 ID コンパス時計腕時計間隔を参照します。時計を持つ ID を使用することができます `navigator.compass.clearWatch` 、navigator.compass を見て停止します。
+返される時計 ID コンパス時計腕時計間隔を参照します。時計 ID は、navigator.compass を見て停止する `navigator.compass.clearWatch` を使用できます。
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`次のキーを含めることができます。
+`compassOptions` は、次のキーを含めることができます。
 
 *   **周波数**: 多くの場合、コンパス針路 (ミリ秒単位) を取得する方法。*(数)*(デフォルト: 100)
 *   **フィルター**: watchHeading 成功時のコールバックを開始する必要度の変化。この値を設定すると、**頻度**は無視されます。*(数)*
@@ -102,7 +112,7 @@
 
 ### iOS の癖
 
-1 つだけ `watchHeading` iOS で一度に有効にすることができます。 場合は、 `watchHeading` 、フィルターを使用して呼び出す `getCurrentHeading` または `watchHeading` 既存のフィルターの値を使用して見出しの変更を指定します。 フィルターを使用して見出しの変更を見て時間間隔よりも効率的にファイルです。
+1 つだけ `watchHeading` は iOS の効果を同時にすることができます。 `watchHeading` はフィルターを使用して、`getCurrentHeading` または `watchHeading` を呼び出す見出しの変更を指定する既存のフィルター値を使用します。 フィルターを使用して見出しの変更を見て時間間隔よりも効率的にファイルです。
 
 ### アマゾン火 OS 癖
 
@@ -144,7 +154,7 @@
 
 ## CompassHeading
 
-A `CompassHeading` オブジェクトに返される、 `compassSuccess` コールバック関数。
+`CompassHeading` オブジェクトは、`compassSuccess` コールバック関数に返されます。
 
 ### プロパティ
 
@@ -182,7 +192,7 @@ A `CompassHeading` オブジェクトに返される、 `compassSuccess` コー
 
 ## CompassError
 
-A `CompassError` オブジェクトに返される、 `compassError` コールバック関数でエラーが発生したとき。
+`CompassError` オブジェクトにエラーが発生したときに `compassError` コールバック関数に返されます。
 
 ### プロパティ
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
index ae37492..9c0edfb 100644
--- a/doc/ko/index.md
+++ b/doc/ko/index.md
@@ -21,6 +21,16 @@
 
 이 플러그인 디바이스의 나침반에 대 한 액세스를 제공합니다. 나침반 방향 또는 표제는 장치 지적 이다, 일반적으로 장치 위에서 감지 하는 센서입니다. 359.99, 0가 북쪽을 0에서도에서 머리글을 측정 합니다.
 
+글로벌 `navigator.compass` 개체를 통해 액세스가입니다.
+
+개체 `navigator` 글로벌 범위 첨부 아니에요 때까지 사용할 수 있는 `deviceready` 이벤트 후.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## 설치
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@
 
 ## navigator.compass.getCurrentHeading
 
-현재 나침반 제목 좀. 나침의 표제를 통해 반환 되는 `CompassHeading` 개체를 사용 하는 `compassSuccess` 콜백 함수.
+현재 나침반 제목 좀. 나침반 제목 `compassSuccess` 콜백 함수를 사용 하 여 `CompassHeading` 개체를 통해 반환 됩니다.
 
-    navigator.compass.getCurrentHeading (compassSuccess, compassError);
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### 예를 들어
@@ -66,17 +76,17 @@
 
 ## navigator.compass.watchHeading
 
-정기적 장치의 현재 머리글을 가져옵니다. 제목 검색 때마다는 `headingSuccess` 콜백 함수를 실행 합니다.
+정기적 장치의 현재 머리글을 가져옵니다. 제목 검색 때마다 `headingSuccess` 콜백 함수가 실행 됩니다.
 
-반환 된 시계 ID 나침반 시계 간격을 참조합니다. ID와 함께 사용 될 수 있습니다 시계 `navigator.compass.clearWatch` 는 navigator.compass를 보고 그만.
+반환 된 시계 ID 나침반 시계 간격을 참조합니다. 시계 ID는 navigator.compass를 보는 중지 하 `navigator.compass.clearWatch`와 함께 사용할 수 있습니다.
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`다음 키를 포함할 수 있습니다.
+`compassOptions`는 다음 키를 포함할 수 있습니다.
 
-*   **주파수**: 자주 밀리초에서 나침반 머리글을 검색 하는 방법. *(수)* (기본값: 100)
-*   **필터**:도 watchHeading 성공 콜백을 시작 하는 데 필요한 변경. 이 값을 설정 하는 경우 **주파수** 는 무시 됩니다. *(수)*
+*   **frequency**: 자주 밀리초에서 나침반 머리글을 검색 하는 방법. *(수)* (기본값: 100)
+*   **filter**:도 watchHeading 성공 콜백을 시작 하는 데 필요한 변경. 이 값을 설정 하는 경우 **주파수** 는 무시 됩니다. *(수)*
 
 ### 예를 들어
 
@@ -102,7 +112,7 @@
 
 ### iOS 단점
 
-단 하나 `watchHeading` iOS에서 한 번에 적용에서 될 수 있습니다. 경우는 `watchHeading` 필터를 사용 하 여 호출 `getCurrentHeading` 또는 `watchHeading` 기존 필터 값을 사용 하 여 제목 변화를 지정 합니다. 필터와 제목 변화를 보고 시간을 간격으로 보다 더 효율적입니다.
+하나의 `watchHeading` iOS에서 한 번에 적용에서 될 수 있습니다. `watchHeading` 필터를 사용 하는 경우 `getCurrentHeading` 또는 `watchHeading` 호출 사용 하 여 기존 필터 값 지정 제목 변경. 필터와 제목 변화를 보고 시간을 간격으로 보다 더 효율적입니다.
 
 ### 아마존 화재 OS 단점
 
@@ -144,7 +154,7 @@
 
 ## CompassHeading
 
-A `CompassHeading` 개체에 반환 되는 `compassSuccess` 콜백 함수.
+`CompassHeading` 개체는 `compassSuccess` 콜백 함수에 반환 됩니다.
 
 ### 속성
 
@@ -182,7 +192,7 @@ A `CompassHeading` 개체에 반환 되는 `compassSuccess` 콜백 함수.
 
 ## CompassError
 
-A `CompassError` 개체에 반환 됩니다는 `compassError` 콜백 함수 오류가 발생 합니다.
+`CompassError` 개체는 오류가 발생 하면 `compassError` 콜백 함수에 반환 됩니다.
 
 ### 속성
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
index a36b46b..111be18 100644
--- a/doc/pl/index.md
+++ b/doc/pl/index.md
@@ -21,6 +21,16 @@
 
 Ten plugin umożliwia dostęp do urządzenia kompas. Kompas jest czujnik, który wykrywa kierunek lub pozycji, że urządzenie jest wskazywany, zazwyczaj z górnej części urządzenia. Mierzy on nagłówek w stopniach od 0 do 359.99, gdzie 0 jest północ.
 
+Dostęp odbywa się za pomocą obiektu globalnego `navigator.compass`.
+
+Mimo, że obiekt jest dołączony do globalnego zakresu `navigator`, to nie dostępne dopiero po zdarzeniu `deviceready`.
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## Instalacja
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@ Ten plugin umożliwia dostęp do urządzenia kompas. Kompas jest czujnik, który
 
 ## navigator.compass.getCurrentHeading
 
-Uzyskać bieżącej pozycji kompas. Kompas pozycji jest zwracana za pośrednictwem `CompassHeading` obiektu przy użyciu `compassSuccess` funkcji wywołania zwrotnego.
+Uzyskać bieżącej pozycji kompas. Kompas pozycji jest zwracana za pośrednictwem obiektu `CompassHeading` za pomocą funkcji wywołania zwrotnego `compassSuccess`.
 
-    navigator.compass.getCurrentHeading (compassSuccess, compassError);
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### Przykład
@@ -66,14 +76,14 @@ Uzyskać bieżącej pozycji kompas. Kompas pozycji jest zwracana za pośrednictw
 
 ## navigator.compass.watchHeading
 
-Pobiera bieżący nagłówek urządzenia w regularnych odstępach czasu. Za każdym razem jest źródło nagłówka, `headingSuccess` funkcja wywołania zwrotnego jest wykonywany.
+Pobiera bieżący nagłówek urządzenia w regularnych odstępach czasu. Każdym razem, gdy nagłówek jest źródło, funkcja wywołania zwrotnego `headingSuccess` jest wykonywany.
 
-Identyfikator zwrócony zegarek odwołuje interwał kompas zegarek. Oglądaj identyfikator może być używany z `navigator.compass.clearWatch` Aby przestać oglądać navigator.compass.
+Identyfikator zwrócony zegarek odwołuje interwał kompas zegarek. Oglądaj identyfikator może być używany z `navigator.compass.clearWatch`, aby przestać oglądać navigator.compass.
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`może zawierać następujące klucze:
+`compassOptions` może zawierać następujące klucze:
 
 *   **częstotliwość**: jak często pobrać kompas pozycji w milisekundach. *(Liczba)* (Domyślnie: 100)
 *   **Filtr**: zmiana stopni wymagane zainicjować wywołania zwrotnego watchHeading sukces. Gdy ta wartość jest ustawiona, **częstotliwość** jest ignorowana. *(Liczba)*
@@ -102,7 +112,7 @@ Wartości dla bieżącej pozycji są losowo generowane w celu symulacji kompas.
 
 ### Dziwactwa iOS
 
-Tylko jeden `watchHeading` może być efekt w tym samym czasie w iOS. Jeśli `watchHeading` używa filtru, wywołanie `getCurrentHeading` lub `watchHeading` używa istniejących wartości filtru określić zmiany pozycji. Obserwując zmiany pozycji z filtrem jest bardziej efektywne niż z odstępach czasu.
+Tylko jeden `watchHeading` może być efekt w tym samym czasie w iOS. Jeśli `watchHeading` używa filtru, `getCurrentHeading` lub `watchHeading` używa istniejących wartości filtru określić zmiany pozycji. Obserwując zmiany pozycji z filtrem jest bardziej efektywne niż z odstępach czasu.
 
 ### Amazon ogień OS dziwactwa
 
@@ -126,7 +136,7 @@ Tylko jeden `watchHeading` może być efekt w tym samym czasie w iOS. Jeśli `wa
 
 ## navigator.compass.clearWatch
 
-Zatrzymuje obserwowanie kompasu określonego przez parametr watchID.
+Przestać oglądać określany przez parametr ID Zegarek kompas.
 
     navigator.compass.clearWatch(watchID);
     
@@ -144,7 +154,7 @@ Zatrzymuje obserwowanie kompasu określonego przez parametr watchID.
 
 ## CompassHeading
 
-A `CompassHeading` obiekt jest zwracany do `compassSuccess` funkcji wywołania zwrotnego.
+Obiekt `CompassHeading` jest zwracany do funkcji wywołania zwrotnego `compassSuccess`.
 
 ### Właściwości
 
@@ -182,7 +192,7 @@ A `CompassHeading` obiekt jest zwracany do `compassSuccess` funkcji wywołania z
 
 ## CompassError
 
-A `CompassError` obiekt jest zwracany do `compassError` funkcji wywołania zwrotnego, gdy wystąpi błąd.
+Gdy wystąpi błąd, funkcja wywołania zwrotnego `compassError` zwracany jest obiekt `CompassError`.
 
 ### Właściwości
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/98ee0b6a/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
index 7b536c6..b83d89a 100644
--- a/doc/zh/index.md
+++ b/doc/zh/index.md
@@ -21,6 +21,16 @@
 
 這個外掛程式提供了對設備的指南針的訪問。 羅盤是感應器,可檢測的方向或設備通常指從設備的頂部的標題。 它的措施中從 0 度到 359.99,其中 0 是北部的標題。
 
+訪問是通過一個全球 `navigator.compass` 物件。
+
+雖然該物件附加到全球範圍內 `導航器`,它不可用直到 `deviceready` 事件之後。
+
+    document.addEventListener("deviceready", onDeviceReady, false);
+    function onDeviceReady() {
+        console.log(navigator.compass);
+    }
+    
+
 ## 安裝
 
     cordova plugin add org.apache.cordova.device-orientation
@@ -46,9 +56,9 @@
 
 ## navigator.compass.getCurrentHeading
 
-獲取當前的羅經航向。羅經航向返回通過 `CompassHeading` 物件使用 `compassSuccess` 回呼函數。
+獲取當前的羅經航向。羅經航向被經由一個 `CompassHeading` 物件,使用 `compassSuccess` 回呼函數。
 
-    navigator.compass.getCurrentHeading compassError compassSuccess) ;
+    navigator.compass.getCurrentHeading(compassSuccess, compassError);
     
 
 ### 示例
@@ -66,17 +76,17 @@
 
 ## navigator.compass.watchHeading
 
-獲取設備的當前標題在固定的時間間隔。檢索標題時,每次 `headingSuccess` 執行回呼函數。
+獲取設備的當前標題的間隔時間定期。檢索到的標題,每次執行 `headingSuccess` 回呼函數。
 
-返回的表 ID 引用指南針手錶的時間間隔。可以使用 ID 與手錶 `navigator.compass.clearWatch` 停止了觀看 navigator.compass。
+返回的表 ID 引用的指南針手錶的時間間隔。表 ID 可用於與 `navigator.compass.clearWatch` 停止看 navigator.compass。
 
     var watchID = navigator.compass.watchHeading(compassSuccess, compassError, [compassOptions]);
     
 
-`compassOptions`可能包含以下鍵:
+`compassOptions` 可能包含以下項:
 
-*   **頻率**: 經常如何檢索以毫秒為單位的羅經航向。*(人數)*(預設值: 100)
-*   **篩選器**: 啟動 watchHeading 成功回檔所需的度的變化。當設置此值時,**頻率**將被忽略。*(人數)*
+*   **frequency**: 經常如何檢索以毫秒為單位的羅經航向。*(Number)*(預設值: 100)
+*   **filter**: 啟動 watchHeading 成功回檔所需的度的變化。當設置此值時,**frequency**將被忽略。*(Number)*
 
 ### 示例
 
@@ -102,7 +112,7 @@
 
 ### iOS 的怪癖
 
-只有一個 `watchHeading` 可以在 iOS 中一次的效果。 如果 `watchHeading` 使用篩選器中,調用 `getCurrentHeading` 或 `watchHeading` 使用現有的篩選器值來指定標題的變化。 帶有篩選器看標題的變化是與時間間隔比效率更高。
+只有一個 `watchHeading` 可以在 iOS 中一次的效果。 如果 `watchHeading` 使用一個篩選器,致電 `getCurrentHeading` 或 `watchHeading` 使用現有的篩選器值來指定標題的變化。 帶有篩選器看標題的變化是與時間間隔比效率更高。
 
 ### 亞馬遜火 OS 怪癖
 
@@ -128,7 +138,7 @@
 
 別看手錶 ID 參數所引用的指南針。
 
-    navigator.compass.clearWatch(watchID) ;
+    navigator.compass.clearWatch(watchID);
     
 
 *   **watchID**: 由返回的 ID`navigator.compass.watchHeading`.
@@ -144,7 +154,7 @@
 
 ## CompassHeading
 
-A `CompassHeading` 物件返回到 `compassSuccess` 回呼函數。
+`CompassSuccess` 回呼函數返回一個 `CompassHeading` 物件。
 
 ### 屬性
 
@@ -154,7 +164,7 @@ A `CompassHeading` 物件返回到 `compassSuccess` 回呼函數。
 
 *   **headingAccuracy**: 中度報告的標題和真正標題之間的偏差。*(人數)*
 
-*   **時間戳記**: 本項決定在其中的時間。*(毫秒)*
+*   **timestamp**: 本項決定在其中的時間。*(毫秒)*
 
 ### 亞馬遜火 OS 怪癖
 
@@ -182,11 +192,11 @@ A `CompassHeading` 物件返回到 `compassSuccess` 回呼函數。
 
 ## CompassError
 
-A `CompassError` 物件返回到 `compassError` 時出現錯誤的回呼函數。
+當發生錯誤時,`compassError` 回呼函數情況下會返回一個 `CompassError` 物件。
 
 ### 屬性
 
-*   **代碼**: 下面列出的預定義的錯誤代碼之一。
+*   **code**: 下面列出的預定義的錯誤代碼之一。
 
 ### 常量
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org