1 | #!/bin/bash |
---|
2 | # |
---|
3 | # This script needs to be run after all .pots have been created |
---|
4 | # and it requires pot2po |
---|
5 | # For every slide two .po files - |
---|
6 | # en_GB.po (without translations) and fr_FR.po (in which all |
---|
7 | # translations are set to be the original text reversed. |
---|
8 | # |
---|
9 | # a full set of the translated html slides can then be generated |
---|
10 | # from these and used for testing purposes |
---|
11 | |
---|
12 | pot2po data/po/chatroom/chatroom.pot data/po/chatroom/en_GB.po |
---|
13 | pot2po data/po/community/community.pot data/po/community/en_GB.po |
---|
14 | pot2po data/po/donate/donate.pot data/po/donate/en_GB.po |
---|
15 | pot2po data/po/features/features.pot data/po/features/en_GB.po |
---|
16 | pot2po data/po/gettingstarted/gettingstarted.pot data/po/gettingstarted/en_GB.po |
---|
17 | pot2po data/po/getinvolved/getinvolved.pot data/po/getinvolved/en_GB.po |
---|
18 | pot2po data/po/helloguest/helloguest.pot data/po/helloguest/en_GB.po |
---|
19 | pot2po data/po/hellolive/hellolive.pot data/po/hellolive/en_GB.po |
---|
20 | pot2po data/po/index/index.pot data/po/index/en_GB.po |
---|
21 | pot2po data/po/introduction/introduction.pot data/po/introduction/en_GB.po |
---|
22 | pot2po data/po/rpi/rpi.pot data/po/rpi/en_GB.po |
---|
23 | pot2po data/po/shop/shop.pot data/po/shop/en_GB.po |
---|
24 | pot2po data/po/software/software.pot data/po/software/en_GB.po |
---|
25 | pot2po data/po/splash/splash.pot data/po/splash/en_GB.po |
---|
26 | echo "Creating fr_FR.po files for each slide" |
---|
27 | ./edgar-allan po --input=data/po/chatroom/en_GB.po --output=data/po/chatroom/fr_FR.po |
---|
28 | ./edgar-allan po --input=data/po/community/en_GB.po --output=data/po/community/fr_FR.po |
---|
29 | ./edgar-allan po --input=data/po/donate/en_GB.po --output=data/po/donate/fr_FR.po |
---|
30 | ./edgar-allan po --input=data/po/features/en_GB.po --output=data/po/features/fr_FR.po |
---|
31 | ./edgar-allan po --input=data/po/gettingstarted/en_GB.po --output=data/po/gettingstarted/fr_FR.po |
---|
32 | ./edgar-allan po --input=data/po/getinvolved/en_GB.po --output=data/po/getinvolved/fr_FR.po |
---|
33 | ./edgar-allan po --input=data/po/gettingstarted/en_GB.po --output=data/po/gettingstarted/fr_FR.po |
---|
34 | ./edgar-allan po --input=data/po/helloguest/en_GB.po --output=data/po/helloguest/fr_FR.po |
---|
35 | ./edgar-allan po --input=data/po/hellolive/en_GB.po --output=data/po/hellolive/fr_FR.po |
---|
36 | ./edgar-allan po --input=data/po/index/en_GB.po --output=data/po/index/fr_FR.po |
---|
37 | ./edgar-allan po --input=data/po/introduction/en_GB.po --output=data/po/introduction/fr_FR.po |
---|
38 | ./edgar-allan po --input=data/po/rpi/en_GB.po --output=data/po/rpi/fr_FR.po |
---|
39 | ./edgar-allan po --input=data/po/shop/en_GB.po --output=data/po/shop/fr_FR.po |
---|
40 | ./edgar-allan po --input=data/po/software/en_GB.po --output=data/po/software/fr_FR.po |
---|
41 | ./edgar-allan po --input=data/po/splash/en_GB.po --output=data/po/splash/fr_FR.po |
---|
42 | echo |
---|
43 | echo "Done." |
---|