diff options
author | Jacob Appelbaum <jacob@appelbaum.net> | 2008-06-03 11:01:16 +0000 |
---|---|---|
committer | Jacob Appelbaum <jacob@appelbaum.net> | 2008-06-03 11:01:16 +0000 |
commit | 5d86bb8cc5b751139dc3167ee1d83c4ea806c12f (patch) | |
tree | 8fa44961a5ba5284409447d4a669dd84a4807b2c /doc/translations.txt | |
parent | 01c1a355c24e08cb6360184c5d1c40d2e5e36d55 (diff) | |
download | tor-5d86bb8cc5b751139dc3167ee1d83c4ea806c12f.tar.gz tor-5d86bb8cc5b751139dc3167ee1d83c4ea806c12f.zip |
Add note about Launchpad bug and about msguniq.
svn:r14912
Diffstat (limited to 'doc/translations.txt')
-rw-r--r-- | doc/translations.txt | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/translations.txt b/doc/translations.txt index eecbb82d4d..a449c88432 100644 --- a/doc/translations.txt +++ b/doc/translations.txt @@ -10,7 +10,12 @@ the source to Vidalia. Then you'll want to change into the i18n directory: cd vidalia/src/vidalia/i18n; Now you'll run the proper commands[1] to convert from the native QT .ts format. -You'll want to convert the .ts format into gnugettext .po files. Do so like so: +This is because of a known issues in Rosetta, the software that drives +Launchpad. You can read more about this bug here: +https://bugs.launchpad.net/rosetta/+bug/68959 + +Because Rosetta doesn't support .ts files, you'll want to convert the .ts +format into gnugettext .po files. Do so like so: for file in `ls -1|grep .ts$|cut -f1 -d.`; do @@ -18,7 +23,7 @@ You'll want to convert the .ts format into gnugettext .po files. Do so like so: ts2po --input=$file.ts --output=$file.po; done -This is pretty straight forward but also error prone. You'll want to check for +This is pretty straight forward but also error prone. You'll want to check for proper formatting of the .po files like so: for file in `ls -1|grep .po$` @@ -26,7 +31,13 @@ proper formatting of the .po files like so: msgfmt -c $file; done -You have to correct all duplicate strings and all errors before uploading. +You have to remove all duplicate strings and all errors before uploading: + + for file in `ls -1|grep .po$|cut -f1 -d.` + do + msguniq -o $file.po $file-uniq.po; + done + Ensure that the .po files are valid, possibly by compiling them into .mo files: for file in `ls -1|grep .po$|cut -f1 -d.` |