Skip to content

Commit

Permalink
tutorial: Add Japanese translation
Browse files Browse the repository at this point in the history
  • Loading branch information
gifnksm committed Aug 12, 2013
1 parent e4cfb1d commit 8e1440c
Show file tree
Hide file tree
Showing 9 changed files with 1,474 additions and 99 deletions.
15 changes: 14 additions & 1 deletion doc/po/ja/rust.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/rust.md:7
Expand Down Expand Up @@ -2510,6 +2510,9 @@ msgid ""
"values of subtrait-bound type parameters. Refering to the previous example "
"of `trait Circle : Shape`:"
msgstr ""
"型パラメータを持つ関数では、サブトレイトの境界型パラメータの値によりスーパー"
"トレイトのメソッドを呼び出すことになります。前の例の `trait Circle : Shape` "
"を参照してください。"

#. type: Plain text
#: doc/rust.md:1286 doc/tutorial.md:2185
Expand All @@ -2524,11 +2527,21 @@ msgid ""
"}\n"
"~~~\n"
msgstr ""
"~~~\n"
"# trait Shape { fn area(&self) -> float; }\n"
"# trait Circle : Shape { fn radius(&self) -> float; }\n"
"fn radius_times_area<T: Circle>(c: T) -> float {\n"
" // `c` は Circle でもあり、Shape でもある\n"
" c.radius() * c.area()\n"
"}\n"
"~~~\n"

#. type: Plain text
#: doc/rust.md:1288 doc/tutorial.md:2187
msgid "Likewise, supertrait methods may also be called on trait objects."
msgstr ""
"同様に、スーパートレイトのメソッドは、トレイトオブジェクトについても呼び出す"
"ことが可能です。"

#. type: Plain text
#: doc/rust.md:1295
Expand Down
4 changes: 2 additions & 2 deletions doc/po/ja/rustpkg.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-07-30 07:07+0900\n"
"PO-Revision-Date: 2013-07-30 07:07+0900\n"
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ja\n"
Expand All @@ -21,7 +21,7 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/rust.md:30 doc/rustpkg.md:8
Expand Down
5 changes: 3 additions & 2 deletions doc/po/ja/tutorial-borrowed-ptr.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-07-22 23:37+0900\n"
"PO-Revision-Date: 2013-07-22 23:37+0900\n"
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ja\n"
Expand All @@ -21,12 +21,13 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/tutorial.md:1108 doc/tutorial-borrowed-ptr.md:72
msgid "Now we can call `compute_distance()` in various ways:"
msgstr ""
"上記の `compute_distance()` 関数は、様々な方法で呼び出すことができます。"

#. type: Plain text
#: doc/tutorial-borrowed-ptr.md:2
Expand Down
2 changes: 1 addition & 1 deletion doc/po/ja/tutorial-container.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-08-05 19:40+0900\n"
"PO-Revision-Date: 2013-08-05 19:40+0900\n"
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ja\n"
Expand Down
4 changes: 2 additions & 2 deletions doc/po/ja/tutorial-ffi.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/tutorial.md:868 doc/tutorial-ffi.md:143
msgid "# Destructors"
msgstr ""
msgstr "# デストラクタ"

#. type: Plain text
#: doc/tutorial-ffi.md:2
Expand Down
6 changes: 3 additions & 3 deletions doc/po/ja/tutorial-macros.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-07-22 23:37+0900\n"
"PO-Revision-Date: 2013-07-22 23:37+0900\n"
"POT-Creation-Date: 2013-07-28 20:32+0900\n"
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ja\n"
Expand All @@ -21,7 +21,7 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/rust.md:2136 doc/rust.md:2223 doc/tutorial-macros.md:323
Expand Down
4 changes: 2 additions & 2 deletions doc/po/ja/tutorial-tasks.md.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-08-08 22:27+0900\n"
"PO-Revision-Date: 2013-08-08 22:27+0900\n"
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ja\n"
Expand All @@ -21,7 +21,7 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
msgid "# Introduction"
msgstr ""
msgstr "# イントロダクション"

#. type: Plain text
#: doc/rust.md:1952 doc/tutorial-tasks.md:648
Expand Down
Loading

0 comments on commit 8e1440c

Please sign in to comment.