Skip to content

Commit b9f2b9e

Browse files
committed
Merge pull request #52 from dalance/nightly-rust
6. Nightly Rust
2 parents 7e2d575 + d8e5276 commit b9f2b9e

File tree

2 files changed

+77
-47
lines changed

2 files changed

+77
-47
lines changed

1.6/ja/book/nightly-rust.md

Lines changed: 67 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
% Nightly Rust
2+
<!-- % Nightly Rust -->
23

3-
Rust provides three distribution channels for Rust: nightly, beta, and stable.
4-
Unstable features are only available on nightly Rust. For more details on this
5-
process, see ‘[Stability as a deliverable][stability]’.
4+
<!-- Rust provides three distribution channels for Rust: nightly, beta, and stable. -->
5+
<!-- Unstable features are only available on nightly Rust. For more details on this -->
6+
<!-- process, see ‘[Stability as a deliverable][stability]’. -->
7+
Rustにはnightly、beta、stableという3種類の配布用チャネルがあります。不安定なフィーチャはnightlyのRustでのみ使えます。詳細は「 [配布物の安定性][stability] 」をご覧ください。
68

79
[stability]: http://blog.rust-lang.org/2014/10/30/Stability.html
810

9-
To install nightly Rust, you can use `rustup.sh`:
11+
<!-- To install nightly Rust, you can use `rustup.sh`: -->
12+
nightlyのRustをインストールするには `rustup.sh` を使って以下のようにします。
1013

1114
```bash
1215
$ curl -s https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
1316
```
1417

15-
If you're concerned about the [potential insecurity][insecurity] of using `curl
16-
| sh`, please keep reading and see our disclaimer below. And feel free to
17-
use a two-step version of the installation and examine our installation script:
18+
<!-- If you're concerned about the [potential insecurity][insecurity] of using `curl -->
19+
<!-- | sh`, please keep reading and see our disclaimer below. And feel free to -->
20+
<!-- use a two-step version of the installation and examine our installation script: -->
21+
もし `curl | sh` の使用による [潜在的な危険性][insecurity] が気になる場合は、この後の注意書きまで読み進めてください。また、以下のように2段階のインストール方法を用い、インストールスクリプトを精査しても構いません。
1822

1923
```bash
2024
$ curl -f -L https://static.rust-lang.org/rustup.sh -O
@@ -23,75 +27,91 @@ $ sh rustup.sh --channel=nightly
2327

2428
[insecurity]: http://curlpipesh.tumblr.com
2529

26-
If you're on Windows, please download either the [32-bit installer][win32] or
27-
the [64-bit installer][win64] and run it.
30+
<!-- If you're on Windows, please download either the [32-bit installer][win32] or -->
31+
<!-- the [64-bit installer][win64] and run it. -->
32+
Windowsの場合は [32bit版インストーラ][win32] あるいは [64bit版インストーラ][win64] をダウンロードして実行してください。
2833

2934
[win32]: https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.msi
3035
[win64]: https://static.rust-lang.org/dist/rust-nightly-x86_64-pc-windows-gnu.msi
3136

32-
## Uninstalling
37+
<!-- ## Uninstalling -->
38+
## アンインストール
3339

34-
If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay.
35-
Not every programming language is great for everyone. Just run the uninstall
36-
script:
40+
<!-- If you decide you don't want Rust anymore, we'll be a bit sad, but that's okay. -->
41+
<!-- Not every programming language is great for everyone. Just run the uninstall -->
42+
<!-- script: -->
43+
もしRustが不要だと判断した場合、残念ですが仕方がありません。万人に気に入られるプログラミング言語ばかりとは限らないのです。アンインストールするには以下を実行します。
3744

3845
```bash
3946
$ sudo /usr/local/lib/rustlib/uninstall.sh
4047
```
4148

42-
If you used the Windows installer, just re-run the `.msi` and it will give you
43-
an uninstall option.
49+
<!-- If you used the Windows installer, just re-run the `.msi` and it will give you -->
50+
<!-- an uninstall option. -->
51+
Windows用のインストーラを使用した場合は、 `.msi` を再実行しアンインストールオプションを選択してください。
4452

45-
Some people, and somewhat rightfully so, get very upset when we tell you to
46-
`curl | sh`. Basically, when you do this, you are trusting that the good
47-
people who maintain Rust aren't going to hack your computer and do bad things.
48-
That's a good instinct! If you're one of those people, please check out the
49-
documentation on [building Rust from Source][from-source], or [the official
50-
binary downloads][install-page].
53+
<!-- Some people, and somewhat rightfully so, get very upset when we tell you to -->
54+
<!-- `curl | sh`. Basically, when you do this, you are trusting that the good -->
55+
<!-- people who maintain Rust aren't going to hack your computer and do bad things. -->
56+
<!-- That's a good instinct! If you're one of those people, please check out the -->
57+
<!-- documentation on [building Rust from Source][from-source], or [the official -->
58+
<!-- binary downloads][install-page]. -->
59+
`curl | sh` を行うように書いたことについて、(当然のことですが)戸惑った方がいるかもしれません。基本的に `curl | sh` を行うということは、Rustをメンテナンスしている善良な人々がコンピュータのハッキングなど何か悪いことをしたりしないと信用する、ということです。ですので戸惑った方はよい直感を持っているといえます。そのような方は [ソースコードからのRustビルド][from-source] あるいは [公式バイナリのダウンロード][install-page] を確認してください。
5160

5261
[from-source]: https://github.com/rust-lang/rust#building-from-source
5362
[install-page]: https://www.rust-lang.org/install.html
5463

55-
Oh, we should also mention the officially supported platforms:
64+
<!-- Oh, we should also mention the officially supported platforms: -->
65+
ここで公式にサポートするプラットフォームについても述べておきます。
5666

57-
* Windows (7, 8, Server 2008 R2)
58-
* Linux (2.6.18 or later, various distributions), x86 and x86-64
59-
* OSX 10.7 (Lion) or greater, x86 and x86-64
67+
<!-- * Windows (7, 8, Server 2008 R2) -->
68+
<!-- * Linux (2.6.18 or later, various distributions), x86 and x86-64 -->
69+
<!-- * OSX 10.7 (Lion) or greater, x86 and x86-64 -->
70+
* Windows (7、8、Server 2008 R2)
71+
* Linux (2.6.18以上の各ディストリビューション)、x86 及び x86-64
72+
* OSX 10.7 (Lion)以上、x86 及び x86-64
6073

61-
We extensively test Rust on these platforms, and a few others, too, like
62-
Android. But these are the ones most likely to work, as they have the most
63-
testing.
74+
<!-- We extensively test Rust on these platforms, and a few others, too, like -->
75+
<!-- Android. But these are the ones most likely to work, as they have the most -->
76+
<!-- testing. -->
77+
Rustではこれらのプラットフォームの他、Androidなどいくつかのプラットフォームについても幅広いテストが行われています。しかし、後者については(訳注:実環境での使用実績が少ないという意味で)テストし尽くされているとは言えず、ほとんどの場合動くだろう、という状態です。
6478

65-
Finally, a comment about Windows. Rust considers Windows to be a first-class
66-
platform upon release, but if we're honest, the Windows experience isn't as
67-
integrated as the Linux/OS X experience is. We're working on it! If anything
68-
does not work, it is a bug. Please let us know if that happens. Each and every
69-
commit is tested against Windows just like any other platform.
79+
<!-- Finally, a comment about Windows. Rust considers Windows to be a first-class -->
80+
<!-- platform upon release, but if we're honest, the Windows experience isn't as -->
81+
<!-- integrated as the Linux/OS X experience is. We're working on it! If anything -->
82+
<!-- does not work, it is a bug. Please let us know if that happens. Each and every -->
83+
<!-- commit is tested against Windows just like any other platform. -->
84+
最後にWindowsについてです。RustはWindowsをリリースする上での1級プラットフォームだと考えています。しかし、正直なところ、Windowsでの使い勝手はLinux/OS Xのそれと同等というわけではありません。(そうなるように努力しています!) もしうまく動かないことがあれば、それはバグですのでお知らせください。全てのコミットは他のプラットフォームと同様にWindowsに対してもテストされています。
7085

71-
If you've got Rust installed, you can open up a shell, and type this:
86+
<!-- If you've got Rust installed, you can open up a shell, and type this: -->
87+
Rustのインストールが終われば、シェルを開いて以下のように入力してください。
7288

7389
```bash
7490
$ rustc --version
7591
```
7692

77-
You should see the version number, commit hash, commit date and build date:
93+
<!-- You should see the version number, commit hash, commit date and build date: -->
94+
バージョン番号、コミットハッシュ、コミット日時、ビルド日時が表示されるはずです。
7895

7996
```bash
8097
rustc 1.0.0-nightly (f11f3e7ba 2015-01-04) (built 2015-01-06)
8198
```
8299

