aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-07-02 21:10:13 +0000
committerRoger Dingledine <arma@torproject.org>2008-07-02 21:10:13 +0000
commitc620b4ecb6047ed3d3ee5500b7d7c63f7fc51b67 (patch)
tree9adcadc929f27f99d8a7d8678cdf60fc361ed68f /doc
parent1188df9c86d916b8ae8ca5600117b081458136c0 (diff)
downloadtor-c620b4ecb6047ed3d3ee5500b7d7c63f7fc51b67.tar
tor-c620b4ecb6047ed3d3ee5500b7d7c63f7fc51b67.tar.gz
linewrap/whitespace fixes
svn:r15609
Diffstat (limited to 'doc')
-rw-r--r--doc/translations.txt50
1 files changed, 27 insertions, 23 deletions
diff --git a/doc/translations.txt b/doc/translations.txt
index 3cb483e49..b1c996f00 100644
--- a/doc/translations.txt
+++ b/doc/translations.txt
@@ -1,4 +1,5 @@
-## Instructions for helping translate text for Vidalia, TorButton and TorCheck
+## Instructions for helping translate text for Vidalia, TorButton
+## and TorCheck
## ( More translation information for Tor related apps will accumulate here )
Our translations are handled in one of two places. The Tor Translation Portal
@@ -12,7 +13,8 @@ desired username in place of 'USERNAME':
htdigest -c passwd.tmp "Tor subversion repository" USERNAME
-All three of the above projects check in their respective .po files into the following subversion urls:
+All three of the above projects check in their respective .po files into
+the following subversion urls:
https://tor-svn.freehaven.net/svn/translation/trunk/projects/torbutton
https://tor-svn.freehaven.net/svn/translation/trunk/projects/torcheck
@@ -21,12 +23,12 @@ All three of the above projects check in their respective .po files into the fol
The current pootle configuration is checked into subversion as well:
https://tor-svn.freehaven.net/svn/translation/trunk/pootle
-
-TorCheck uses our translation portal to accept translations. Users use the portal to check in their changes.
-To make use of the translations that users have commited to the translations/
-subversion module, you'll need to ensure that you have a current checked out
-copy of TorCheck:
-
+
+TorCheck uses our translation portal to accept translations. Users use
+the portal to check in their changes. To make use of the translations
+that users have commited to the translations/ subversion module, you'll
+need to ensure that you have a current checked out copy of TorCheck:
+
cd check/trunk/i18n/
check/trunk/i18n$ svn up
@@ -36,7 +38,7 @@ You should see something like the following:
External at revision 15300.
At revision 15300.
-
+
Now if you had changes, you'd simply want to move the newly updated .po files
into the current stable directory. Moving the .po files from
'check/trunk/i18n/pootle/' into 'check/trunk/i18n' properly naming the files
@@ -47,12 +49,12 @@ the svn trunk area of TorCheck:
cd check/trunk/i18n/
for locale in `ls -1 pootle/|grep -v template`;
- do
+ do
mv -v pootle/$locale/TorCheck_$locale.po TorCheck_$locale.po;
done
Now check the differences (ensure the output looks reasonable):
-
+
svn diff
Ensure that msgfmt has no errors:
@@ -63,12 +65,13 @@ And finally check in the changes:
svn commit
-Torbutton uses our translation portal to accept translations. Users use the portal to check in their changes.
+Torbutton uses our translation portal to accept translations. Users use
+the portal to check in their changes.
To make use of the translations that users have commited to the translations/
subversion module, you'll need to ensure that you have a current checked out
copy of Torbutton:
-
- cd torbutton/trans_tools
+
+ cd torbutton/trans_tools
torbutton/trans_tools$ svn up
You should see something like the following:
@@ -77,25 +80,26 @@ You should see something like the following:
External at revision 15300.
At revision 15300.
-
-Now if you had changes, you need to convert from .po and move the newly updated mozilla files
-into the current stable locale directory. First convert them with the
-'mkmoz.sh' script and then moving the proper mozilla files from
-'torbutton/trans_tools/moz/' into 'torbutton/src/chrome/locale/' directory
-while properly naming the files for their respective locale.
+
+Now if you had changes, you need to convert from .po and move
+the newly updated mozilla files into the current stable locale
+directory. First convert them with the 'mkmoz.sh' script and then
+moving the proper mozilla files from 'torbutton/trans_tools/moz/' into
+'torbutton/src/chrome/locale/' directory while properly naming the files
+for their respective locale.
Here's an example of how to move all of the current pootle translations into
the svn trunk area of Torbutton:
- cd torbutton/trans_tools
+ cd torbutton/trans_tools
./mkmoz.sh
for locale in `ls -1 moz/`;
- do
+ do
mv -v moz/$locale/*.{rdf,dtd,properties} ../src/chrome/locale/$locale/;
done
Now check the differences (ensure the output looks reasonable):
-
+
svn diff
And finally check in the changes: