[or-cvs] r14912: Add note about Launchpad bug and about msguniq. (tor/trunk/doc)

ioerror at seul.org ioerror at seul.org
Tue Jun 3 11:01:16 UTC 2008


Author: ioerror
Date: 2008-06-03 07:01:16 -0400 (Tue, 03 Jun 2008)
New Revision: 14912

Modified:
   tor/trunk/doc/translations.txt
Log:
Add note about Launchpad bug and about msguniq.


Modified: tor/trunk/doc/translations.txt
===================================================================
--- tor/trunk/doc/translations.txt	2008-06-03 10:52:57 UTC (rev 14911)
+++ tor/trunk/doc/translations.txt	2008-06-03 11:01:16 UTC (rev 14912)
@@ -10,15 +10,20 @@
 	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
 	echo "Attempting to convert" $file.ts;
 	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 @@
 	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.`



More information about the tor-commits mailing list