-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathtypes.d.ts
186 lines (185 loc) · 4.85 KB
/
types.d.ts
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/** @link https://developer.chrome.com/docs/extensions/reference/api/i18n#locales */
export type LocaleCode =
| 'ar' // Arabic
| 'am' // Amharic
| 'bg' // Bulgarian
| 'bn' // Bengali
| 'ca' // Catalan
| 'cs' // Czech
| 'da' // Danish
| 'de' // German
| 'el' // Greek
| 'en' // English
| 'en_AU' // English (Australia)
| 'en_GB' // English (Great Britain)
| 'en_US' // English (USA)
| 'es' // Spanish
| 'es_419' // Spanish (Latin America and Caribbean)
| 'et' // Estonian
| 'fa' // Persian
| 'fi' // Finnish
| 'fil' // Filipino
| 'fr' // French
| 'gu' // Gujarati
| 'he' // Hebrew
| 'hi' // Hindi
| 'hr' // Croatian
| 'hu' // Hungarian
| 'id' // Indonesian
| 'it' // Italian
| 'ja' // Japanese
| 'kn' // Kannada
| 'ko' // Korean
| 'lt' // Lithuanian
| 'lv' // Latvian
| 'ml' // Malayalam
| 'mr' // Marathi
| 'ms' // Malay
| 'nl' // Dutch
| 'no' // Norwegian
| 'pl' // Polish
| 'pt_BR' // Portuguese (Brazil)
| 'pt_PT' // Portuguese (Portugal)
| 'ro' // Romanian
| 'ru' // Russian
| 'sk' // Slovak
| 'sl' // Slovenian
| 'sr' // Serbian
| 'sv' // Swedish
| 'sw' // Swahili
| 'ta' // Tamil
| 'te' // Telugu
| 'th' // Thai
| 'tr' // Turkish
| 'uk' // Ukrainian
| 'vi' // Vietnamese
| 'zh_CN' // Chinese (China)
| 'zh_TW' // Chinese (Taiwan)
export type Localization<T extends string = string> = {
/**
* Maximum of 45 characters.
*
* Random User-Agent (Switcher)
*/
manifest_name: T
/**
* No HTML or other formatting; no more than 132 characters.
*
* Automatically change the user agent ...
*/
manifest_description: T
/**
* The tooltip, or title, appears when the user hovers the mouse on the extension's icon in the toolbar.
*
* Randomize your User-Agent
*/
manifest_action_default_title: T
/** Get new agent */
manifest_command_renew_useragent: T
/** Active User-Agent */
active_user_agent: T
/** Pause Switcher */
pause_switcher: T
/** Resume Switcher */
unpause_switcher: T
/** Enable Switcher */
enable_switcher: T
/** Enabled on this domain */
enabled_on_this_domain: T
/** Sync the current OS with the generated user agent */
sync_useragent_with_host_os: T
/** Get new agent */
get_new_agent: T
/** Open settings */
open_settings: T
/** Donate */
make_donation: T
/** Bug report */
bug_report: T
/** General settings */
general_settings: T
/** Change the behavior of the switcher to best fit your needs */
general_settings_hint: T
/** Automatically change the User-Agent after specified period of time */
auto_renew: T
/** Time (in seconds) to automatically update the User-Agent */
auto_renew_interval: T
/** Change User-Agent on browser startup */
auto_renew_on_startup: T
/** Protect against detection by JavaScript */
js_protection: T
/** Use one of (in the randomized order) custom User-Agent instead generated */
custom_useragent: T
/** Custom User-Agents */
custom_useragent_list: T
/** Generator settings */
generator_settings: T
/** Here you can change the agent switching behavior */
generator_settings_hint: T
/** Blacklist settings */
blacklist_settings: T
/** Blacklist mode - ... */
blacklist_settings_hint: T
/** Blacklist mode */
blacklist_mode: T
/** Whitelist mode */
whitelist_mode: T
/** Domain names list */
blacklist_domains: T
/** Remove */
remove: T
/** Save changes */
save_changes: T
/** Error occurred */
error_occurred: T
/** Do you like this extension? */
like_this_extension: T
/** Give us a star on GitHub! */
give_a_star_on_github: T
/** Use one of (in the randomized order) the User-Agents from the list by the following URL */
remote_useragent_list: T
/** The extension will periodically download it to keep it up to date*/
remote_useragent_list_hint: T
/** Updating interval ... */
remote_useragent_updating_interval: T
/** Update now */
update_now: T
/** Please, rate this addon! */
please_rate_extension: T
/** Edge on Windows */
edge_win: T
/** Edge on Mac */
edge_mac: T
/** Chrome on Windows */
chrome_win: T
/** Chrome on Mac */
chrome_mac: T
/** Chrome on Linux */
chrome_linux: T
/** Chrome on Android */
chrome_android: T
/** FireFox on Windows */
firefox_win: T
/** FireFox on Mac */
firefox_mac: T
/** FireFox on Linux */
firefox_linux: T
/** Firefox on Android */
firefox_android: T
/** Opera on Windows */
opera_win: T
/** Opera on Mac */
opera_mac: T
/** Safari on iPhone */
safari_iphone: T
/** Safari on Mac */
safari_mac: T
/** To function properly, the extension requires ... */
why_we_need_permissions: T
/** Read and modify all your data ... */
read_and_modify_data: T
/** to inject the necessary scripts into the pages (note: in lower case) */
read_and_modify_data_reason: T
/** Grant permissions */
grant_permission_button: T
}