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

[07/10] git commit: Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status

Lisa testing pulling in plugins for plugin: cordova-plugin-battery-status


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/commit/734807bc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/tree/734807bc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/diff/734807bc

Branch: refs/heads/master
Commit: 734807bc11c556684a03aa3160aede1f97307c8b
Parents: 5a92083
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:21:26 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:21:26 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index 8bb93da..e5c91d7 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -54,6 +54,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   BlackBerry 10
 *   Windows Phone 7 y 8
 *   Tizen
+*   Firefox OS
 
 ### Windows Phone 7 y 8 rarezas
 
@@ -88,6 +89,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   Android
 *   BlackBerry 10
 *   Tizen
+*   Firefox OS
 
 ### Ejemplo
 
@@ -118,6 +120,7 @@ Las aplicaciones normalmente deben utilizar `window.addEventListener` para conec
 *   Android
 *   BlackBerry 10
 *   Tizen
+*   Firefox OS
 
 ### Ejemplo
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index c19e8c7..f58fcbc 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -54,6 +54,7 @@ Les applications doivent généralement utiliser `window.addEventListener` pour
 *   BlackBerry 10
 *   Windows Phone 7 et 8
 *   Paciarelli
+*   Firefox OS
 
 ### Notes au sujet de Windows Phone 7 et 8
 
@@ -88,6 +89,7 @@ Les applications devraient en général utiliser `window.addEventListener` pour
 *   Android
 *   BlackBerry 10
 *   Paciarelli
+*   Firefox OS
 
 ### Exemple
 
@@ -118,6 +120,7 @@ Les applications devraient en général utiliser `window.addEventListener` pour
 *   Android
 *   BlackBerry 10
 *   Paciarelli
