File tree 1 file changed +19
-0
lines changed
app/src/processing/app/i18n
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,16 @@ if [ $0 != "./pull.sh" ]; then
5
5
exit 1
6
6
fi
7
7
8
+ ALL=' n'
8
9
while [ $# -gt 0 ]; do
9
10
if [ $1 = ' -a' ]; then
11
+ ALL=' y'
12
+ # We must do this until java Locale class is updated...
13
+ mv Resources_iw.po Resources_he.po
14
+ mv Resources_iw.properties Resources_he.properties
15
+ mv Resources_in.po Resources_id.po
16
+ mv Resources_in.properties Resources_id.properties
17
+
10
18
for f in Resources_* .po; do
11
19
f=$( expr " $f " : " Resources_\(.*\).po" )
12
20
langs=" $langs $f "
@@ -22,10 +30,21 @@ if [ "$langs" = "" ]; then
22
30
exit 1
23
31
fi
24
32
33
+
25
34
python python/pull.py $langs
26
35
36
+ if [ " $ALL " = " y" ]; then
37
+ # We must do this until java Locale class is updated...
38
+ mv Resources_he.po Resources_iw.po
39
+ mv Resources_he.properties Resources_iw.properties
40
+ mv Resources_id.po Resources_in.po
41
+ mv Resources_id.properties Resources_in.properties
42
+ fi
43
+
27
44
for lang in $langs ; do
28
45
if [ -f " Resources_$lang .po" ]; then
29
46
msgcat -p Resources_$lang .po > Resources_$lang .properties
30
47
fi
31
48
done
49
+
50
+
You can’t perform that action at this time.
0 commit comments