This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwsdic.lua
67 lines (52 loc) · 2.3 KB
/
wsdic.lua
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
script_name = "[0] Asistent Traducere"
script_description = "Dicționare"
script_author = "Fmohican"
script_version = "1.1"
function google()
os.execute("rundll32 url.dll,FileProtocolHandler https://www.google.ro/")
end
function cambridge()
os.execute("rundll32 url.dll,FileProtocolHandler https://dictionary.cambridge.org/")
end
function mac()
os.execute("rundll32 url.dll,FileProtocolHandler http://www.macmillandictionaries.com/dictionary-online/")
end
function dex()
os.execute("rundll32 url.dll,FileProtocolHandler https://dexonline.ro/")
end
function urban()
os.execute("rundll32 url.dll,FileProtocolHandler https://www.urbandictionary.com/")
end
function ox()
os.execute("rundll32 url.dll,FileProtocolHandler https://en.oxforddictionaries.com/")
end
function medical()
os.execute("rundll32 url.dll,FileProtocolHandler https://www.emedicinehealth.com/medical-dictionary-definitions/article_em.htm")
end
function engineering()
os.execute("rundll32 url.dll,FileProtocolHandler https://www.engineering-dictionary.com/")
end
function Tech()
os.execute("rundll32 url.dll,FileProtocolHandler https://techterms.com/category/technical")
end
function hallo()
os.execute("rundll32 url.dll,FileProtocolHandler https://hallo.ro/")
end
function googletl()
os.execute("rundll32 url.dll,FileProtocolHandler \"https://translate.google.ro/#en/ro/\"")
end
function reverso()
os.execute("rundll32 url.dll,FileProtocolHandler http://context.reverso.net/traducere/")
end
aegisub.register_macro(script_name .. "/00. Caută pe google", "", google)
aegisub.register_macro(script_name .. "/01. Hallo.RO", "", hallo)
aegisub.register_macro(script_name .. "/02. Reverso Context", "", reverso)
aegisub.register_macro(script_name .. "/03. DEX", "", dex)
aegisub.register_macro(script_name .. "/04. Cambridge", "", cambridge)
aegisub.register_macro(script_name .. "/05. Oxford", "", ox)
aegisub.register_macro(script_name .. "/06. Macmillan", "", mac)
aegisub.register_macro(script_name .. "/07. Google Traduceri", "", googletl)
aegisub.register_macro(script_name .. "/08. Urban Dictionary", "", urban)
aegisub.register_macro(script_name .. "/09. Dicționar Medical", "", medical)
aegisub.register_macro(script_name .. "/10. Dicționar Mecanic și Ingineresc", "", engineering)
aegisub.register_macro(script_name .. "/11. Dicționar Tehnic", "", Tech)