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 |
|
ee0fca
|
38 |
$txClient pull -l de_DE # 100% |
0251a9
|
39 |
$sourcePath/builder/buildManifest de-DE de_DE $version |
ee0fca
|
40 |
|
c7576f
|
41 |
$txClient pull -l da_DK # 95% |
LM |
42 |
$sourcePath/builder/buildManifest da-DK da_DK $version |
|
43 |
|
|
44 |
$txClient pull -l fr_FR # 95% |
|
45 |
$sourcePath/builder/buildManifest fr-FR fr_FR $version |
|
46 |
|
|
47 |
$txClient pull -l hu_HU # 95% |
0251a9
|
48 |
$sourcePath/builder/buildManifest hu-HU hu_HU $version |
ee0fca
|
49 |
|
c7576f
|
50 |
$txClient pull -l pt_BR # 95% |
0251a9
|
51 |
$sourcePath/builder/buildManifest pt-BR pt_BR $version |
ee0fca
|
52 |
|
c7576f
|
53 |
$txClient pull -l es_ES # 95% |
0251a9
|
54 |
$sourcePath/builder/buildManifest es-ES es_ES $version |
ee0fca
|
55 |
|
c7576f
|
56 |
$txClient pull -l tr_TR # 95% |
0251a9
|
57 |
$sourcePath/builder/buildManifest tr-TR tr_TR $version |
bcf608
|
58 |
|
c7576f
|
59 |
$txClient pull -l nb_NO # 93% |
0251a9
|
60 |
$sourcePath/builder/buildManifest nb-NO nb_NO $version |
ee0fca
|
61 |
|
c7576f
|
62 |
$txClient pull -l pl_PL # 93% |
0251a9
|
63 |
$sourcePath/builder/buildManifest pl-PL pl_PL $version |
ee0fca
|
64 |
|
c7576f
|
65 |
$txClient pull -l th_TH # 93% |
0251a9
|
66 |
$sourcePath/builder/buildManifest th-TH th_TH $version |
ee0fca
|
67 |
|
c7576f
|
68 |
$txClient pull -l ca_ES # 92% |
LM |
69 |
$sourcePath/builder/buildManifest ca-ES ca_ES $version |
|
70 |
|
|
71 |
$txClient pull -l zh_TW # 92% |
|
72 |
$sourcePath/builder/buildManifest zh-TW zh_TW $version |
|
73 |
|
|
74 |
$txClient pull -l nl_NL # 92% |
|
75 |
$sourcePath/builder/buildManifest nl-NL nl_NL $version |
|
76 |
|
|
77 |
$txClient pull -l it_IT # 92% |
|
78 |
$sourcePath/builder/buildManifest it-IT it_IT $version |
|
79 |
|
|
80 |
$txClient pull -l ja_JP # 92% |
|
81 |
$sourcePath/builder/buildManifest ja-JP ja_JP $version |
|
82 |
|
|
83 |
$txClient pull -l ro_RO # 92% |
|
84 |
$sourcePath/builder/buildManifest ro-RO ro_RO $version |
|
85 |
|
|
86 |
$txClient pull -l ru_RU # 91% |
0251a9
|
87 |
$sourcePath/builder/buildManifest ru-RU ru_RU $version |
ee0fca
|
88 |
|
c7576f
|
89 |
$txClient pull -l cs_CZ # 89% |
0251a9
|
90 |
$sourcePath/builder/buildManifest cs-CZ cs_CZ $version |
ee0fca
|
91 |
|
c7576f
|
92 |
$txClient pull -l el_GR # 89% |
LM |
93 |
$sourcePath/builder/buildManifest el-GR el_GR $version |
|
94 |
|
|
95 |
$txClient pull -l pt_PT # 88% |
0251a9
|
96 |
$sourcePath/builder/buildManifest pt-PT pt_PT $version |
ee0fca
|
97 |
|
c7576f
|
98 |
$txClient pull -l sv_SE # 86% |
0251a9
|
99 |
$sourcePath/builder/buildManifest sv-SE sv_SE $version |
ee0fca
|
100 |
|
c7576f
|
101 |
$txClient pull -l sk_SK # 66% |
0251a9
|
102 |
$sourcePath/builder/buildManifest sk-SK sk_SK $version |
ee0fca
|
103 |
|
c7576f
|
104 |
$txClient pull -l uk_UA # 54% |
0251a9
|
105 |
$sourcePath/builder/buildManifest uk-UA uk_UA $version |
ee0fca
|
106 |
|
c7576f
|
107 |
$txClient pull -l nl_BE # 39% |
0251a9
|
108 |
$sourcePath/builder/buildManifest nl-BE nl_BE $version |
ee0fca
|
109 |
|
c7576f
|
110 |
$txClient pull -l fa_IR # 33% |
0251a9
|
111 |
$sourcePath/builder/buildManifest fa-IR fa_IR $version |
ee0fca
|
112 |
|
c7576f
|
113 |
$txClient pull -l bg_BG # 32% |
LM |
114 |
$sourcePath/builder/buildManifest bg-BG bg_BG $version |
|
115 |
|
|
116 |
$txClient pull -l es_MX # 29% |
0251a9
|
117 |
$sourcePath/builder/buildManifest es-MX es_MX $version |
ee0fca
|
118 |
|
c7576f
|
119 |
$txClient pull -l ar_AA # 22% |
0251a9
|
120 |
$sourcePath/builder/buildManifest ar-AA ar_AA $version |