83-
If you did, Rust has been installed successfully! Congrats!
84-
85-
This installer also installs a copy of the documentation locally, so you can
86-
read it offline. On UNIX systems, `/usr/local/share/doc/rust` is the location.
87-
On Windows, it's in a `share/doc` directory, inside wherever you installed Rust
88-
to.
89-
90-
If not, there are a number of places where you can get help. The easiest is
91-
[the #rust IRC channel on irc.mozilla.org][irc], which you can access through
92-
[Mibbit][mibbit]. Click that link, and you'll be chatting with other Rustaceans
93-
(a silly nickname we call ourselves), and we can help you out. Other great
94-
resources include [the user’s forum][users], and [Stack Overflow][stackoverflow].
100+
<!-- If you did, Rust has been installed successfully! Congrats! -->
101+
これでRustのインストールはうまくいきました!おめでとう!
102+
103+
<!-- This installer also installs a copy of the documentation locally, so you can -->
104+
<!-- read it offline. On UNIX systems, `/usr/local/share/doc/rust` is the location. -->
105+
<!-- On Windows, it's in a `share/doc` directory, inside wherever you installed Rust -->
106+
<!-- to. -->
107+
インストーラはドキュメントのローカルコピーもインストールするので、オフラインでも読むことが出来ます。UNIXシステムでは `/usr/local/share/doc/rust` に、WindowsではRustをインストールしたディレクトリの `share\doc` ディレクトリに配置されます。
108+
109+
<!-- If not, there are a number of places where you can get help. The easiest is -->
110+
<!-- [the #rust IRC channel on irc.mozilla.org][irc], which you can access through -->
111+
<!-- [Mibbit][mibbit]. Click that link, and you'll be chatting with other Rustaceans -->
112+
<!-- (a silly nickname we call ourselves), and we can help you out. Other great -->
113+
<!-- resources include [the user’s forum][users], and [Stack Overflow][stackoverflow]. -->
114+
もし上手くいかないなら様々な場所で助けを得られます。最も簡単なのは [Mibbit][mibbit] からアクセス出来る [irc.mozilla.orgにある#rustチャネル][irc] です。リンクをクリックしたら他のRustacean達(我々のことをふざけてこう呼ぶのです)にチャットで助けを求めることができます。他には [ユーザフォーラム][users][Stack Overflow][stackoverflow] などがあります。
95115

96116
[irc]: irc://irc.mozilla.org/#rust
97117
[mibbit]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust

TranslationTable.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
| block | ブロック
2525
| borrowing | 借用
2626
| bounds | 境界
27+
| channel | チャネル
2728
| capture | キャプチャ
2829
| closure | クロージャ
2930
| coercion | 型強制
@@ -35,6 +36,7 @@
3536
| declaration statement | 宣言文
3637
| dereferencing | 参照外し
3738
| destructuring | 分配
39+
| directory | ディレクトリ
3840
| directive | ディレクティブ
3941
| distribution | 配布物
4042
| diverge | ダイバージ
@@ -48,10 +50,13 @@
4850
| generic parameter | ジェネリックパラメータ
4951
| generics | ジェネリクス
5052
| growable | 伸張可能
53+
| hash | ハッシュ
5154
| identifier | 識別子
5255
| immutable | イミュータブル
5356
| initialize | 初期化する
5457
| input lifetime | 入力ライフタイム
58+
| install | インストール
59+
| installer | インストーラ
5560
| interpolate | インターポーレートする
5661
| interpolation | インターポーレーション
5762
| keyword | キーワード
@@ -71,18 +76,22 @@
7176
| mutable | ミュータブル
7277
| mutability | ミュータビリティ
7378
| mutable binding | ミュータブルな束縛
79+
| offline | オフライン
80+
| option | オプション
7481
| output lifetime | 出力ライフタイム
7582
| owner | 所有者
7683
| ownership | 所有権
7784
| panic | パニック
7885
| parametric polymorphism | パラメトリック多相
7986
| pattern | パターン
8087
| performance | パフォーマンス
88+
| platform | プラットフォーム
8189
| pointer | ポインタ
8290
| re-assignment | 再代入
8391
| rebind | 再束縛
8492
| return | 返す
8593
| scope | スコープ
94+
| script | スクリプト
8695
| shadow | 覆い隠す
8796
| shadowing | シャドーイング
8897
| signature | シグネチャ
@@ -100,6 +109,7 @@
100109
| trait | トレイト
101110
| type inference | 型推論
102111
| type family | 型族
112+
| uninstall | アンインストール
103113
| Universal Function Call Syntax | 共通の関数呼び出し構文
104114
| unsigned | 符号無し
105115
| unsized type | サイズ不定型

0 commit comments

Comments
 (0)