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:51:45 UTC
[1/7] git commit: Lisa testing pulling in plugins for plugin:
cordova-plugin-vibration
Repository: cordova-plugin-vibration
Updated Branches:
refs/heads/master 97978be49 -> 9da96fc03
Lisa testing pulling in plugins for plugin: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/42b12e4f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/42b12e4f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/42b12e4f
Branch: refs/heads/master
Commit: 42b12e4f6bbd525b3a7166ad7ecc936dca072333
Parents: 3327efe
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 17:50:05 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 17:50:05 2014 -0400
----------------------------------------------------------------------
doc/ja/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/42b12e4f/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
new file mode 100644
index 0000000..769aba0
--- /dev/null
+++ b/doc/ja/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+このプラグインは、デバイスを振動させる方法を提供します。
+
+## インストール
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## サポートされているプラットフォーム
+
+* アマゾン火 OS
+* アンドロイド
+* ブラックベリー 10
+* Firefox の OS
+* iOS
+* Windows Phone 7 と 8
+
+## notification.vibrate
+
+指定された時間量のデバイスを振動します。
+
+ navigator.notification.vibrate(time)
+
+
+* **時刻**: ミリ秒、デバイスを振動させる。*(数)*
+
+## 例
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS の癖
+
+* **時間**: 指定された時間を無視し、時間の事前に設定された量のために振動します。
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
[2/7] git commit: Lisa testing pulling in plugins for plugin:
cordova-plugin-vibration
Posted by ld...@apache.org.
Lisa testing pulling in plugins for plugin: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/02aa38df
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/02aa38df
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/02aa38df
Branch: refs/heads/master
Commit: 02aa38df049c105cf58b9e3ae9ea59674b21e253
Parents: 42b12e4
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:22:42 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:22:42 2014 -0400
----------------------------------------------------------------------
doc/es/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/fr/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/it/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/ko/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/pl/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/zh/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 348 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
new file mode 100644
index 0000000..f5987b5
--- /dev/null
+++ b/doc/es/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+Este plugin proporciona una manera de vibrar el dispositivo.
+
+## Instalación
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Plataformas soportadas
+
+* Amazon fuego OS
+* Android
+* BlackBerry 10
+* Firefox OS
+* iOS
+* Windows Phone 7 y 8
+
+## Notification.Vibrate
+
+Vibra el dispositivo para la cantidad de tiempo especificada.
+
+ navigator.notification.vibrate(time)
+
+
+* **tiempo**: milisegundos a vibrar el dispositivo. *(Número)*
+
+## Ejemplo
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS rarezas
+
+* **tiempo**: ignora el tiempo especificado y vibra durante un tiempo preestablecido.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
new file mode 100644
index 0000000..81777a6
--- /dev/null
+++ b/doc/fr/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+Ce plugin permet de faire vibrer l'appareil.
+
+## Installation
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Plates-formes prises en charge
+
+* Amazon Fire OS
+* Android
+* BlackBerry 10
+* Firefox OS
+* iOS
+* Windows Phone 7 et 8
+
+## notification.vibrate
+
+Fait vibrer l'appareil pendant la durée spécifiée.
+
+ navigator.notification.vibrate(time)
+
+
+* **time**: Durée de vibration de l'appareil en millisecondes. *(Number)*
+
+## Exemple
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS Quirks
+
+* **temps**: ne tient pas compte de la durée spécifiée et vibre pendant un temps prédéterminé.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/it/index.md
----------------------------------------------------------------------
diff --git a/doc/it/index.md b/doc/it/index.md
new file mode 100644
index 0000000..d544b8b
--- /dev/null
+++ b/doc/it/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+Questo plugin consente di vibrare il dispositivo.
+
+## Installazione
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Piattaforme supportate
+
+* Amazon fuoco OS
+* Android
+* BlackBerry 10
+* Firefox OS
+* iOS
+* Windows Phone 7 e 8
+
+## Notification.vibrate
+
+Vibra il dispositivo per il periodo di tempo specificato.
+
+ navigator.notification.vibrate(time)
+
+
+* **tempo**: millisecondi a vibrare il dispositivo. *(Numero)*
+
+## Esempio
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS stranezze
+
+* **tempo**: ignora il tempo specificato e vibra per un tempo pre-impostato.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
new file mode 100644
index 0000000..62de9c1
--- /dev/null
+++ b/doc/ko/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+이 플러그인에는 장치를 진동 하는 방법을 제공 합니다.
+
+## 설치
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## 지원 되는 플랫폼
+
+* 아마존 화재 운영 체제
+* 안 드 로이드
+* 블랙베리 10
+* Firefox 운영 체제
+* iOS
+* Windows Phone 7과 8
+
+## notification.vibrate
+
+지정 된 시간 동안 장치를 진동.
+
+ navigator.notification.vibrate(time)
+
+
+* **시간**: 진동 장치 (밀리초)입니다. *(수)*
+
+## 예를 들어
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS 단점
+
+* **시간**: 지정 된 시간을 무시 하 고 미리 설정 된 시간 동안 진동.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
new file mode 100644
index 0000000..e29e190
--- /dev/null
+++ b/doc/pl/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+Ten plugin umożliwia wibracje urządzenia.
+
+## Instalacji
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Obsługiwane platformy
+
+* Amazon ogień OS
+* Android
+* Jeżyna 10
+* Firefox OS
+* iOS
+* Windows Phone 7 i 8
+
+## Notification.vibrate
+
+Wibruje urządzenie na określoną ilość czasu.
+
+ navigator.notification.vibrate(time)
+
+
+* **czas**: milisekund wibracje urządzenia. *(Liczba)*
+
+## Przykład
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS dziwactwa
+
+* **czas**: ignoruje określony czas i wibruje na wstępnie określoną ilość czasu.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/02aa38df/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
new file mode 100644
index 0000000..2a2c382
--- /dev/null
+++ b/doc/zh/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+這個外掛程式提供了一種方法,振動設備。
+
+## 安裝
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## 支援的平臺
+
+* 亞馬遜火 OS
+* Android 系統
+* 黑莓 10
+* 火狐瀏覽器作業系統
+* iOS
+* Windows Phone 7 和 8
+
+## notification.vibrate
+
+為指定的時間量振動設備。
+
+ navigator.notification.vibrate(time)
+
+
+* **時間**: 毫秒振動設備。*(人數)*
+
+## 示例
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS 的怪癖
+
+* **時間**: 忽略指定的時間和震動的預設置的時間量。
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
[7/7] git commit: CB-6127cordova-plugin-vibration documentation
translation: cordova-plugin-vibration
Posted by ld...@apache.org.
CB-6127cordova-plugin-vibration documentation translation: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/9da96fc0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/9da96fc0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/9da96fc0
Branch: refs/heads/master
Commit: 9da96fc0332841bd5e417357395bb1b7c1fb8044
Parents: 97978be 74bc457
Author: Lisa Seacat DeLuca <ld...@Lisas-MacBook-Pro.local>
Authored: Mon Jul 7 13:14:39 2014 -0400
Committer: Lisa Seacat DeLuca <ld...@Lisas-MacBook-Pro.local>
Committed: Mon Jul 7 13:14:39 2014 -0400
----------------------------------------------------------------------
doc/it/index.md | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/9da96fc0/doc/it/index.md
----------------------------------------------------------------------
diff --cc doc/it/index.md
index 1a3ba5f,d544b8b..a562ddd
--- a/doc/it/index.md
+++ b/doc/it/index.md
@@@ -28,60 -28,31 +28,85 @@@ Questo plugin consente di vibrare il di
## Piattaforme supportate
++<<<<<<< HEAD
+Navigator.Notification.vibrate - Amazon fuoco OS - OS di Firefox - 10 BlackBerry - Android - iOS - Windows Phone 7 e 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
+
+## Notification.vibrate
+
+Vibra il dispositivo per un determinato periodo di tempo.
++=======
+ * Amazon fuoco OS
+ * Android
+ * BlackBerry 10
+ * Firefox OS
+ * iOS
+ * Windows Phone 7 e 8
+
+ ## Notification.vibrate
+
+ Vibra il dispositivo per il periodo di tempo specificato.
++>>>>>>> 74bc4572943378e7e17deff8f09889de0c8fea85
navigator.notification.vibrate(time)
* **tempo**: millisecondi a vibrare il dispositivo. *(Numero)*
++<<<<<<< HEAD
+### Esempio
++=======
+ ## Esempio
++>>>>>>> 74bc4572943378e7e17deff8f09889de0c8fea85
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
++<<<<<<< HEAD
+### iOS stranezze
++=======
+ ## iOS stranezze
++>>>>>>> 74bc4572943378e7e17deff8f09889de0c8fea85
* **tempo**: ignora il tempo specificato e vibra per un tempo pre-impostato.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
++<<<<<<< HEAD
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Vibra il dispositivo con un determinato modello.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **modello**: sequenza di durate (in millisecondi) per il quale attivare o disattivare il vibratore. *(Matrice di numeri)*
+* **ripetere**: opzionale indice nell'array modello presso cui iniziare ripetendo (ripeterà finché non annullato), o -1 per nessuna ripetizione (impostazione predefinita). *(Numero)*
+
+### Esempio
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Annulla immediatamente qualsiasi vibrazione attualmente in esecuzione.
+
- navigator.notification.cancelVibration()
++ navigator.notification.cancelVibration()
++=======
++ navigator.notification.vibrate(2500); // 2500 is ignored
++>>>>>>> 74bc4572943378e7e17deff8f09889de0c8fea85
[3/7] git commit: documentation translation: cordova-plugin-vibration
Posted by ld...@apache.org.
documentation translation: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/7850d8b4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/7850d8b4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/7850d8b4
Branch: refs/heads/master
Commit: 7850d8b4147961abd4536563c09d7098b5339ba2
Parents: 02aa38d
Author: ldeluca <ld...@us.ibm.com>
Authored: Tue May 27 21:37:07 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Tue May 27 21:37:07 2014 -0400
----------------------------------------------------------------------
doc/de/index.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/7850d8b4/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
new file mode 100644
index 0000000..bd00a7c
--- /dev/null
+++ b/doc/de/index.md
@@ -0,0 +1,58 @@
+<!---
+ 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.vibration
+
+Dieses Plugin bietet eine Möglichkeit, das Gerät zu vibrieren.
+
+## Installation
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Unterstützte Plattformen
+
+* Amazon Fire OS
+* Android
+* BlackBerry 10
+* Firefox OS
+* iOS
+* Windows Phone 7 und 8
+
+## Notification.Vibrate
+
+Vibriert das Gerät für den angegebenen Zeitraum.
+
+ navigator.notification.vibrate(time)
+
+
+* **Zeit**: Millisekunden das Gerät vibriert. *(Anzahl)*
+
+## Beispiel
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+## iOS Macken
+
+* **Zeit**: ignoriert die angegebene Zeit und für eine voreingestellte Zeit vibriert.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
[6/7] git commit: CB-6773cordova-plugin-vibration documentation
translation: cordova-plugin-vibration
Posted by ld...@apache.org.
CB-6773cordova-plugin-vibration documentation translation: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/74bc4572
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/74bc4572
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/74bc4572
Branch: refs/heads/master
Commit: 74bc4572943378e7e17deff8f09889de0c8fea85
Parents: 58ae40f
Author: ldeluca <ld...@us.ibm.com>
Authored: Mon Jun 23 13:53:45 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 10:15:44 2014 -0400
----------------------------------------------------------------------
doc/de/index.md | 49 +++++++++++++++++++++++------
doc/es/index.md | 49 +++++++++++++++++++++++------
doc/fr/index.md | 51 +++++++++++++++++++++++-------
doc/ja/index.md | 49 +++++++++++++++++++++++------
doc/ko/index.md | 49 +++++++++++++++++++++++------
doc/pl/index.md | 47 ++++++++++++++++++++++------
doc/ru/index.md | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/zh/index.md | 59 ++++++++++++++++++++++++++---------
8 files changed, 365 insertions(+), 75 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/de/index.md
----------------------------------------------------------------------
diff --git a/doc/de/index.md b/doc/de/index.md
index bd00a7c..8feb03f 100644
--- a/doc/de/index.md
+++ b/doc/de/index.md
@@ -28,31 +28,60 @@ Dieses Plugin bietet eine Möglichkeit, das Gerät zu vibrieren.
## Unterstützte Plattformen
-* Amazon Fire OS
-* Android
-* BlackBerry 10
-* Firefox OS
-* iOS
-* Windows Phone 7 und 8
+Navigator.Notification.Vibrate - Amazon Fire OS - Android - BlackBerry 10 - Firefox OS - iOS - Windows Phone 7 und 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
## Notification.Vibrate
-Vibriert das Gerät für den angegebenen Zeitraum.
+Vibriert das Gerät für einen bestimmten Zeitraum.
navigator.notification.vibrate(time)
* **Zeit**: Millisekunden das Gerät vibriert. *(Anzahl)*
-## Beispiel
+### Beispiel
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS Macken
+### iOS Macken
* **Zeit**: ignoriert die angegebene Zeit und für eine voreingestellte Zeit vibriert.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Vibriert das Gerät mit einem vorgegebenen Muster.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **Muster**: Folge von Dauer (in Millisekunden) für den ein-oder Ausschalten der Vibrator. *(Array von Zahlen)*
+* **Wiederholen**: optionale Index in das Array Muster an der wiederholte (wird wiederholt, bis abgebrochen) zu starten, oder-1 für Wiederholung (Standard). *(Anzahl)*
+
+### Beispiel
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Sofort bricht alle derzeit ausgeführten Schwingungen.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/es/index.md
----------------------------------------------------------------------
diff --git a/doc/es/index.md b/doc/es/index.md
index f5987b5..a256e36 100644
--- a/doc/es/index.md
+++ b/doc/es/index.md
@@ -28,31 +28,60 @@ Este plugin proporciona una manera de vibrar el dispositivo.
## Plataformas soportadas
-* Amazon fuego OS
-* Android
-* BlackBerry 10
-* Firefox OS
-* iOS
-* Windows Phone 7 y 8
+Navigator.Notification.Vibrate - Amazon fuego OS - sistema operativo Android - BlackBerry 10 - Firefox - iOS - Windows Phone 7 y 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
## Notification.Vibrate
-Vibra el dispositivo para la cantidad de tiempo especificada.
+Vibra el dispositivo para una cantidad dada de tiempo.
navigator.notification.vibrate(time)
* **tiempo**: milisegundos a vibrar el dispositivo. *(Número)*
-## Ejemplo
+### Ejemplo
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS rarezas
+### iOS rarezas
* **tiempo**: ignora el tiempo especificado y vibra durante un tiempo preestablecido.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Vibra el dispositivo con un patrón determinado.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **patrón**: secuencia de duraciones (en milisegundos) que desea activar o desactivar el vibrador. *(Matriz de números)*
+* **repito**: índice opcional en la matriz de patrón en el cual comenzar repitiendo (se repite hasta que se cancele), o -1 para la no repetición (por defecto). *(Número)*
+
+### Ejemplo
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Inmediatamente se cancela cualquier vibración actualmente en ejecución.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/fr/index.md
----------------------------------------------------------------------
diff --git a/doc/fr/index.md b/doc/fr/index.md
index 81777a6..dfee8e7 100644
--- a/doc/fr/index.md
+++ b/doc/fr/index.md
@@ -28,31 +28,60 @@ Ce plugin permet de faire vibrer l'appareil.
## Plates-formes prises en charge
-* Amazon Fire OS
-* Android
-* BlackBerry 10
-* Firefox OS
-* iOS
-* Windows Phone 7 et 8
+Navigator.notification.VIBRATE - Amazon Fire OS - Android - BlackBerry 10 - Firefox OS - iOS - Windows Phone 7 et 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
## notification.vibrate
-Fait vibrer l'appareil pendant la durée spécifiée.
+Vibre l'appareil pendant un certain temps.
navigator.notification.vibrate(time)
-* **time**: Durée de vibration de l'appareil en millisecondes. *(Number)*
+* **temps**: millisecondes à vibrer l'appareil. *(Nombre)*
-## Exemple
+### Exemple
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS Quirks
+### iOS Quirks
* **temps**: ne tient pas compte de la durée spécifiée et vibre pendant un temps prédéterminé.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Vibre l'appareil avec un modèle donné.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **modèle**: séquence de la durée (en millisecondes) pour lequel activer ou désactiver le vibreur. *(Tableau de nombres)*
+* **répéter**: optionnel index dans le tableau de configuration à laquelle commencer à répéter (répétera jusqu'à annulation), ou -1 pour aucune répétition (par défaut). *(Nombre)*
+
+### Exemple
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Immédiatement annule des vibrations en cours d'exécution.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/ja/index.md
----------------------------------------------------------------------
diff --git a/doc/ja/index.md b/doc/ja/index.md
index 769aba0..4f8291f 100644
--- a/doc/ja/index.md
+++ b/doc/ja/index.md
@@ -28,31 +28,60 @@
## サポートされているプラットフォーム
-* アマゾン火 OS
-* アンドロイド
-* ブラックベリー 10
-* Firefox の OS
-* iOS
-* Windows Phone 7 と 8
+navigator.notification.vibrate - アマゾン火 OS - アンドロイド - ブラックベリー 10 - Firefox OS - iOS - Windows Phone 7 と 8
+
+navigator.notification.vibrateWithPattern、
+navigator.notification.cancelVibration - アンドロイド
## notification.vibrate
-指定された時間量のデバイスを振動します。
+一定の時間のため、デバイスが振動します。
navigator.notification.vibrate(time)
* **時刻**: ミリ秒、デバイスを振動させる。*(数)*
-## 例
+### 例
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS の癖
+### iOS の癖
* **時間**: 指定された時間を無視し、時間の事前に設定された量のために振動します。
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+特定のパターンを持つデバイスが振動します。
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **パターン**: シーケンスの継続時間 (ミリ秒単位) をオンまたはオフ、バイブします。*(数字の配列)*
+* **繰り返します**: 省略可能な配列のインデックスのパターン (でしょう) を繰り返す取り消されるまで、繰り返しを開始するまたは反復なし (既定値) の場合は-1。*(数)*
+
+### 例
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+すぐに、現在実行中の振動をキャンセルします。
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/ko/index.md
----------------------------------------------------------------------
diff --git a/doc/ko/index.md b/doc/ko/index.md
index 62de9c1..bf6bf14 100644
--- a/doc/ko/index.md
+++ b/doc/ko/index.md
@@ -28,31 +28,60 @@
## 지원 되는 플랫폼
-* 아마존 화재 운영 체제
-* 안 드 로이드
-* 블랙베리 10
-* Firefox 운영 체제
-* iOS
-* Windows Phone 7과 8
+navigator.notification.vibrate-아마존 화재 OS-안 드 로이드-블랙베리 10-파이어 폭스 OS-iOS-Windows Phone 7과 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration-안 드 로이드
## notification.vibrate
-지정 된 시간 동안 장치를 진동.
+주어진 시간 동안 장치를 진동.
navigator.notification.vibrate(time)
* **시간**: 진동 장치 (밀리초)입니다. *(수)*
-## 예를 들어
+### 예를 들어
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS 단점
+### iOS 단점
* **시간**: 지정 된 시간을 무시 하 고 미리 설정 된 시간 동안 진동.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+지정 된 패턴으로 장치 진동.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **패턴**:의 기간 (밀리초)에서 진동을 켜거나 끌 수 있는 순서. *(숫자의 배열)*
+* **반복**: 반복 (취소 될 때까지 반복 됩니다), 시작 하는 또는-1 (기본값) 없는 반복에 대 한 패턴 배열에 선택적 인덱스. *(수)*
+
+### 예를 들어
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+즉시 모든 현재 실행 중인 진동을 취소합니다.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/pl/index.md
----------------------------------------------------------------------
diff --git a/doc/pl/index.md b/doc/pl/index.md
index e29e190..a5a50c3 100644
--- a/doc/pl/index.md
+++ b/doc/pl/index.md
@@ -28,12 +28,10 @@ Ten plugin umożliwia wibracje urządzenia.
## Obsługiwane platformy
-* Amazon ogień OS
-* Android
-* Jeżyna 10
-* Firefox OS
-* iOS
-* Windows Phone 7 i 8
+Navigator.Notification.vibrate - Amazon ogień OS - OS Android - BlackBerry 10 - Firefox - iOS - Windows Phone 7 i 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
## Notification.vibrate
@@ -44,15 +42,46 @@ Wibruje urządzenie na określoną ilość czasu.
* **czas**: milisekund wibracje urządzenia. *(Liczba)*
-## Przykład
+### Przykład
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS dziwactwa
+### iOS dziwactwa
* **czas**: ignoruje określony czas i wibruje na wstępnie określoną ilość czasu.
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Wibruje urządzenie z danego wzoru.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **wzór**: sekwencja czas trwania (w milisekundach), dla której chcesz włączyć lub wyłączyć wibrator. *(Tablica liczb)*
+* **Powtórz**: opcjonalny indeks do tablicy wzór który zacząć powtarzać (będzie powtarzać do momentu anulowane), lub -1 nie powtarzania (domyślnie). *(Liczba)*
+
+### Przykład
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Niezwłocznie anuluje aktualnie uruchomione wibracje.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/ru/index.md
----------------------------------------------------------------------
diff --git a/doc/ru/index.md b/doc/ru/index.md
new file mode 100644
index 0000000..2eea1f0
--- /dev/null
+++ b/doc/ru/index.md
@@ -0,0 +1,87 @@
+<!---
+ 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.vibration
+
+Этот плагин позволяет вибрировать устройство.
+
+## Установка
+
+ cordova plugin add org.apache.cordova.vibration
+
+
+## Поддерживаемые платформы
+
+Navigator.Notification.Vibrate - Amazon Fire OS - Android - BlackBerry 10 - Firefox OS - iOS - Windows Phone 7 и 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration - Android
+
+## Notification.Vibrate
+
+Устройство вибрирует за определенное количество времени.
+
+ navigator.notification.vibrate(time)
+
+
+* **время**: миллисекунд вибрировать устройство. *(Число)*
+
+### Пример
+
+ // Vibrate for 2.5 seconds
+ navigator.notification.vibrate(2500);
+
+
+### iOS причуды
+
+* **время**: игнорирует указанное время и вибрирует для предварительно установленного времени.
+
+ navigator.notification.vibrate();
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+Вибрирует на устройства с заданным шаблоном.
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **шаблон**: последовательность длительностей (в миллисекундах), для которого требуется включить или выключить вибростол. *(Массив из чисел)*
+* **повторяю**: дополнительный индекс в массиве шаблон для начала повторять (будет повторять пока не отменен), или -1 для не повторения (по умолчанию). *(Число)*
+
+### Пример
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+Немедленно отменяет любые выполняющиеся вибрации.
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/74bc4572/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
index ada3242..d6ce7fe 100644
--- a/doc/zh/index.md
+++ b/doc/zh/index.md
@@ -19,40 +19,69 @@
# org.apache.cordova.vibration
-这个插件提供了一种方法,振动设备。
+這個外掛程式提供了一種方法,振動設備。
-## 安装
+## 安裝
cordova plugin add org.apache.cordova.vibration
-## 支持的平台
+## 支援的平臺
-* 亚马逊火 OS
-* Android 系统
-* 黑莓 10
-* 火狐浏览器操作系统
-* iOS
-* Windows Phone 7 和 8
+navigator.notification.vibrate-亞馬遜火 OS-Android-黑莓 10-火狐瀏覽器作業系統 — — iOS-Windows Phone 7 和 8
+
+navigator.notification.vibrateWithPattern,
+navigator.notification.cancelVibration-安卓系統
## notification.vibrate
-为指定的时间量振动设备。
+為給定時間振動設備。
navigator.notification.vibrate(time)
-* **时间**: 毫秒振动设备。*(人数)*
+* **時間**: 毫秒以振動裝置。*(人數)*
-## 示例
+### 示例
// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
-## iOS 的怪癖
+### iOS 的怪癖
-* **时间**: 忽略指定的时间和震动的预设置的时间量。
+* **時間**: 忽略指定的時間和震動的一個預先設定的時間。
navigator.notification.vibrate();
- navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file
+ navigator.notification.vibrate(2500); // 2500 is ignored
+
+
+## notification.vibrateWithPattern
+
+振動具有給定模式的設備。
+
+ navigator.notification.vibrateWithPattern(pattern, repeat)
+
+
+* **模式**: 序列的持續時間 (以毫秒為單位) 為其打開或關閉振動器。*(數位陣列)*
+* **重複**: 在其開始重複 (會重複,直到被取消),或-1 為不重複 (預設值) 模式陣列中的可選索引。*(人數)*
+
+### 示例
+
+ // Immediately start vibrating
+ // vibrate for 100ms,
+ // wait for 100ms,
+ // vibrate for 200ms,
+ // wait for 100ms,
+ // vibrate for 400ms,
+ // wait for 100ms,
+ // vibrate for 800ms,
+ // (do not repeat)
+ navigator.notification.vibrateWithPattern([0, 100, 100, 200, 100, 400, 100, 800]);
+
+
+## notification.cancelVibration
+
+立即取消任何當前正在運行的振動。
+
+ navigator.notification.cancelVibration()
\ No newline at end of file
[4/7] git commit: Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration
Posted by ld...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/41ca0aae
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/41ca0aae
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/41ca0aae
Branch: refs/heads/master
Commit: 41ca0aae7908f8e09386998cb276463a15dcb0f3
Parents: 7850d8b f283db2
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed Jun 11 10:00:40 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 11 10:00:40 2014 -0400
----------------------------------------------------------------------
CONTRIBUTING.md | 21 ++++++++++++++++++
NOTICE | 2 ++
README.md | 1 +
RELEASENOTES.md | 8 +++++++
doc/index.md | 40 ++++++++++++++++++++++++++++-----
plugin.xml | 2 +-
src/android/Vibration.java | 49 ++++++++++++++++++++++++++++++++++++++++-
www/vibration.js | 38 ++++++++++++++++++++++++++++++--
8 files changed, 152 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
[5/7] git commit: CB-6773cordova-plugin-vibration documentation
translation: cordova-plugin-vibration
Posted by ld...@apache.org.
CB-6773cordova-plugin-vibration documentation translation: cordova-plugin-vibration
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/commit/58ae40ff
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/tree/58ae40ff
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/diff/58ae40ff
Branch: refs/heads/master
Commit: 58ae40ff7db34313fbecaafc562986060d704629
Parents: 41ca0aa
Author: ldeluca <ld...@us.ibm.com>
Authored: Wed May 28 13:15:51 2014 -0400
Committer: ldeluca <ld...@us.ibm.com>
Committed: Wed Jun 25 10:15:43 2014 -0400
----------------------------------------------------------------------
doc/zh/index.md | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-vibration/blob/58ae40ff/doc/zh/index.md
----------------------------------------------------------------------
diff --git a/doc/zh/index.md b/doc/zh/index.md
index 2a2c382..ada3242 100644
--- a/doc/zh/index.md
+++ b/doc/zh/index.md
@@ -19,30 +19,30 @@
# org.apache.cordova.vibration
-這個外掛程式提供了一種方法,振動設備。
+这个插件提供了一种方法,振动设备。
-## 安裝
+## 安装
cordova plugin add org.apache.cordova.vibration
-## 支援的平臺
+## 支持的平台
-* 亞馬遜火 OS
-* Android 系統
+* 亚马逊火 OS
+* Android 系统
* 黑莓 10
-* 火狐瀏覽器作業系統
+* 火狐浏览器操作系统
* iOS
* Windows Phone 7 和 8
## notification.vibrate
-為指定的時間量振動設備。
+为指定的时间量振动设备。
navigator.notification.vibrate(time)
-* **時間**: 毫秒振動設備。*(人數)*
+* **时间**: 毫秒振动设备。*(人数)*
## 示例
@@ -52,7 +52,7 @@
## iOS 的怪癖
-* **時間**: 忽略指定的時間和震動的預設置的時間量。
+* **时间**: 忽略指定的时间和震动的预设置的时间量。
navigator.notification.vibrate();
navigator.notification.vibrate(2500); // 2500 is ignored
\ No newline at end of file