6
6
msgid ""
7
7
msgstr ""
8
8
"Project-Id-Version : Rust 0.10-pre\n "
9
- "POT-Creation-Date : 2014-01-13 12:01 +0900\n "
9
+ "POT-Creation-Date : 2014-02-03 08:13 +0900\n "
10
10
"PO-Revision-Date : 2014-01-13 12:01+0900\n "
11
11
"Last-Translator : Automatically generated\n "
12
12
"Language-Team : none\n "
@@ -17,7 +17,20 @@ msgstr ""
17
17
"Plural-Forms : nplurals=1; plural=0;\n "
18
18
19
19
#. type: Plain text
20
- #: doc/complement-cheatsheet.md:13
20
+ #: src/doc/complement-cheatsheet.md:8
21
+ #, fuzzy
22
+ #| msgid ""
23
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
24
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
25
+ msgid ""
26
+ "Use [`ToStr`](http://static.rust-lang.org/doc/master/std/to_str/trait.ToStr."
27
+ "html)."
28
+ msgstr ""
29
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
30
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
31
+
32
+ #. type: Plain text
33
+ #: src/doc/complement-cheatsheet.md:13
21
34
#, fuzzy
22
35
#| msgid ""
23
36
#| "~~~~ let x: f64 = 4.0; let y: uint = x as uint; assert!(y == 4u); ~~~~"
@@ -30,7 +43,7 @@ msgstr ""
30
43
"~~~~"
31
44
32
45
#. type: Plain text
33
- #: doc/complement-cheatsheet.md:17
46
+ #: src/ doc/complement-cheatsheet.md:17
34
47
#, fuzzy
35
48
#| msgid ""
36
49
#| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
@@ -44,7 +57,7 @@ msgstr ""
44
57
"[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
45
58
46
59
#. type: Plain text
47
- #: doc/complement-cheatsheet.md:22
60
+ #: src/ doc/complement-cheatsheet.md:22
48
61
#, fuzzy
49
62
#| msgid ""
50
63
#| "~~~~ let x: f64 = 4.0; let y: uint = x as uint; assert!(y == 4u); ~~~~"
@@ -57,7 +70,20 @@ msgstr ""
57
70
"~~~~"
58
71
59
72
#. type: Plain text
60
- #: doc/complement-cheatsheet.md:29
73
+ #: src/doc/complement-cheatsheet.md:26
74
+ #, fuzzy
75
+ #| msgid ""
76
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
77
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
78
+ msgid ""
79
+ "Use [`ToStrRadix`](http://static.rust-lang.org/doc/master/std/num/trait."
80
+ "ToStrRadix.html)."
81
+ msgstr ""
82
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
83
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
84
+
85
+ #. type: Plain text
86
+ #: src/doc/complement-cheatsheet.md:29
61
87
#, fuzzy
62
88
#| msgid "~~~~ use std::task::spawn;"
63
89
msgid "~~~ use std::num::ToStrRadix;"
@@ -66,7 +92,7 @@ msgstr ""
66
92
"use std::task::spawn;"
67
93
68
94
#. type: Plain text
69
- #: doc/complement-cheatsheet.md:33
95
+ #: src/ doc/complement-cheatsheet.md:33
70
96
#, fuzzy
71
97
#| msgid ""
72
98
#| "~~~~ let x: f64 = 4.0; let y: uint = x as uint; assert!(y == 4u); ~~~~"
@@ -79,7 +105,7 @@ msgstr ""
79
105
"~~~~"
80
106
81
107
#. type: Plain text
82
- #: doc/complement-cheatsheet.md:37
108
+ #: src/ doc/complement-cheatsheet.md:37
83
109
#, fuzzy
84
110
#| msgid ""
85
111
#| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
@@ -93,7 +119,7 @@ msgstr ""
93
119
"[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
94
120
95
121
#. type: Plain text
96
- #: doc/complement-cheatsheet.md:40
122
+ #: src/ doc/complement-cheatsheet.md:40
97
123
#, fuzzy
98
124
#| msgid "~~~~ use std::task::spawn;"
99
125
msgid "~~~ use std::num::from_str_radix;"
@@ -102,14 +128,44 @@ msgstr ""
102
128
"use std::task::spawn;"
103
129
104
130
#. type: Plain text
105
- #: doc/complement-cheatsheet.md:46
131
+ #: src/doc/complement-cheatsheet.md:44
132
+ #, fuzzy
133
+ #| msgid ""
134
+ #| "~~~~ let x: f64 = 4.0; let y: uint = x as uint; assert!(y == 4u); ~~~~"
135
+ msgid ""
136
+ "let x: Option<i64> = from_str_radix(\" deadbeef\" , 16); let y: i64 = x."
137
+ "unwrap(); ~~~"
138
+ msgstr ""
139
+ "~~~~\n"
140
+ "let x: f64 = 4.0;\n"
141
+ "let y: uint = x as uint;\n"
142
+ "assert!(y == 4u);\n"
143
+ "~~~~"
144
+
145
+ #. type: Plain text
146
+ #: src/doc/complement-cheatsheet.md:46
106
147
#, fuzzy
107
148
#| msgid "## Operators"
108
149
msgid "# File operations"
109
150
msgstr "## 演算子"
110
151
111
152
#. type: Plain text
112
- #: doc/complement-cheatsheet.md:54
153
+ #: src/doc/complement-cheatsheet.md:50
154
+ #, fuzzy
155
+ #| msgid ""
156
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
157
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
158
+ msgid ""
159
+ "Use [`File::open`](http://static.rust-lang.org/doc/master/std/io/fs/struct."
160
+ "File.html#method.open) to create a [`File`](http://static.rust-lang.org/doc/"
161
+ "master/std/io/fs/struct.File.html) struct, which implements the [`Reader`]"
162
+ "(http://static.rust-lang.org/doc/master/std/io/trait.Reader.html) trait."
163
+ msgstr ""
164
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
165
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
166
+
167
+ #. type: Plain text
168
+ #: src/doc/complement-cheatsheet.md:54
113
169
#, fuzzy
114
170
#| msgid "~~~~ use std::task::spawn;"
115
171
msgid "~~~ {.ignore} use std::path::Path; use std::io::fs::File;"
@@ -118,7 +174,7 @@ msgstr ""
118
174
"use std::task::spawn;"
119
175
120
176
#. type: Plain text
121
- #: doc/complement-cheatsheet.md:63
177
+ #: src/ doc/complement-cheatsheet.md:63
122
178
#, fuzzy
123
179
#| msgid ""
124
180
#| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
@@ -132,21 +188,145 @@ msgstr ""
132
188
"[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
133
189
134
190
#. type: Plain text
135
- #: doc/complement-cheatsheet.md:77
191
+ #: src/doc/complement-cheatsheet.md:67
192
+ #, fuzzy
193
+ #| msgid "~~~~ use std::task::spawn;"
194
+ msgid "~~~ use std::io::BufferedReader; # use std::io::MemReader;"
195
+ msgstr ""
196
+ "~~~~\n"
197
+ "use std::task::spawn;"
198
+
199
+ #. type: Plain text
200
+ #: src/doc/complement-cheatsheet.md:77
136
201
#, fuzzy
137
202
#| msgid "## Using other crates"
138
203
msgid "# String operations"
139
204
msgstr "## 他のクレートの利用"
140
205
141
206
#. type: Plain text
142
- #: doc/complement-cheatsheet.md:88 doc/guide-container.md:4
207
+ #: src/doc/complement-cheatsheet.md:81
208
+ #, fuzzy
209
+ #| msgid ""
210
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
211
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
212
+ msgid ""
213
+ "Use the [`find_str`](http://static.rust-lang.org/doc/master/std/str/trait."
214
+ "StrSlice.html#tymethod.find_str) method."
215
+ msgstr ""
216
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
217
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
218
+
219
+ #. type: Plain text
220
+ #: src/doc/complement-cheatsheet.md:88 src/doc/guide-container.md:4
143
221
#, fuzzy
144
222
msgid "# Containers"
145
223
msgstr "## 本書の表記について"
146
224
147
225
#. type: Plain text
148
- #: doc/complement-cheatsheet.md:176
226
+ #: src/doc/complement-cheatsheet.md:92
227
+ #, fuzzy
228
+ #| msgid ""
229
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
230
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
231
+ msgid ""
232
+ "The [`Container`](http://static.rust-lang.org/doc/master/std/container/trait."
233
+ "Container.html) trait provides the `len` method."
234
+ msgstr ""
235
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
236
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
237
+
238
+ #. type: Plain text
239
+ #: src/doc/complement-cheatsheet.md:104
240
+ #, fuzzy
241
+ #| msgid ""
242
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
243
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
244
+ msgid ""
245
+ "Use the [`iter`](http://static.rust-lang.org/doc/master/std/vec/trait."
246
+ "ImmutableVector.html#tymethod.iter) method."
247
+ msgstr ""
248
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
249
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
250
+
251
+ #. type: Plain text
252
+ #: src/doc/complement-cheatsheet.md:113
253
+ #, fuzzy
254
+ #| msgid ""
255
+ #| "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz [win-exe]: "
256
+ #| "http://static.rust-lang.org/dist/rust-0.7-install.exe"
257
+ msgid ""
258
+ "(See also [`mut_iter`](http://static.rust-lang.org/doc/master/std/vec/trait."
259
+ "MutableVector.html#tymethod.mut_iter) which yields `&mut int` and "
260
+ "[`move_iter`](http://static.rust-lang.org/doc/master/std/vec/trait."
261
+ "OwnedVector.html#tymethod.move_iter) which yields `int` while consuming the "
262
+ "`values` vector.)"
263
+ msgstr ""
264
+ "[tarball]: http://static.rust-lang.org/dist/rust-0.7.tar.gz\n"
265
+ "[win-exe]: http://static.rust-lang.org/dist/rust-0.7-install.exe"
266
+
267
+ #. type: Plain text
268
+ #: src/doc/complement-cheatsheet.md:115 src/doc/rust.md:3019
269
+ #, fuzzy
270
+ msgid "# Type system"
271
+ msgstr "## タプル"
272
+
273
+ #. type: Plain text
274
+ #: src/doc/complement-cheatsheet.md:122
275
+ #, fuzzy , no-wrap
276
+ #| msgid "~~~~ {.ignore} // main.rs extern mod world; fn main() { println(~\"hello \" + world::explore()); } ~~~~"
277
+ msgid ""
278
+ "~~~\n"
279
+ "struct Foo {\n"
280
+ " myfunc: fn(int, uint) -> i32\n"
281
+ "}\n"
282
+ msgstr ""
283
+ "~~~~ {.ignore}\n"
284
+ "// main.rs\n"
285
+ "extern mod world;\n"
286
+ "fn main() { println(~\" hello \" + world::explore()); }\n"
287
+ "~~~~"
288
+
289
+ #. type: Plain text
290
+ #: src/doc/complement-cheatsheet.md:130
291
+ #, fuzzy , no-wrap
292
+ #| msgid "~~~~ fn line(a: int, b: int, x: int) -> int { a * x + b } fn oops(a: int, b: int, x: int) -> () { a * x + b; }"
293
+ msgid ""
294
+ "fn a(a: int, b: uint) -> i32 {\n"
295
+ " (a as uint + b) as i32\n"
296
+ "}\n"
297
+ msgstr ""
298
+ "~~~~\n"
299
+ "fn line(a: int, b: int, x: int) -> int { a * x + b }\n"
300
+ "fn oops(a: int, b: int, x: int) -> () { a * x + b; }"
301
+
302
+ #. type: Plain text
303
+ #: src/doc/complement-cheatsheet.md:138
304
+ #, fuzzy , no-wrap
305
+ #| msgid "~~~~ {.ignore} # struct Point { x: f64, y: f64 } let mut mypoint = Point { x: 1.0, y: 1.0 }; let origin = Point { x: 0.0, y: 0.0 };"
306
+ msgid ""
307
+ "fn main() {\n"
308
+ " let f = Foo { myfunc: a };\n"
309
+ " let g = FooClosure { myfunc: |a, b| { (a - b as int) as i32 } };\n"
310
+ " println!(\" {}\" , (f.myfunc)(1, 2));\n"
311
+ " println!(\" {}\" , (g.myfunc)(3, 4));\n"
312
+ "}\n"
313
+ "~~~\n"
314
+ msgstr ""
315
+ "~~~~ {.ignore}\n"
316
+ "# struct Point { x: f64, y: f64 }\n"
317
+ "let mut mypoint = Point { x: 1.0, y: 1.0 };\n"
318
+ "let origin = Point { x: 0.0, y: 0.0 };"
319
+
320
+ #. type: Plain text
321
+ #: src/doc/complement-cheatsheet.md:176
149
322
#, fuzzy
150
323
#| msgid "[The foreign function interface][ffi]"
151
324
msgid "# FFI (Foreign Function Interface)"
152
325
msgstr "[他言語間インターフェース (foreign function inferface)][ffi]"
326
+
327
+ #. type: Plain text
328
+ #: src/doc/complement-cheatsheet.md:178
329
+ #, fuzzy
330
+ #| msgid "# Control structures"
331
+ msgid "## C function signature conversions"
332
+ msgstr "# 制御構造"
0 commit comments