Skip to content

Commit

Permalink
doc: Update .pot files
Browse files Browse the repository at this point in the history
  • Loading branch information
gifnksm committed Aug 12, 2013
1 parent 7b1b7f3 commit 2bc8a9b
Show file tree
Hide file tree
Showing 8 changed files with 1,840 additions and 1,775 deletions.
1,884 changes: 914 additions & 970 deletions doc/po/rust.md.pot

Large diffs are not rendered by default.

60 changes: 34 additions & 26 deletions doc/po/rustpkg.md.pot
Expand Up @@ -7,13 +7,13 @@
msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-07-17 07:18+0900\n"
"POT-Creation-Date: 2013-07-30 07:07+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: Plain text
Expand Down Expand Up @@ -160,7 +160,7 @@ msgid "# Package identifiers"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:79
#: doc/rustpkg.md:87
msgid ""
"A package identifier identifies a package uniquely. A package can be stored "
"in a workspace on the local file system, or on a remote Web server, in which "
Expand All @@ -169,51 +169,59 @@ msgid ""
"github.com/mozilla/rust`. A package ID can also specify a version, like: "
"`github.com/mozilla/rust#0.3`. In this case, `rustpkg` will check that the "
"repository `github.com/mozilla/rust` has a tag named `0.3`, and report an "
"error otherwise."
"error otherwise. A package ID can also specify a particular revision of a "
"repository, like: `github.com/mozilla/rust#release-0.7`. When the refspec "
"(portion of the package ID after the `#`) can't be parsed as a decimal "
"number, rustpkg passes the refspec along to the version control system "
"without interpreting it. rustpkg also interprets any dependencies on such a "
"package ID literally (as opposed to versions, where a newer version "
"satisfies a dependency on an older version). Thus, `github.com/mozilla/"
"rust#5c4cd30f80` is also a valid package ID, since git can deduce that "
"5c4cd30f80 refers to a revision of the desired repository."
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:81
#: doc/rustpkg.md:89
msgid "## Source files"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:83
#: doc/rustpkg.md:91
msgid ""
"rustpkg searches for four different fixed filenames in order to determine "
"the crates to build:"
msgstr ""

#. type: Bullet: '* '
#: doc/rustpkg.md:88
#: doc/rustpkg.md:96
msgid "`main.rs`: Assumed to be a main entry point for building an executable."
msgstr ""

#. type: Bullet: '* '
#: doc/rustpkg.md:88
#: doc/rustpkg.md:96
msgid "`lib.rs`: Assumed to be a library crate."
msgstr ""

#. type: Bullet: '* '
#: doc/rustpkg.md:88
#: doc/rustpkg.md:96
msgid ""
"`test.rs`: Assumed to contain tests declared with the `#[test]` attribute."
msgstr ""

#. type: Bullet: '* '
#: doc/rustpkg.md:88
#: doc/rustpkg.md:96
msgid ""
"`bench.rs`: Assumed to contain benchmarks declared with the `#[bench]` "
"attribute."
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:90
#: doc/rustpkg.md:98
msgid "## Versions"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:97
#: doc/rustpkg.md:105
msgid ""
"`rustpkg` packages do not need to declare their versions with an attribute "
"inside one of the source files, because `rustpkg` infers it from the version "
Expand All @@ -224,12 +232,12 @@ msgid ""
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:99
#: doc/rustpkg.md:107
msgid "# Dependencies"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:103
#: doc/rustpkg.md:111
msgid ""
"rustpkg infers dependencies from `extern mod` directives. Thus, there "
"should be no need to pass a `-L` flag to rustpkg to tell it where to find a "
Expand All @@ -238,20 +246,20 @@ msgid ""
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:105
#: doc/rustpkg.md:113
msgid "# Custom build scripts"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:109
#: doc/rustpkg.md:117
msgid ""
"A file called `pkg.rs` at the root level in a workspace is called a *package "
"script*. If a package script exists, rustpkg executes it to build the "
"package rather than inferring crates as described previously."
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:113
#: doc/rustpkg.md:121
msgid ""
"Inside `pkg.rs`, it's possible to call back into rustpkg to finish up the "
"build. `rustpkg::api` contains functions to build, install, or clean "
Expand All @@ -260,17 +268,17 @@ msgid ""
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:115
#: doc/rustpkg.md:123
msgid "# Command reference"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:117
#: doc/rustpkg.md:125
msgid "## build"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:123
#: doc/rustpkg.md:131
msgid ""
"`rustpkg build foo` searches for a package with ID `foo` and builds it in "
"any workspace(s) where it finds one. Supposing such packages are found in "
Expand All @@ -279,22 +287,22 @@ msgid ""
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:125
#: doc/rustpkg.md:133
msgid "## clean"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:127
#: doc/rustpkg.md:135
msgid "`rustpkg clean foo` deletes the contents of `foo`'s `build` directory."
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:129
#: doc/rustpkg.md:137
msgid "## install"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:133
#: doc/rustpkg.md:141
msgid ""
"`rustpkg install foo` builds the libraries and/or executables that are "
"targets for `foo`, and then installs them either into `foo`'s `lib` and "
Expand All @@ -303,12 +311,12 @@ msgid ""
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:135
#: doc/rustpkg.md:143
msgid "## test"
msgstr ""

