Lahmizzar Muinela
2014-01-07 1fd1798d6c37130317ba18cd13042db77805e0cc
commit | author | age
ee0fca 1 #!/bin/bash
LM 2
1fd179 3 # Copyright (C) 1997 - 2014 devXive - research and development
LM 4 #
5 # The scriptfile is licensed under the Apache License, Version 2.0 (the "License");
6 # You may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 # The content of static vars and/or static echo output is licensed under the
18 # devXive Proprietary Use License (http://devxive.com/legal/license)
19 #
20 # Author:  devXive, Lahmizzar Muinela
21 # Email:   support@devxive.com
22 # Twitter: @devxive
23 # Website: http://devxive.com
24 #
25 #
26 # Description:
ee0fca 27 # Simple script to pull tx translatons and build manifest files
0251a9 28 # This script is to take control about what language will be pulled and stored in the language pack
LM 29 # If you add a language, please have a look at the .tx/config file first and check if the language exists.
ee0fca 30 #
0251a9 31 # This script is invoked by the create script
LM 32
33 sourcePath=$(realpath .)
ee0fca 34
bcf608 35 txClient="../../transifex-client/tx"
ee0fca 36 version="$1"
bcf608 37
LM 38 $txClient pull -l da_DK    # 100%
0251a9 39 $sourcePath/builder/buildManifest da-DK da_DK $version
ee0fca 40
LM 41 $txClient pull -l fr_FR    # 100%
0251a9 42 $sourcePath/builder/buildManifest fr-FR fr_FR $version
ee0fca 43
LM 44 $txClient pull -l de_DE    # 100%
0251a9 45 $sourcePath/builder/buildManifest de-DE de_DE $version
ee0fca 46
LM 47 $txClient pull -l hu_HU    # 100%
0251a9 48 $sourcePath/builder/buildManifest hu-HU hu_HU $version
ee0fca 49
LM 50 $txClient pull -l pt_BR    # 100%
0251a9 51 $sourcePath/builder/buildManifest pt-BR pt_BR $version
ee0fca 52
LM 53 $txClient pull -l es_ES    # 100%
0251a9 54 $sourcePath/builder/buildManifest es-ES es_ES $version
ee0fca 55
LM 56 $txClient pull -l tr_TR    # 100%
0251a9 57 $sourcePath/builder/buildManifest tr-TR tr_TR $version
bcf608 58
LM 59 $txClient pull -l nb_NO    # 98%
0251a9 60 $sourcePath/builder/buildManifest nb-NO nb_NO $version
ee0fca 61
LM 62 $txClient pull -l pl_PL    # 98%
0251a9 63 $sourcePath/builder/buildManifest pl-PL pl_PL $version
ee0fca 64
LM 65 $txClient pull -l ca_ES    # 97%
0251a9 66 $sourcePath/builder/buildManifest ca-ES ca_ES $version
ee0fca 67
LM 68 $txClient pull -l zh_TW    # 97%
0251a9 69 $sourcePath/builder/buildManifest zh-TW zh_TW $version
ee0fca 70
LM 71 $txClient pull -l nl_NL    # 97%
0251a9 72 $sourcePath/builder/buildManifest nl-NL nl_NL $version
ee0fca 73
LM 74 $txClient pull -l it_IT    # 97%
0251a9 75 $sourcePath/builder/buildManifest it-IT it_IT $version
ee0fca 76
LM 77 $txClient pull -l ja_JP    # 97%
0251a9 78 $sourcePath/builder/buildManifest ja-JP ja_JP $version
ee0fca 79
LM 80 $txClient pull -l ro_RO    # 97%
0251a9 81 $sourcePath/builder/buildManifest ro-RO ro_RO $version
ee0fca 82
LM 83 $txClient pull -l th_TH    # 97%
0251a9 84 $sourcePath/builder/buildManifest th-TH th_TH $version
ee0fca 85
LM 86 $txClient pull -l ru_RU    # 95%
0251a9 87 $sourcePath/builder/buildManifest ru-RU ru_RU $version
ee0fca 88
LM 89 $txClient pull -l el_GR    # 94%
0251a9 90 $sourcePath/builder/buildManifest el-GR el_GR $version
ee0fca 91
LM 92 $txClient pull -l cs_CZ    # 93%
0251a9 93 $sourcePath/builder/buildManifest cs-CZ cs_CZ $version
ee0fca 94
LM 95 $txClient pull -l pt_PT    # 93%
0251a9 96 $sourcePath/builder/buildManifest pt-PT pt_PT $version
ee0fca 97
LM 98 $txClient pull -l sv_SE    # 90%
0251a9 99 $sourcePath/builder/buildManifest sv-SE sv_SE $version
ee0fca 100
bcf608 101 $txClient pull -l sk_SK    # 70%
0251a9 102 $sourcePath/builder/buildManifest sk-SK sk_SK $version
ee0fca 103
LM 104 $txClient pull -l uk_UA    # 56%
0251a9 105 $sourcePath/builder/buildManifest uk-UA uk_UA $version
ee0fca 106
LM 107 $txClient pull -l nl_BE    # 41%
0251a9 108 $sourcePath/builder/buildManifest nl-BE nl_BE $version
ee0fca 109
LM 110 $txClient pull -l bg_BG    # 34%
0251a9 111 $sourcePath/builder/buildManifest bg-BG bg_BG $version
LM 112
113 $txClient pull -l fa_IR    # 34%
114 $sourcePath/builder/buildManifest fa-IR fa_IR $version
ee0fca 115
LM 116 $txClient pull -l es_MX    # 31%
0251a9 117 $sourcePath/builder/buildManifest es-MX es_MX $version
ee0fca 118
LM 119 $txClient pull -l ar_AA    # 23%
0251a9 120 $sourcePath/builder/buildManifest ar-AA ar_AA $version