Skip to content

Commit 9d4eb9c

Browse files
committed
---
yaml --- r: 148268 b: refs/heads/try2 c: 8e2027a h: refs/heads/master v: v3
1 parent e5de47c commit 9d4eb9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+13529
-4253
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 9075025c7b48ffc028b3bddbb983ceac98ce9636
8+
refs/heads/try2: 8e2027a08219f28272c3e66dc6d2fb26dbdc5587
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/doc/README.md

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ source code.
88
the Markdown docs (reference manual, tutorials, etc.) distributed with
99
this git repository.
1010

11-
[po4a](http://po4a.alioth.debian.org/) is required for generating translated
12-
docs from the master (English) docs.
13-
14-
[GNU gettext](http://www.gnu.org/software/gettext/) is required for managing
15-
the translation data.
16-
1711
# Building
1812

1913
To generate all the docs, just run `make docs` from the root of the repository.
@@ -44,43 +38,3 @@ http://johnmacfarlane.net/pandoc/README.html#pandocs-markdown
4438

4539
A nice quick reference (for non-pandoc markdown) is at:
4640
http://kramdown.rubyforge.org/quickref.html
47-
48-
# Notes for translators
49-
50-
Notice: The procedure described below is a work in progress. We are working on
51-
translation system but the procedure contains some manual operations for now.
52-
53-
To start the translation for a new language, see po4a.conf at first.
54-
55-
To generate .pot and .po files, do something like:
56-
57-
~~~~
58-
po4a --copyright-holder="The Rust Project Developers" \
59-
--package-name="Rust" \
60-
--package-version="0.10-pre" \
61-
-M UTF-8 -L UTF-8 \
62-
po4a.conf
63-
~~~~
64-
65-
(the version number must be changed if it is not 0.10-pre now.)
66-
67-
Now you can translate documents with .po files, commonly used with gettext. If
68-
you are not familiar with gettext-based translation, please read the online
69-
manual linked from http://www.gnu.org/software/gettext/ . We use UTF-8 as the
70-
file encoding of .po files.
71-
72-
When you want to make a commit, do the command below before staging your
73-
change:
74-
75-
~~~~
76-
for f in doc/po/**/*.po; do
77-
msgattrib --translated $f -o $f.strip
78-
if [ -e $f.strip ]; then
79-
mv $f.strip $f
80-
else
81-
rm $f
82-
fi
83-
done
84-
~~~~
85-
86-
This removes untranslated entries from .po files to save disk space.

branches/try2/doc/po/ja/complement-cheatsheet.md.po

Lines changed: 0 additions & 152 deletions
This file was deleted.

branches/try2/doc/po/ja/complement-lang-faq.md.po

Lines changed: 0 additions & 47 deletions
This file was deleted.

branches/try2/doc/po/ja/complement-project-faq.md.po

Lines changed: 0 additions & 24 deletions
This file was deleted.

branches/try2/doc/po/ja/guide-conditions.md.po

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)