a directory for the transla...
Runa A. Sandvik authored 14 years ago
|
1) #!/bin/bash
2) #
3) # Author: Runa A. Sandvik, <runa.sandvik@gmail.com>
4) # For The Tor Project, Inc.
5) #
6) # This is Free Software (GPLv3)
7) # http://www.gnu.org/licenses/gpl-3.0.txt
8) #
9) # This script will convert translated po files back to manpages. Before
10) # running the script, checkout the translation directory from
11) # https://svn.torproject.org, and clone the tor repository from
12) # git.torproject.org.
13) #
14)
15) ### Start config ###
16)
17) # Location of the translated manpages
18) translated="$PWD"
19)
20) # Location of the website directory
21) wml="`dirname $translated`"
22)
23) # Location of the English manpages. Assuming that the git clone of the
24) # tor repository is relative to the website
25) mandir="`dirname $wml`/tor/doc"
26)
27) # Location of the po files. Assuming that the translation directory is
28) # relative to the website
|