... | ... | @@ -94,9 +94,7 @@ Switch to the _translation_ user and navigate to _/srv/translation.torproject.or |
|
|
sudo -u translation bash
|
|
|
export project='project_slug'
|
|
|
cd /srv/translation.torproject.org/translations
|
|
|
git clone git@git-rw.torproject.org:translation.git $project
|
|
|
cd $project
|
|
|
git checkout $project
|
|
|
git clone -b $project --single-branch git@git-rw.torproject.org:translation.git $project
|
|
|
```
|
|
|
|
|
|
Do this for both resources you're creating.
|
... | ... | @@ -104,9 +102,7 @@ Do this for both resources you're creating. |
|
|
|
|
|
```
|
|
|
cd /srv/translation.torproject.org/translations
|
|
|
git clone git@git-rw.torproject.org:translation.git $project\_completed
|
|
|
cd $project\_completed
|
|
|
git checkout $project\_completed
|
|
|
git clone -b $project\_completed --single-branch git@git-rw.torproject.org:translation.git $project\_completed
|
|
|
```
|
|
|
|
|
|
### Create the Transifex configuration file
|
... | ... | @@ -119,7 +115,7 @@ touch $project\_completed/.tx/config |
|
|
```
|
|
|
|
|
|
|
|
|
Edit _mat-gui/.tx/config_ with the information below. The first line is the _resource slug_, which is a part of the URL for that specific resource on the Transifex website. The second line specifies how new translations should be saved (i.e. with just the language code as the filename) :
|
|
|
Edit _$project/.tx/config_ with the information below. The first line is the _resource slug_, which is a part of the URL for that specific resource on the Transifex website. The second line specifies how new translations should be saved (i.e. with just the language code as the filename) :
|
|
|
|
|
|
vim $project/.tx/config
|
|
|
|
... | ... | |