Update to 0.11.0
This commit is contained in:
parent
1fefa5b514
commit
aa1163b92d
47 changed files with 88 additions and 80 deletions
|
|
@ -53,12 +53,12 @@ To generate .pot and .po files, do something like:
|
|||
~~~~
|
||||
po4a --copyright-holder="The Rust Project Developers" \
|
||||
--package-name="Rust" \
|
||||
--package-version="0.11.0-pre" \
|
||||
--package-version="0.11.0" \
|
||||
-M UTF-8 -L UTF-8 \
|
||||
src/doc/po4a.conf
|
||||
~~~~
|
||||
|
||||
(the version number must be changed if it is not 0.11.0-pre now.)
|
||||
(the version number must be changed if it is not 0.11.0 now.)
|
||||
|
||||
Now you can translate documents with .po files, commonly used with gettext. If
|
||||
you are not familiar with gettext-based translation, please read the online
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ an uninstall option.
|
|||
|
||||
You can re-run this script any time you want to update Rust. Which, at this
|
||||
point, is often. Rust is still pre-1.0, and so people assume that you're using
|
||||
a very recent Rust.
|
||||
a very recent Rust.
|
||||
|
||||
This brings me to one other point: some people, and somewhat rightfully so, get
|
||||
very upset when we tell you to `curl | sudo sh`. And they should be! Basically,
|
||||
|
|
@ -168,7 +168,7 @@ Success! Let's go over what just happened in detail.
|
|||
|
||||
```
|
||||
fn main() {
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -394,7 +394,7 @@ Once you have this file in place, we should be ready to build! Try this:
|
|||
```{bash}
|
||||
$ cargo build
|
||||
Compiling hello_world v0.1.0 (file:/home/yourname/projects/hello_world)
|
||||
$ ./target/hello_world
|
||||
$ ./target/hello_world
|
||||
Hello, world!
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue