Skip to content

Commit

Permalink
Fix type of ja-translate.
Browse files Browse the repository at this point in the history
  • Loading branch information
MinoruInachi committed Jan 23, 2021
1 parent 0296924 commit aac435e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/locale/ja/LC_MESSAGES/i2c.po
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ msgid ""
"Write bytes from ``buf`` to the device with 7-bit address ``addr``. If "
"``repeat`` is ``True``, no stop bit will be sent."
msgstr ""
"7 ビットアドレス ``addr`` のデバイスに ``buf`` の bytes を書き込みます、 "
"7 ビットアドレス ``addr`` のデバイスに ``buf`` のバイト列を書き込みます、 "
"``repeat`` が ``True`` にすると、ストップビットが送られません。"

#: ../../i2c.rst:53
Expand Down
12 changes: 6 additions & 6 deletions docs/locale/ja/LC_MESSAGES/uart.po
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ msgid ""
"Read bytes. If ``nbytes`` is specified then read at most that many "
"bytes, otherwise read as many bytes as possible."
msgstr ""
"bytes を読み込みます。``nbytes`` が指定されていれば、そのバイト数まで読み込みます。"
"バイト列を読み込みます。``nbytes`` が指定されていれば、そのバイト数まで読み込みます。"
"指定されていなければ、できるだけ多く読み込みます。"

#: ../../uart.rst:66
msgid "Return value: a bytes object or ``None`` on timeout."
msgstr "戻り値: bytes オブジェクト、タイムアウトが起きれば ``None`` 。"
msgstr "戻り値: バイト列オブジェクト、タイムアウトが起きれば ``None`` 。"

#: ../../uart.rst:68
msgid ""
Expand All @@ -156,7 +156,7 @@ msgid ""
"offers methods to manipulate it as such, e.g. you can display the "
"text using the ``print()`` function."
msgstr ""
"bytes オブジェクトには一連のバイトが含まれます。`ASCII "
"バイト列オブジェクトにはバイトの列が含まれます。`ASCII "
"<https://en.wikipedia.org/wiki/ASCII>`_ 文字は1バイトに収めることができる"
"ので、このタイプのオブジェクトはしばしば単純なテキストを表現するために使われ、"
"それをそのまま操作する方法を提供します。たとえば `` print()`` 関数を使って"
Expand Down Expand Up @@ -220,7 +220,7 @@ msgid ""
"Read bytes into the ``buf``. If ``nbytes`` is specified then read at "
"most that many bytes. Otherwise, read at most ``len(buf)`` bytes."
msgstr ""
"``buf`` に bytes を読み込みます。``nbytes`` が指定されていれば、"
"``buf`` にバイト列を読み込みます。``nbytes`` が指定されていれば、"
"そのバイト数まで読み込みます。さもなければ ``len(buf)`` のバイト数"
"まで読み込みます。"

Expand All @@ -229,7 +229,7 @@ msgid ""
"Return value: number of bytes read and stored into ``buf`` or ``None`` on"
" timeout."
msgstr ""
"戻り値: 読み込んで ``buf`` に格納したバイト数。タイムアウト時は ``None`` 。"
"戻り値: ``buf`` に読み込んで格納したバイト数。タイムアウト時は ``None`` 。"

#: ../../uart.rst:114
msgid "Read a line, ending in a newline character."
Expand All @@ -244,7 +244,7 @@ msgstr ""

#: ../../uart.rst:121
msgid "Write the buffer to the bus, it can be a bytes object or a string::"
msgstr "バッファをバスにに書き出します。バッファは bytes か文字列です::"
msgstr "バッファをバスにに書き出します。バッファはバイト列か文字列です::"

#: ../../uart.rst:123
msgid ""
Expand Down

0 comments on commit aac435e

Please sign in to comment.