Skip to content

Commit 8f85ba2

Browse files
Update Translations from Transifex
1 parent 918eb6a commit 8f85ba2

File tree

2 files changed

+137
-2
lines changed

2 files changed

+137
-2
lines changed

.tx/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[main]
22
host = https://www.transifex.com
3-
lang_map = es_MX: es, fr_CA: fr, he_IL: he, tr_TR: tr
3+
lang_map = fr_CA: fr, he_IL: he, tr_TR: tr, es_MX: es
44

55
[o:wpilib:p:frc-docs:r:404]
66
file_filter = locale/<lang>/LC_MESSAGES/404.po

locale/ja/LC_MESSAGES/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.po

Lines changed: 136 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: FIRST Robotics Competition 2023\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2023-08-05 16:03+0000\n"
15+
"POT-Creation-Date: 2023-08-06 16:04+0000\n"
1616
"PO-Revision-Date: 2023-04-28 04:06+0000\n"
1717
"Last-Translator: Jacob Lubecki, 2023\n"
1818
"Language-Team: Japanese (https://app.transifex.com/wpilib/teams/109324/ja/)\n"
@@ -264,3 +264,138 @@ msgstr "CTRE"
264264
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:212
265265
msgid "REV"
266266
msgstr "REV"
267+
268+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:139
269+
msgid ""
270+
"Our code needs to reference the components of WPILib that are used. In C++ "
271+
"this is accomplished using ``#include`` statements; in Java it is done with "
272+
"``import`` statements. The program references classes for ``Joystick`` (for "
273+
"driving), ``PWMSparkMax`` / ``WPI_TalonFX`` / ``CANSparkMax (for controlling"
274+
" motors), ``TimedRobot`` (the base class used for the example), ``Timer`` "
275+
"(used for autonomous), and ``DifferentialDrive`` (for connecting the "
276+
"joystick control to the motors)."
277+
msgstr ""
278+
"コードはWPILibのコンポーネントを参照する必要があります。C++では、 ``#include`` 文を、Javaでは ``import`` "
279+
"文を利用することで行なえます。プログラムは、次のようなクラスを参照しています: ``Joystick`` (運転用), ``PWMSparkMax`` "
280+
"/ ``WPI_TalonFX`` / ``CANSparkMax`` (モータの制御用), ``TimedRobot`` (例のための基本クラス), "
281+
"``Timer`` (自動制御用), と ``DifferentialDrive`` (ジョイスティックでのドライブベースの操作用)。"
282+
283+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:142
284+
msgid "Defining the variables for our sample robot"
285+
msgstr "サンプルロボット用の変数の定義"
286+
287+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:251
288+
msgid ""
289+
"The sample robot in our examples will have a joystick on USB port 0 for "
290+
"arcade drive and two motors on PWM ports 0 and 1 (Vendor examples use CAN "
291+
"with IDs 1 and 2). Here we create objects of type DifferentialDrive "
292+
"(m_robotDrive), Joystick (m_stick) and Timer (m_timer). This section of the "
293+
"code does three things:"
294+
msgstr ""
295+
"サンプルロボットには、USBポート0番にarcade "
296+
"drive用のジョイスティックが、PWMポート0番と1番(CANでIDを0と1に設定します)に2つのモーターがあります。そして、DifferentialDrive型(m_robotDrive)、Joystick型(m_stick)、Timer型(m_timer)のオブジェクトを作成しています。このセクションでは、3つのことを行っています:"
297+
298+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:253
299+
msgid "Defines the variables as members of our Robot class."
300+
msgstr "Robotクラスのメンバとして、変数を定義します。"
301+
302+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:254
303+
msgid "Initializes the variables."
304+
msgstr "変数を初期化します。"
305+
306+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:256
307+
msgid ""
308+
"The variable initializations for C++ are in the ``private`` section at the "
309+
"bottom of the program. This means they are private to the class (``Robot``)."
310+
" The C++ code also sets the Motor Safety expiration to 0.1 seconds (the "
311+
"drive will shut off if we don't give it a command every .1 seconds) and "
312+
"starts the ``Timer`` used for autonomous."
313+
msgstr ""
314+
"C++の変数初期化はプログラム下部の ``private`` "
315+
"セクションで行われています。これは、クラス(``Robot``)でプライベートであるということです。C++コードでは、モーター安全期限を0.1秒に設定し(0.1秒以上命令がないとドライブベースは停止します)、自動制御用に"
316+
" ``Timer`` を開始しています。"
317+
318+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:259
319+
msgid "Robot Initialization"
320+
msgstr "ロボットの初期化"
321+
322+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:273
323+
msgid ""
324+
"The ``RobotInit`` method is run when the robot program is starting up, but "
325+
"after the constructor. The ``RobotInit`` for our sample program doesn't do "
326+
"anything. If we wanted to run something here we could provide the code above"
327+
" to override the default)."
328+
msgstr ""
329+
"``RobotInit`` メソッドは、ロボットが起動した際に実行されますが、コンストラクタの実行後です。サンプルプログラムの "
330+
"``RobotInit`` は何もしません。もし何か実行したいことがあれば、コードを書くことが出来ます。"
331+
332+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:276
333+
msgid "Simple Autonomous Example"
334+
msgstr "シンプルなAutonomousの例"
335+
336+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:296
337+
msgid ""
338+
"The ``AutonomousInit`` method is run once each time the robot transitions to"
339+
" autonomous from another mode. In this program, we restart the ``Timer`` in "
340+
"this method."
341+
msgstr ""
342+
"``AutonomousInit`` メソッドは別のモードからAutonomousモードに変化した瞬間に実行されます。このプログラムでは、 "
343+
"``Timer`` をリスタートしています。"
344+
345+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:298
346+
msgid ""
347+
"``AutonomousPeriodic`` is run once every period while the robot is in "
348+
"autonomous mode. In the ``TimedRobot`` class the period is a fixed time, "
349+
"which defaults to 20ms. In this example, the periodic code checks if the "
350+
"timer is less than 2 seconds and if so, drives forward at half speed using "
351+
"the ``ArcadeDrive`` method of the ``DifferentialDrive`` class. If more than "
352+
"2 seconds has elapsed, the code stops the robot drive."
353+
msgstr ""
354+
"``AutonomousPeriodic`` はロボットがAutonomousモードの間、特定の間隔で何回も実行されます。 ``TimedRobot``"
355+
" クラスでは間隔は一定で、デフォルトで20msです。この例では、タイマーが2秒以下であるかをチェックし、もしそうなら "
356+
"``DifferentialDrive`` クラスの ``ArcadeDrive`` "
357+
"メソッドを用いて半分のスピードで前進します。2秒経過したら、ロボットの動きを止めます。"
358+
359+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:301
360+
msgid "Joystick Control for Teleoperation"
361+
msgstr "Teleopでのジョイスティック操作"
362+
363+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:321
364+
msgid ""
365+
"Like in Autonomous, the Teleop mode has a ``TeleopInit`` and "
366+
"``TeleopPeriodic`` function. In this example we don't have anything to do in"
367+
" ``TeleopInit``, it is provided for illustration purposes only. In "
368+
"``TeleopPeriodic``, the code uses the ``ArcadeDrive`` method to map the "
369+
"Y-axis of the ``Joystick`` to forward/back motion of the drive motors and "
370+
"the X-axis to turning motion."
371+
msgstr ""
372+
"Autonomousの様に、Teleopモードには ``TeleopInit`` 関数と ``TeleopPeriodic`` "
373+
"関数があります。この例では、 ``TeleopInit`` では何もしておらず、説明のために記述されているだけです。 "
374+
"``TeleopPeriodic`` では、 ``Joystick`` のY軸をドライブベースの前進/後進に、X軸を回転動作に対応させるため "
375+
"``ArcadeDrive`` メソッドを使用しています。"
376+
377+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:324
378+
msgid "Test Mode"
379+
msgstr "テストモード"
380+
381+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:344
382+
msgid ""
383+
"Test Mode is used for testing robot functionality. Similar to "
384+
"``TeleopInit``, the ``TestInit`` and ``TestPeriodic`` methods are provided "
385+
"here for illustrative purposes only."
386+
msgstr ""
387+
"Testモードはロボットの機能のテストのために使われます。 ``TeleopInit`` と同様に、 ``TestInit`` や "
388+
"``TestPeriodic`` は説明のために記述されています。"
389+
390+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:347
391+
msgid "Deploying the Project to a Robot"
392+
msgstr "ロボットへのデプロイ"
393+
394+
#: ../../frc-docs/source/docs/zero-to-robot/step-4/creating-test-drivetrain-program-cpp-java.rst:349
395+
msgid ""
396+
"Please see the instructions :ref:`here <docs/software/vscode-"
397+
"overview/deploying-robot-code:Building and Deploying Robot Code>` for "
398+
"deploying the program onto a robot."
399+
msgstr ""
400+
"プログラムをデプロイする方法については、 :ref:`こちら <docs/software/vscode-overview/deploying-"
401+
"robot-code:Building and Deploying Robot Code>` を参照してください。"

0 commit comments

Comments
 (0)