Skip to content

Commit 8e1440c

Browse files
committed
tutorial: Add Japanese translation
1 parent e4cfb1d commit 8e1440c

9 files changed

+1474
-99
lines changed

doc/po/ja/rust.md.po

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ msgstr ""
2626
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2727
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2828
msgid "# Introduction"
29-
msgstr ""
29+
msgstr "# イントロダクション"
3030

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

25142517
#. type: Plain text
25152518
#: doc/rust.md:1286 doc/tutorial.md:2185
@@ -2524,11 +2527,21 @@ msgid ""
25242527
"}\n"
25252528
"~~~\n"
25262529
msgstr ""
2530+
"~~~\n"
2531+
"# trait Shape { fn area(&self) -> float; }\n"
2532+
"# trait Circle : Shape { fn radius(&self) -> float; }\n"
2533+
"fn radius_times_area<T: Circle>(c: T) -> float {\n"
2534+
" // `c` は Circle でもあり、Shape でもある\n"
2535+
" c.radius() * c.area()\n"
2536+
"}\n"
2537+
"~~~\n"
25272538

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

25332546
#. type: Plain text
25342547
#: doc/rust.md:1295

doc/po/ja/rustpkg.md.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Rust 0.8-pre\n"
99
"POT-Creation-Date: 2013-07-30 07:07+0900\n"
10-
"PO-Revision-Date: 2013-07-30 07:07+0900\n"
10+
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ja\n"
@@ -21,7 +21,7 @@ msgstr ""
2121
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2222
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2323
msgid "# Introduction"
24-
msgstr ""
24+
msgstr "# イントロダクション"
2525

2626
#. type: Plain text
2727
#: doc/rust.md:30 doc/rustpkg.md:8

doc/po/ja/tutorial-borrowed-ptr.md.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Rust 0.8-pre\n"
99
"POT-Creation-Date: 2013-07-22 23:37+0900\n"
10-
"PO-Revision-Date: 2013-07-22 23:37+0900\n"
10+
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ja\n"
@@ -21,12 +21,13 @@ msgstr ""
2121
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2222
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2323
msgid "# Introduction"
24-
msgstr ""
24+
msgstr "# イントロダクション"
2525

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

3132
#. type: Plain text
3233
#: doc/tutorial-borrowed-ptr.md:2

doc/po/ja/tutorial-container.md.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Rust 0.8-pre\n"
99
"POT-Creation-Date: 2013-08-05 19:40+0900\n"
10-
"PO-Revision-Date: 2013-08-05 19:40+0900\n"
10+
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ja\n"

doc/po/ja/tutorial-ffi.md.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ msgstr ""
2121
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2222
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2323
msgid "# Introduction"
24-
msgstr ""
24+
msgstr "# イントロダクション"
2525

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

3131
#. type: Plain text
3232
#: doc/tutorial-ffi.md:2

doc/po/ja/tutorial-macros.md.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
msgid ""
77
msgstr ""
88
"Project-Id-Version: Rust 0.8-pre\n"
9-
"POT-Creation-Date: 2013-07-22 23:37+0900\n"
10-
"PO-Revision-Date: 2013-07-22 23:37+0900\n"
9+
"POT-Creation-Date: 2013-07-28 20:32+0900\n"
10+
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ja\n"
@@ -21,7 +21,7 @@ msgstr ""
2121
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2222
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2323
msgid "# Introduction"
24-
msgstr ""
24+
msgstr "# イントロダクション"
2525

2626
#. type: Plain text
2727
#: doc/rust.md:2136 doc/rust.md:2223 doc/tutorial-macros.md:323

doc/po/ja/tutorial-tasks.md.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Rust 0.8-pre\n"
99
"POT-Creation-Date: 2013-08-08 22:27+0900\n"
10-
"PO-Revision-Date: 2013-08-08 22:27+0900\n"
10+
"PO-Revision-Date: 2013-07-28 20:32+0900\n"
1111
"Last-Translator: Automatically generated\n"
1212
"Language-Team: none\n"
1313
"Language: ja\n"
@@ -21,7 +21,7 @@ msgstr ""
2121
#: doc/tutorial-borrowed-ptr.md:4 doc/tutorial-ffi.md:4
2222
#: doc/tutorial-macros.md:4 doc/tutorial-tasks.md:4
2323
msgid "# Introduction"
24-
msgstr ""
24+
msgstr "# イントロダクション"
2525

2626
#. type: Plain text
2727
#: doc/rust.md:1952 doc/tutorial-tasks.md:648

0 commit comments

Comments
 (0)