incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject [15/25] docs commit: Translate files related to connection
Date Mon, 25 Jun 2012 20:52:14 GMT
Translate files related to connection


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/49931075
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/49931075
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/49931075

Branch: refs/heads/master
Commit: 499310757e71ef0ccee3bd059db7b82c83695a57
Parents: 1001ef0
Author: Keiko Oda <keiko713@gmail.com>
Authored: Sun Jun 10 14:53:08 2012 -0700
Committer: Keiko Oda <keiko713@gmail.com>
Committed: Sun Jun 10 14:53:08 2012 -0700

----------------------------------------------------------------------
 docs/jp/1.7.0/cordova/connection/connection.md     |   22 ++--
 .../jp/1.7.0/cordova/connection/connection.type.md |   86 +++++++-------
 2 files changed, 54 insertions(+), 54 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/49931075/docs/jp/1.7.0/cordova/connection/connection.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/connection/connection.md b/docs/jp/1.7.0/cordova/connection/connection.md
index 5fd68b3..56491db 100644
--- a/docs/jp/1.7.0/cordova/connection/connection.md
+++ b/docs/jp/1.7.0/cordova/connection/connection.md
@@ -20,16 +20,16 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 Connection
 ==========
 
-> The `connection` object gives access to the device's cellular and wifi connection information.
+> `connection` オブジェクトを通じて、携帯電話ネットワーク及び wifi
接続情報にアクセス出来ます。
 
-This object is accessed under the `navigator.network` interface.
+このオブジェクトは、 `navigator.network` インターフェース以下からアクセスされます。
 
-Properties
+プロパティー
 ----------
 
 - connection.type
 
-Constants
+定数
 ---------
 
 - Connection.UNKNOWN
@@ -40,19 +40,19 @@ Constants
 - Connection.CELL_4G
 - Connection.NONE
 
-WP7 Quirk
+WP7 に関する注意点
 ---------
 
 - __type:__
-Windows Phone Emulator always reports navigator.network.connection.type is Connection.UNKNOWN
+Windows Phone Emulator は常に navigator.network.connection.type を Connection.UNKNOWN
と返します。
 
-iOS Quirk
+iOS に関する注意点
 ---------
 
 - __type:__
-iOS can only report whether the device is on a cellular connection, not
-of what type, thus it will always report as CELL_2G
+iOS は、デバイスが携帯電話ネットワークに接続しているかどうかだけを返すことができ、タイプは返すことが出来ません。
+そのため、もし接続している場合は常に CELL_2G として返されます。
 
-Bada Quirk
+Bada に関する注意点
 ----------
-- Bada can only report if device is on Wifi or connected to cellular connection CELL_2G (
type not reported )
+- Bada は、デバイスが Wifi または CELL_2G 携帯電話ネットワークに接続されているかどうかのみを返します
(タイプは返されません) 。

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/49931075/docs/jp/1.7.0/cordova/connection/connection.type.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/connection/connection.type.md b/docs/jp/1.7.0/cordova/connection/connection.type.md
index f60b9c7..3c3be30 100644
--- a/docs/jp/1.7.0/cordova/connection/connection.type.md
+++ b/docs/jp/1.7.0/cordova/connection/connection.type.md
@@ -20,83 +20,83 @@ license: Licensed to the Apache Software Foundation (ASF) under one
 connection.type
 ===================
 
-Checks the active network connection that is being used.
+使われているネットワーク接続のタイプを確認します。
 
-Description
+概要
 -----------
 
-This property is a fast way to determine the device's network connection state, and type
of connection.
+このプロパティーは、デバイスのネットワーク接続状態や接続のタイプを手早く取得出来ます。
 
 
-Supported Platforms
+サポートされているプラットフォーム
 -------------------
 
 - iOS
 - Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- Windows Phone 7 ( Mango )
+- BlackBerry WebWorks (OS 5.0 以上)
+- Windows Phone 7 (Mango)
 - Bada 2.x
 
-Quick Example
+使用例
 -------------
 
     function checkConnection() {
         var networkState = navigator.network.connection.type;
-        
+
         var states = {};
-        states[Connection.UNKNOWN]	= 'Unknown connection';
-        states[Connection.ETHERNET]	= 'Ethernet connection';
-        states[Connection.WIFI]   	= 'WiFi connection';
-        states[Connection.CELL_2G]	= 'Cell 2G connection';
-        states[Connection.CELL_3G]	= 'Cell 3G connection';
-        states[Connection.CELL_4G]	= 'Cell 4G connection';
-        states[Connection.NONE]   	= 'No network connection';
-    
-        alert('Connection type: ' + states[networkState]);
+        states[Connection.UNKNOWN]  = '不明な接続';
+        states[Connection.ETHERNET] = 'イーサネット接続';
+        states[Connection.WIFI]     = 'WiFi接続';
+        states[Connection.CELL_2G]  = '2G接続';
+        states[Connection.CELL_3G]  = '3G接続';
+        states[Connection.CELL_4G]  = '4G接続';
+        states[Connection.NONE]     = 'ネットワーク接続なし';
+
+        alert('コネクションタイプ: ' + states[networkState]);
     }
-    
+
     checkConnection();
 
 
-Full Example
+詳細な使用例
 ------------
 
     <!DOCTYPE html>
     <html>
       <head>
-        <title>navigator.network.connection.type Example</title>
-        
+        <title>navigator.network.connection.type 使用例</title>
+
         <script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
         <script type="text/javascript" charset="utf-8">
-            
-        // Wait for Cordova to load
-        // 
+
+        // Cordova の読み込み完了まで待機
+        //
         document.addEventListener("deviceready", onDeviceReady, false);
-        
-        // Cordova is loaded and it is now safe to make calls Cordova methods
+
+        // Cordova 準備完了
         //
         function onDeviceReady() {
             checkConnection();
         }
-        
-	    function checkConnection() {
-	        var networkState = navigator.network.connection.type;
-
-	        var states = {};
-	        states[Connection.UNKNOWN]	= 'Unknown connection';
-	        states[Connection.ETHERNET]	= 'Ethernet connection';
-	        states[Connection.WIFI]   	= 'WiFi connection';
-	        states[Connection.CELL_2G]	= 'Cell 2G connection';
-	        states[Connection.CELL_3G]	= 'Cell 3G connection';
-	        states[Connection.CELL_4G]	= 'Cell 4G connection';
-	        states[Connection.NONE]   	= 'No network connection';
-
-	        alert('Connection type: ' + states[networkState]);
-	    }
-        
+
+        function checkConnection() {
+            var networkState = navigator.network.connection.type;
+
+            var states = {};
+            states[Connection.UNKNOWN]  = '不明な接続';
+            states[Connection.ETHERNET] = 'イーサネット接続';
+            states[Connection.WIFI]     = 'WiFi接続';
+            states[Connection.CELL_2G]  = '2G接続';
+            states[Connection.CELL_3G]  = '3G接続';
+            states[Connection.CELL_4G]  = '4G接続';
+            states[Connection.NONE]     = 'ネットワーク接続なし';
+
+            alert('コネクションタイプ: ' + states[networkState]);
+        }
+
         </script>
       </head>
       <body>
-        <p>A dialog box will report the network state.</p>
+        <p>ダイアログボックスがネットワーク状態を表示します。</p>
       </body>
     </html>


Mime
View raw message