Skip to content
Browse files

Merge pull request #98 from silkycove/sphero

translate Sphero help files in Japanese
  • Loading branch information...
2 parents c9d986c + a67bf02 commit 5ff053955cbf5e6631751cec9550fd01544412cc @deadprogram deadprogram committed Jan 14, 2013
View
2 public/help/ja/index.html
@@ -20,7 +20,7 @@
<li><a href="hacketyhack/index.html">ハケティ・ハック</a></li>
<li><a href="rubywarrior/index.html">Ruby ウォリアー</a></li>
<li><a href="ruby4kids/index.html">Gosu(ゴス)でゲームを作ろう</a></li>
- <li><a href="robots/index.html">Robots</a></li>
+ <li><a href="robots/index.html">ロボット</a></li>
<li><a href="kidsruby/glossary.html">用語</a></li>
</ol>
</article>
View
18 public/help/ja/robots/index.html
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>Robots</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>ロボット</title><!-- Load styles --><!-- Load js -->
- <!-- Load styles -->
+
<link rel="stylesheet" href="../../../css/blitzer/jquery-ui-1.8.16.custom.css" type="text/css" media="screen" title="style" charset="utf-8">
<link rel="stylesheet" href="../../../css/master.css" type="text/css" media="screen" title="style" charset="utf-8">
<link rel="stylesheet" href="../../../css/jquery.snippet.min.css" type="text/css" media="screen" title="style" charset="utf-8">
- <!-- Load js -->
+
<script type="text/javascript" src="../../../js/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../../js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="../../../js/jquery/jquery.snippet.min.js"></script>
@@ -21,15 +21,15 @@
</script>
</head>
<body class="lesson-set">
- <h1>Robots</h1>
+ <h1>ロボット</h1>
<nav id="top">
- <a href="../index.html">Back to Main</a>
+ <a href="../index.html">戻る</a>
</nav>
<article class="resource">
- <p>KidsRuby has built-in support to help you program robots.</p>
- <p>You must have one of the following supported hardware devices to use KidsRuby robotics:</p>
+ <p>KidsRubyでロボットをプログラムすることができます。</p>
+ <p>サポートされている次のハードウェアのいずれかで、KidsRubyを使ったロボットプログラミングができます:</p>
<ol>
- <li><a href="sphero.html">Sphero</a></li>
+ <li><a href="sphero.html">Sphero(スフィーロ)</a></li>
</ol>
</article>
</body>
View
29 public/help/ja/robots/sphero.html
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>Sphero</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>Sphero(スフィーロ)</title><!-- Load styles --><!-- Load js -->
- <!-- Load styles -->
+
<link rel="stylesheet" href="../../../css/blitzer/jquery-ui-1.8.16.custom.css" type="text/css" media="screen" title="style" charset="utf-8">
<link rel="stylesheet" href="../../../css/master.css" type="text/css" media="screen" title="style" charset="utf-8">
<link rel="stylesheet" href="../../../css/jquery.snippet.min.css" type="text/css" media="screen" title="style" charset="utf-8">
- <!-- Load js -->
+
<script type="text/javascript" src="../../../js/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../../js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="../../../js/jquery/jquery.snippet.min.js"></script>
@@ -20,24 +20,23 @@
</script>
</head>
<body class="lesson-set">
- <h1>Sphero</h1>
+ <h1>Sphero(スフィーロ)</h1>
<nav id="top">
- <a href="../index.html">Back to Main</a>
+ <a href="../index.html">戻る</a>
</nav>
<article class="resource">
- <p>KidsRuby lets you program the Sphero (http://gosphero.com) robotic ball.</p>
- <p>If you are on OSX or Linux, you will need to know the three letter device ID that is the "name" of your Sphero, for example, "GBY".</p>
- <p>If you are on Windows, you will need to know which COM port has been assigned to the Bluetooth connection to your Sphero, for example, "COM6".</p>
- <p>You will need this information to program your Sphero, in order to tell it what to do. You can start by entering this little bit of Ruby code into the editor to the left:</p>
+ <p>KidsRubyで、Sphero (http://gosphero.com) ロボット ボールをプログラムできます。</p>
+ <p>OSXやLinuxを使用している場合は、デバイスIDが必要です。これはSpheroの名前で、”GBY"のように3文字で表されています。</p>
+ <p>Windowsを使用している場合は、Spheroが接続されているBluetooth接続に割り当てられているCOMポート名(例:COM6)が必要です。</p>
+ <p>Spheroをプログラムして思い通りに動かすには、こうします。左のエディタに、次のRubyコードを入力してプログラムを始めます:</p>
<pre id="code-1-1" class="sampleCode">Code automatically inserted here...</pre>
- <p>Make sure you change the parameter to the <code>Sphero.start</code> method to whatever is needed to connect to your own Sphero.</p>
- <p>To start your Sphero robot, once you have the correct connection info, and have typed in your program, just click on the "Run" button. It might take a moment to connect.</p>
+ <p>Spheroに接続するのに必要な<code>Sphero.start</code>メソッドのパラメータを、それぞれの環境にあわせて変更する必要があります。</p>
+ <p>接続のための情報を正しく変更し、プログラムを入力して、「動かす」ボタンをクリックするとSpheroロボットが動きだします。接続に少し時間がかかる場合があります。</p>
<p>
- Here is the full list of commands that can use to control your Sphero:
- <a href="sphero_commands.html">Sphero Commands</a></p>
+ これはSpheroをコントロールするのに使える、すべてのコマンドの一覧です: <a href="sphero_commands.html">Spheroコマンド</a></p>
<p>
- <a href="../index.html">Back to Main</a>
+ <a href="../index.html">戻る</a>
</p>
</article>
</body>
View
57 public/help/ja/robots/sphero_commands.html
@@ -1,77 +1,76 @@
<!DOCTYPE html>
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>Sphero Commands</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>Spheroコマンド</title><!-- Load styles --><!-- Load js -->
- <!-- Load styles -->
+
<link rel="stylesheet" href="../../../css/blitzer/jquery-ui-1.8.16.custom.css" type="text/css" media="screen" title="style" charset="utf-8">
<link rel="stylesheet" href="../../../css/master.css" type="text/css" media="screen" title="style" charset="utf-8">
- <!-- Load js -->
+
<script type="text/javascript" src="../../../js/jquery/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="../../../js/jquery/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="../../../js/lessons.js"></script>
</head>
<body class="lesson-set">
- <h1>Sphero Commands</h1>
+ <h1>Spheroコマンド</h1>
<nav id="top">
- <a href="index.html">Back to Robots</a>
- <a href="sphero.html">Back to Sphero</a>
+ <a href="index.html">ロボットに戻る</a> <a href="sphero.html">Spheroに戻る</a>
</nav>
- <p>The following list of commands can be used with your Sphero:</p>
+ <p>この一覧にあるコマンドをSpheroに使うことができます:</p>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>Sphero.start(port) do...end</h3>
- <p>Connects to Sphero and starts to execute the commands between 'do' and 'end'</p>
- <p>port - how to connect to a particular Sphero</p>
+ <p>Spheroに接続して、'do''end'の間にあるコマンドを実行する</p>
+ <p>port - Spheroへの接続方法</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>roll speed, heading</h3>
- <p>Makes Sphero start to roll in a particular direction</p>
- <p>speed - a number between 0 and 255</p>
- <p>heading - a number from 0 to 359 for which direction to go in</p>
+ <p>指定した方向にSpheroをころがす</p>
+ <p>speed - 速度で0から255の数</p>
+ <p>heading - 方向で0から359の数</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>stop</h3>
- <p>Makes Sphero stop</p>
+ <p>Spheroを止める</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>heading= h</h3>
- <p>Makes Sphero change direction when already rolling</p>
- <p>h - a number from 0 to 359 for which direction to go in</p>
+ <p>ころがっているときにSpheroの向きをかえる</p>
+ <p>h - 方向で0から359の数</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>rgb r, g, b</h3>
- <p>Changes Sphero LED color</p>
- <p>r - a number between 0 and 255</p>
- <p>g - a number between 0 and 255</p>
- <p>b - a number between 0 and 255</p>
+ <p>SpheroのLEDの色を変える</p>
+ <p>r - 赤の明るさで0から255の数</p>
+ <p>g - 緑の明るさで0から255の数</p>
+ <p>b - 青の明るさで0から255の数</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>keep_going duration</h3>
- <p>Tells Sphero to keep doing what it is already doing for a certain amount of time</p>
- <p>duration - a number for how many seconds to continue</p>
+ <p>Spheroがしていることを、指定した時間続ける</p>
+ <p>duration - 続ける時間(秒)</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>ping</h3>
- <p>Pings Sphero to see if it is responding</p>
+ <p>Spheroが応答するかを確認する</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>FORWARD</h3>
- <p>A constant value, same as 0</p>
+ <p>「前」を表す定数で0と同じ</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>BACKWARD</h3>
- <p>A constant value, same as 180</p>
+ <p>「後ろ」を表す定数で180と同じ</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>RIGHT</h3>
- <p>A constant value, same as 90</p>
+ <p>「右」を表す定数で90と同じ</p>
</div>
<div style="background: rgb(240, 248, 255); color: black" class="color">
<h3>LEFT</h3>
- <p>A constant value, same as 270</p>
+ <p>「左」を表す定数で270と同じ</p>
</div>
- <p>There are more commands, but these are the most important. For more information, take a look at the Sphero gem documentation on Github.</p>
- <a href="../index.html">Back to Main</a>
+ <p>他にもコマンドがありますが、これらは最も重要なコマンドです。詳細は、GithubのSphero gemのドキュメントを参照してください。</p>
+ <a href="../index.html">戻る</a>
</body>
</html>

0 comments on commit 5ff0539

Please sign in to comment.
Something went wrong with that request. Please try again.