Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (18 sloc) 600 Bytes
#!/bin/bash -x
### The PO files of Pingus are synchronized with Launchpad:
### https://translations.launchpad.net/pingus/trunk/+pots/pingus/fr/+translate
### https://translations.launchpad.net/pingus/trunk/+pots/pingus/sq/+translate
### go to the script directory
cd $(dirname $0)
### set the drush alias
drush="drush $1"
### set some variables
origin=misc
project=pingus
### create the project
$drush btrp-add $origin $project $(pwd)/pingus/pingus-fr.po
### import the PO files of each language
for lng in fr sq
do
$drush btrp-import $origin $project $lng $(pwd)/pingus/pingus-$lng.po
done