#. type: Plain text
#: doc/rustpkg.md:137
#: doc/rustpkg.md:145
msgid ""
"`rustpkg test foo` builds `foo`'s `test.rs` file if necessary, then runs the "
"resulting test executable."
Expand Down
24 changes: 12 additions & 12 deletions doc/po/tutorial-borrowed-ptr.md.pot
Expand Up @@ -7,13 +7,13 @@
msgid ""
msgstr ""
"Project-Id-Version: Rust 0.8-pre\n"
"POT-Creation-Date: 2013-07-17 07:18+0900\n"
"POT-Creation-Date: 2013-07-22 23:37+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. type: Plain text
Expand All @@ -24,7 +24,7 @@ msgid "# Introduction"
msgstr ""

#. type: Plain text
#: doc/tutorial.md:1111 doc/tutorial-borrowed-ptr.md:72
#: doc/tutorial.md:1108 doc/tutorial-borrowed-ptr.md:72
msgid "Now we can call `compute_distance()` in various ways:"
msgstr ""

Expand Down Expand Up @@ -60,8 +60,8 @@ msgstr ""
msgid ""
"Although borrowed pointers have rather elaborate theoretical underpinnings "
"(region pointers), the core concepts will be familiar to anyone who has "
"worked with C or C++. Therefore, the best way to explain how they are "
"usedand their limitationsis probably just to work through several examples."
"worked with C or C++. Therefore, the best way to explain how they are used—"
"and their limitations—is probably just to work through several examples."
msgstr ""

#. type: Plain text
Expand Down Expand Up @@ -115,7 +115,7 @@ msgid ""
"any two points, no matter where they were stored. For example, we might like "
"to compute the distance between `on_the_stack` and `managed_box`, or between "
"`managed_box` and `owned_box`. One option is to define a function that takes "
"two arguments of type `Point`that is, it takes the points by value. But if "
"two arguments of type `Point`that is, it takes the points by value. But if "
"we define it this way, calling the function will cause the points to be "
"copied. For points, this is probably not so bad, but often copies are "
"expensive. Worse, if the data type contains mutable fields, copying can "
Expand Down Expand Up @@ -313,8 +313,8 @@ msgstr ""
#. type: Plain text
#: doc/tutorial-borrowed-ptr.md:186
msgid ""
"Weve seen a few examples so far of borrowing heap boxes, both managed and "
"owned. Up till this point, weve glossed over issues of safety. As stated in "
"We’ve seen a few examples so far of borrowing heap boxes, both managed and "
"owned. Up till this point, we’ve glossed over issues of safety. As stated in "
"the introduction, at runtime a borrowed pointer is simply a pointer, nothing "
"more. Therefore, avoiding C's problems with dangling pointers requires a "
"compile-time safety check."
Expand Down Expand Up @@ -626,7 +626,7 @@ msgstr ""
#. type: Plain text
#: doc/tutorial-borrowed-ptr.md:376
msgid ""
"As an example, lets look at the following `shape` type that can represent "
"As an example, let’s look at the following `shape` type that can represent "
"both rectangles and circles:"
msgstr ""

Expand Down Expand Up @@ -792,7 +792,7 @@ msgstr ""
#: doc/tutorial-borrowed-ptr.md:483
msgid ""
"So far, all of the examples we have looked at, use borrowed pointers in a "
"downward direction. That is, a method or code block creates a borrowed "
"downward direction. That is, a method or code block creates a borrowed "
"pointer, then uses it within the same scope. It is also possible to return "
"borrowed pointers as the result of a function, but as we'll see, doing so "
"requires some explicit annotation."
Expand Down Expand Up @@ -844,7 +844,7 @@ msgstr ""
msgid ""
"Named lifetimes that appear in function signatures are conceptually the same "
"as the other lifetimes we have seen before, but they are a bit abstract: "
"they dont refer to a specific expression within `get_x()`, but rather to "
"they don’t refer to a specific expression within `get_x()`, but rather to "
"some expression within the *caller of `get_x()`*. The lifetime `r` is "
"actually a kind of *lifetime parameter*: it is defined by the caller to "
"`get_x()`, just as the value for the parameter `p` is defined by that caller."
Expand All @@ -862,7 +862,7 @@ msgstr ""
#. type: Plain text
#: doc/tutorial-borrowed-ptr.md:526
msgid ""
"To emphasize this point, lets look at a variation on the example, this time "
"To emphasize this point, let’s look at a variation on the example, this time "
"one that does not compile:"
msgstr ""

Expand Down

0 comments on commit 2bc8a9b

Please sign in to comment.