-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathlang.en.php
More file actions
147 lines (139 loc) · 5.31 KB
/
Copy pathlang.en.php
File metadata and controls
147 lines (139 loc) · 5.31 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php
return [
'page_title' => 'JSON Generator',
'generated_json' => 'Generated JSON',
'formatted_json' => 'Formatted JSON:',
'base64_json' => 'Base64 Encoded JSON:',
'copy_to_clipboard' => 'Copy to Clipboard',
'back' => 'Back',
'copy_success' => 'Copied to clipboard',
'copy_error' => 'Error copying to clipboard:',
'deeplink' => 'Deeplink',
'qr_code' => 'QR-Code',
// Форма
'form' => [
'Name' => [
'label' => 'Name',
'placeholder' => 'China',
'description' => 'Enter the configuration name.'
],
'GlobalProxy' => [
'label' => 'GlobalProxy',
'options' => [
'true' => 'true',
'false' => 'false'
],
'description' => "Select 'true' to proxy all traffic except rules, or 'false' to direct all traffic except rules."
],
'RemoteDNSType' => [
'label' => 'Remote DNS Type',
'description' => 'Choose DoH (DNS over HTTPS) or DoU (DNS over UDP)',
'options' => [
'DoH' => 'DoH',
'DoU' => 'DoU'
]
],
'RemoteDNSDomain' => [
'label' => 'Remote DNS Domain',
'placeholder' => 'e.g. https://dns.google/dns-query',
'description' => 'URL for DoH'
],
'RemoteDNSIP' => [
'label' => 'Remote DNS IP',
'placeholder' => 'e.g. 8.8.8.8',
'description' => 'Server IP for DoH or DoU'
],
'DomesticDNSType' => [
'label' => 'Domestic DNS Type',
'description' => 'Choose DoH (DNS over HTTPS) or DoU (DNS over UDP)',
'options' => [
'DoH' => 'DoH',
'DoU' => 'DoU'
]
],
'DomesticDNSDomain' => [
'label' => 'Domestic DNS Domain',
'placeholder' => 'e.g. https://common.dot.dns.yandex.net/dns-query',
'description' => 'URL for DoH'
],
'DomesticDNSIP' => [
'label' => 'Domestic DNS IP',
'placeholder' => 'e.g. 77.88.8.8',
'description' => 'Server IP for DoH or DoU'
],
'Geoipurl' => [
'label' => 'Geoipurl',
'placeholder' => 'https://github.com/v2fly/geoip/releases/latest/download/geoip.dat',
'description' => 'Link to the geoip.dat file. Leave this field empty if you want to use the default file.'
],
'Geositeurl' => [
'label' => 'Geositeurl',
'placeholder' => 'https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat',
'description' => 'Link to the geosite.dat file. Leave this field empty if you want to use the default file.'
],
// Новое поле LastUpdated
'LastUpdated' => [
'label' => 'LastUpdated',
'placeholder' => 'e.g. 1693826255',
'description' => 'Enter the Unix timestamp of the last update to the geoip and geosite files. Leave empty if not available.'
],
'DnsHosts' => [
'label' => 'DnsHosts',
'placeholder' => '{
"example.com": "1.2.3.4",
"test.org": "8.8.8.8"
}',
'description' => 'JSON object with DNS hosts to override domain names.'
],
'array_fields' => [
'DirectSites' => [
'label' => 'DirectSites',
'placeholder' => "geosite:ru\ngeosite:geolocation-ru",
'description' => 'Sites that will use direct connection.'
],
'DirectIp' => [
'label' => 'DirectIp',
'placeholder' => 'geoip:cn',
'description' => 'IP addresses for direct connection.'
],
'ProxySites' => [
'label' => 'ProxySites',
'placeholder' => 'geosite:com',
'description' => 'Sites that will be proxied.'
],
'ProxyIp' => [
'label' => 'ProxyIp',
'placeholder' => 'geoip:amazon',
'description' => 'IP addresses to be proxied.'
],
'BlockSites' => [
'label' => 'BlockSites',
'placeholder' => 'geosite:ads',
'description' => 'Sites that will be blocked.'
],
'BlockIp' => [
'label' => 'BlockIp',
'placeholder' => 'geoip:ads',
'description' => 'IP addresses that will be blocked.'
],
],
'DomainStrategy' => [
'label' => 'DomainStrategy',
'options' => [
'IPIfNonMatch' => 'IPIfNonMatch',
'IPOnDemand' => 'IPOnDemand',
'AsIs' => 'AsIs'
],
'description' => 'Select the domain processing strategy.'
],
'FakeDNS' => [
'label' => 'FakeDNS',
'options' => [
'false' => 'false',
'true' => 'true',
],
'description' => "Recommended to activate when using DoU"
],
'submit' => 'Generate'
]
];