+*   Firefox OS
 
 ### Exemple
 

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
new file mode 100644
index 0000000..12060e0
--- /dev/null
+++ b/doc/it/index.md
@@ -0,0 +1,132 @@
+<!---
+    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.Battery-status
+
+Questo plugin fornisce un'implementazione di una vecchia versione dell' [API di eventi lo stato della batteria][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+Aggiunge i seguenti tre `window` eventi:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Installazione
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+Questo evento viene generato quando la percentuale di carica della batteria cambia almeno l'1 per cento, o se il dispositivo è collegato o scollegato.
+
+Il gestore di stato della batteria viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere necessario utilizzare `window.addEventListener` per associare un listener di eventi una volta il `deviceready` evento incendi. per esempio:
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Windows Phone 7 e 8
+*   Tizen
+*   Firefox OS
+
+### Windows Phone 7 e 8 stranezze
+
+Windows Phone 7 non fornisce le API native per determinare il livello della batteria, così la `level` proprietà non è disponibile. Il `isPlugged` parametro *è* supportato.
+
+### Esempio
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+L'evento viene generato quando la percentuale di carica della batteria ha raggiunto la soglia critica di batteria. Il valore è specifico del dispositivo.
+
+Il `batterycritical` gestore viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere è necessario utilizzare `window.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Esempio
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+L'evento viene generato quando la percentuale di carica della batteria ha raggiunto la soglia di batteria scarica, il valore specifico del dispositivo.
+
+Il `batterylow` gestore viene passato un oggetto che contiene due proprietà:
+
+*   **livello**: la percentuale di carica della batteria (0-100). *(Numero)*
+
+*   **isPlugged**: un valore booleano che indica se il dispositivo è collegato poll *(Boolean)*
+
+Applicazioni in genere è necessario utilizzare `window.addEventListener` per fissare un listener di eventi una volta il `deviceready` evento incendi.
+
+### Piattaforme supportate
+
+*   Amazon fuoco OS
+*   iOS
+*   Android
+*   BlackBerry 10
+*   Tizen
+*   Firefox OS
+
+### Esempio
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
new file mode 100644
index 0000000..cd49cb9
--- /dev/null
+++ b/doc/ko/index.md
@@ -0,0 +1,132 @@
+<!---
+    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.battery 상태
+
+이 플러그인에서는 [배터리 상태 이벤트 API][1] 의 이전 버전의 구현을.
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+그것은 다음과 같은 세 가지 추가 `window` 이벤트:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## 설치
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+이 이벤트는 배터리 충전 비율 1% 이상에 의해 변경 될 때 또는 장치를 연결 하거나 분리 하는 경우 발생 합니다.
+
+배터리 상태 처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다.
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 부착 하는 `deviceready` 이벤트가 발생 합니다. 예를 들어:
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Windows Phone 7과 8
+*   Tizen
+*   Firefox 운영 체제
+
+### Windows Phone 7, 8 특수
+
+Windows Phone 7 배터리 수준을 확인 하려면 네이티브 Api를 제공 하지 않습니다 때문에 `level` 속성은 사용할 수 없습니다. `isPlugged`매개 변수는 *는* 지원.
+
+### 예를 들어
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+이벤트 발생 때 배터리 충전 비율 배터리 위험 임계값에 도달 했습니다. 값은 장치 마다 다릅니다.
+
+`batterycritical`처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다:
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Tizen
+*   Firefox 운영 체제
+
+### 예를 들어
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+이벤트 발생 때 배터리 충전 비율 낮은 배터리 임계값, 특정 값에 도달 했습니다.
+
+`batterylow`처리기는 두 개의 속성이 포함 된 개체에 전달 됩니다:
+
+*   **수준**: 배터리 충전 (0-100)의 비율. *(수)*
+
+*   **isPlugged**: 장치 연결된 인치 *(부울)* 인지 여부를 나타내는 부울 값
+
+일반적으로 응용 프로그램을 사용 해야 합니다 `window.addEventListener` 한번 이벤트 리스너를 연결 하는 `deviceready` 이벤트가 발생 합니다.
+
+### 지원 되는 플랫폼
+
+*   아마존 화재 운영 체제
+*   iOS
+*   안 드 로이드
+*   블랙베리 10
+*   Tizen
+*   Firefox 운영 체제
+
+### 예를 들어
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
new file mode 100644
index 0000000..53bf82e
--- /dev/null
+++ b/doc/pl/index.md
@@ -0,0 +1,132 @@
+<!---
+    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.Battery stan
+
+Wtyczka stanowi implementację starą wersję [API zdarzeń stanu baterii][1].
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+To dodaje następujące trzy `window` zdarzenia:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## Instalacji
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+To zdarzenie fires po zmianie procent naładowania baterii, przez co najmniej 1 procent, lub jeśli urządzenie jest podłączone lub odłączony.
+
+Obsługi stan baterii jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(Boolean)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia. np.:
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Windows Phone 7 i 8
+*   Tizen
+*   Firefox OS
+
+### Windows Phone 7 i 8 dziwactwa
+
+Windows Phone 7 nie zapewniają native API do określenia poziomu baterii, więc `level` Właściwość jest niedostępny. `isPlugged`Parametr *jest* obsługiwany.
+
+### Przykład
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+Zdarzenie odpala gdy procent naładowania baterii osiągnie próg rozładowanej baterii. Wartość jest specyficzne dla urządzenia.
+
+`batterycritical`Obsługi jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(logiczna)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Tizen
+*   Firefox OS
+
+### Przykład
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+Zdarzenie odpala gdy procent naładowania baterii osiągnie próg niskiego poziomu baterii, wartości specyficzne dla urządzenia.
+
+`batterylow`Obsługi jest przekazywany obiekt, który zawiera dwie właściwości:
+
+*   **poziom**: procent naładowania baterii (0-100). *(Liczba)*
+
+*   **isPlugged**: boolean, która wskazuje, czy urządzenie jest podłączony *(logiczna)*
+
+Aplikacje zwykle należy użyć `window.addEventListener` Aby dołączyć słuchacza raz `deviceready` pożary zdarzenia.
+
+### Obsługiwane platformy
+
+*   Amazon ogień OS
+*   iOS
+*   Android
+*   Jeżyna 10
+*   Tizen
+*   Firefox OS
+
+### Przykład
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-plugin-battery-status/blob/734807bc/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
new file mode 100644
index 0000000..bd9f541
--- /dev/null
+++ b/doc/zh/index.md
@@ -0,0 +1,132 @@
+<!---
+    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.battery-地位
+
+這個外掛程式提供的舊版本的[電池狀態事件 API][1]實現的.
+
+ [1]: http://www.w3.org/TR/2011/WD-battery-status-20110915/
+
+它將添加以下三 `window` 事件:
+
+*   batterystatus
+*   batterycritical
+*   batterylow
+
+## 安裝
+
+    cordova plugin add org.apache.cordova.battery-status
+    
+
+## batterystatus
+
+當電池計量的百分比改變了至少 1%,或如果在插入或拔出該設備會觸發此事件。
+
+電池狀態處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。 例如:
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Windows Phone 7 和 8
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### Windows Phone 7 和 8 怪癖
+
+Windows Phone 7 並不提供本機 Api 來確定電池計量水準,所以 `level` 是不可用的屬性。`isPlugged`參數**支援的。
+
+### 示例
+
+    window.addEventListener("batterystatus", onBatteryStatus, false);
+    
+    function onBatteryStatus(info) {
+        // Handle the online event
+        console.log("Level: " + info.level + " isPlugged: " + info.isPlugged);
+    }
+    
+
+## batterycritical
+
+當電池計量的百分比已達到關鍵電池閾值時,將觸發該事件。值是特定于設備。
+
+`batterycritical`處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### 示例
+
+    window.addEventListener("batterycritical", onBatteryCritical, false);
+    
+    function onBatteryCritical(info) {
+        // Handle the battery critical event
+        alert("Battery Level Critical " + info.level + "%\nRecharge Soon!");
+    }
+    
+
+## batterylow
+
+當電池計量的百分比已達到電池計量低門檻,設備特定值時,將觸發該事件。
+
+`batterylow`處理常式傳遞一個物件,包含兩個屬性:
+
+*   **級別**: 電池充電 (0-100) 的百分比。*(人數)*
+
+*   **isPlugged**: 一個布林值,該值指示設備是否插*(布林值)*
+
+應用程式通常應使用 `window.addEventListener` 將一個事件攔截器附加一次 `deviceready` 事件火災。
+
+### 支援的平臺
+
+*   亞馬遜火 OS
+*   iOS
+*   Android 系統
+*   黑莓 10
+*   Tizen
+*   火狐瀏覽器作業系統
+
+### 示例
+
+    window.addEventListener("batterylow", onBatteryLow, false);
+    
+    function onBatteryLow(info) {
+        // Handle the battery low event
+        alert("Battery Level Low " + info.level + "%");
+    }
\ No newline at end of file