File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 1ba61b915b39cd81deb24b782906e3cf5f409944
8
+ refs/heads/try2: 006d169a2fcc45e7ae5404bfb20e37063b3ef481
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -47,12 +47,15 @@ http://kramdown.rubyforge.org/quickref.html
47
47
48
48
# Notes for translators
49
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
+
50
53
To start the translation for a new language, see po4a.conf at first.
51
54
52
55
To generate .pot and .po files, do something like:
53
56
54
57
~~~~
55
- po4a --copyright-holders ="The Rust Project Developers" \
58
+ po4a --copyright-holder ="The Rust Project Developers" \
56
59
--package-name="Rust" \
57
60
--package-version="0.10-pre" \
58
61
-M UTF-8 -L UTF-8 \
@@ -71,13 +74,13 @@ change:
71
74
72
75
~~~~
73
76
for f in doc/po/**/*.po; do
74
- msgattrib --untranslated $f -o $f.strip
77
+ msgattrib --translated $f -o $f.strip
75
78
if [ -e $f.strip ]; then
76
79
mv $f.strip $f
77
80
else
78
81
rm $f
79
82
fi
80
83
done
81
- ~~~~
84
+ ~~~~
82
85
83
86
This removes untranslated entries from .po files to save disk space.
You can’t perform that action at this time.
0 commit comments