File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed 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