forked from element-hq/element-x-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
localazy.json
94 lines (90 loc) · 2.62 KB
/
localazy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"readKey": "a7876306080832595063-aa37154bb3772f6146890fca868d155b2228b492c56c91f67abdcdfb74d6142d",
"conversion": {
"actions": [
{
"type": "ios-strings",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.strings",
"excludeKeys": ["REGEX:.*_android"],
"conditions": [
"equals: ${languageCode}, en | equals: ${file}, content.json"
],
"filterPlurals": true,
"replacements": {
"%s": "%@",
"$s": "$@"
},
"params": {
"flatten_keys": "underscore"
}
},
{
"type": "ios-stringsdict",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.stringsdict",
"excludeKeys": ["REGEX:.*_android"],
"conditions": [
"equals: ${languageCode}, en | equals: ${file}, content.json"
],
"replacements": {
"%s": "%@",
"$s": "$@"
},
"params": {
"variable": "COUNT",
"flatten_keys": "underscore"
}
},
{
"type": "ios-strings",
"changeExtension": "strings",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/${file}",
"conditions": [
"equals: ${languageCode}, en | equals: ${file}, InfoPlist.json"
]
},
{
"group": "all",
"type": "ios-strings",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.strings",
"excludeKeys": ["REGEX:.*_android"],
"conditions": [
"!equals: ${languageCode}, en | equals: ${file}, content.json"
],
"filterPlurals": true,
"replacements": {
"%s": "%@",
"$s": "$@"
},
"params": {
"flatten_keys": "underscore"
}
},
{
"group": "all",
"type": "ios-stringsdict",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/Localizable.stringsdict",
"excludeKeys": ["REGEX:.*_android"],
"conditions": [
"!equals: ${languageCode}, en | equals: ${file}, content.json"
],
"replacements": {
"%s": "%@",
"$s": "$@"
},
"params": {
"variable": "COUNT",
"flatten_keys": "underscore"
}
},
{
"group": "all",
"type": "ios-strings",
"changeExtension": "strings",
"output": "ElementX/Resources/Localizations/${iosLprojFolder}/${file}",
"conditions": [
"!equals: ${languageCode}, en | equals: ${file}, InfoPlist.json"
]
}
]
}
}