help_c.lua 5.2 KB
Newer Older
1
local SLE, T, E, L, V, P, G = unpack(select(2, ...))
Darth Predator's avatar
Options  
Darth Predator committed
2

3
4
5
6
7
8
9
10
11
--  GLOBALS: unpack, select, tinsert

--* Leave here as there is no need for translation
L["ELVUI_SLE_DONORS"] = [[Anthony Ross
Bogdan Vozniuk
Christopher Yallalee
Chun Kim
Cyntia McCarthy
Jason Grier
Repooc's avatar
Repooc committed
12
Jeremy G.
13
14
15
16
17
18
Joe Quarles
Jonathan Sweet
Katherine Clarkson
Marguerite F
Nicholas Caldecutt
Richard Gardner
Repooc's avatar
Repooc committed
19
20
Tony Ellis
Justin]]
21
22
L["ELVUI_SLE_PATRONS"] = [[Ali A
Andre E.
Repooc's avatar
Repooc committed
23
Jeremy G.
Repooc's avatar
Repooc committed
24
Mark K.
25
26
Peter aka Pete
Sean G.
Repooc's avatar
Repooc committed
27
Syed
Repooc's avatar
Repooc committed
28
29
TherapyWOW
Thurin]]
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
L["ELVUI_SLE_CODERS"] = [[Elv
Tukz
Affinitii
Arstraea
Azilroka
Benik, The Slacker
Blazeflack
Boradan
Camealion
Merathilis, The Confused
Nils Ruesch
Omega1970
Pvtschlag
Shenzo
Simpy, The Heretic
Sinaris
Swordyy
Whiro]]


Repooc's avatar
Repooc committed
50
local function configTable()
51
	if not SLE.initialized then return end
Repooc's avatar
Repooc committed
52
	local ACH = E.Libs.ACH
53

54
55
56
57
58
59
60
61
62
	local function CreateQuestion(i, text)
		local question = {
			type = 'group', name = '', order = i, guiInline = true,
			args = {
				q = { order = 1, type = 'description', fontSize = 'medium', name = text },
			},
		}
		return question
	end
Darth Predator's avatar
Darth Predator committed
63

Repooc's avatar
Repooc committed
64
	--Main options group
Darth Predator's avatar
Darth Predator committed
65
	E.Options.args.sle.args.help = {
Repooc's avatar
Repooc committed
66
		type = 'group',
Darth Predator's avatar
Darth Predator committed
67
		name = L["About/Help"]..[[ |TInterface\MINIMAP\TRACKING\OBJECTICONS:14:14:0:0:256:64:60:90:32:64|t]],
Darth Predator's avatar
Darth Predator committed
68
		order = 90,
Darth Predator's avatar
Darth Predator committed
69
		childGroups = 'tab',
Repooc's avatar
Repooc committed
70
		args = {
Repooc's avatar
Repooc committed
71
			header = ACH:Header(L["About/Help"], 1),
Darth Predator's avatar
Darth Predator committed
72
			about = {
Darth Predator's avatar
Darth Predator committed
73
				type = 'group', name = L["About"].." "..E.NewSign, order = 2,
Darth Predator's avatar
Darth Predator committed
74
				args = {
Repooc's avatar
Repooc committed
75
					content = ACH:Description("\n"..L["SLE_DESC"], 2, "medium"),
Darth Predator's avatar
Darth Predator committed
76
				},
Repooc's avatar
Repooc committed
77
			},
Darth Predator's avatar
Darth Predator committed
78
79
			faq = {
				type = 'group',
Darth Predator's avatar
Darth Predator committed
80
				name = [[FAQ |TInterface\MINIMAP\TRACKING\OBJECTICONS:14:14:0:0:256:64:60:90:32:64|t]],
Darth Predator's avatar
Darth Predator committed
81
				order = 5,
Darth Predator's avatar
Teh BS  
Darth Predator committed
82
				childGroups = "select",
Darth Predator's avatar
Darth Predator committed
83
				args = {
Repooc's avatar
Repooc committed
84
					desc = ACH:Description(L["FAQ_DESC"], 1, "medium"),
Darth Predator's avatar
Teh BS  
Darth Predator committed
85
					elvui = {
Darth Predator's avatar
Darth Predator committed
86
						type = 'group', order = 10, name = "ElvUI",
Darth Predator's avatar
Darth Predator committed
87
						args = {
88
89
90
91
92
							q1 = CreateQuestion(1, L["FAQ_Elv_1"]),
							q2 = CreateQuestion(2, L["FAQ_Elv_2"]),
							q3 = CreateQuestion(3, L["FAQ_Elv_3"]),
							q4 = CreateQuestion(4, L["FAQ_Elv_4"]),
							q5 = CreateQuestion(5, L["FAQ_Elv_5"]),
Darth Predator's avatar
Darth Predator committed
93
94
						},
					},
Darth Predator's avatar
Teh BS  
Darth Predator committed
95
					sle = {
Darth Predator's avatar
Darth Predator committed
96
						type = 'group', order = 20, name = "Shadow & Light",
Darth Predator's avatar
Darth Predator committed
97
						args = {
98
99
100
101
102
							q1 = CreateQuestion(1, L["FAQ_sle_1"]),
							q2 = CreateQuestion(2, L["FAQ_sle_2"]),
							q3 = CreateQuestion(3, L["FAQ_sle_3"]),
							q4 = CreateQuestion(4, L["FAQ_sle_4"]),
							q5 = CreateQuestion(5, L["FAQ_sle_5"]),
Darth Predator's avatar
Darth Predator committed
103
104
						},
					},
Darth Predator's avatar
Darth Predator committed
105
106
				},
			},
Darth Predator's avatar
Darth Predator committed
107
108
			links = {
				type = 'group',
Darth Predator's avatar
Darth Predator committed
109
				name = L["Links"]..[[ |TInterface\MINIMAP\TRACKING\FlightMaster:16:16|t]],
Darth Predator's avatar
Darth Predator committed
110
111
				order = 10,
				args = {
Repooc's avatar
Repooc committed
112
					desc = ACH:Description(L["LINK_DESC"], 1, "medium"),
Darth Predator's avatar
Darth Predator committed
113
					tukuilink = {
Darth Predator's avatar
Darth Predator committed
114
						order = 2, type = 'input', width = 'full', name = "TukUI.org",
Repooc's avatar
Repooc committed
115
						get = function(info) return "https://www.tukui.org/addons.php?id=38" end,
Darth Predator's avatar
Darth Predator committed
116
117
					},
					curselink= {
Darth Predator's avatar
Darth Predator committed
118
						order = 3, type = 'input', width = 'full', name = "Curse.com",
Repooc's avatar
Repooc committed
119
						get = function(info) return "https://www.curseforge.com/wow/addons/elvui-shadow-light" end,
Darth Predator's avatar
Darth Predator committed
120
121
					},
					gitlablink = {
Darth Predator's avatar
Darth Predator committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
						order = 4, type = 'input', width = 'full', name = L["GitLab Link / Report Errors"],
						get = function(info) return "https://git.tukui.org/shadow-and-light/shadow-and-light" end,
					},
					patreon = {
						order = 10, type = 'input', width = 'full', name = "Patreon |TInterface\\MONEYFRAME\\UI-GoldIcon:14:14|t",
						get = function(info) return "https://patreon.com/shadow_and_light" end,
					},
					donate = {
						order = 11, type = 'input', width = 'full', name = L["Donate"].." |TInterface\\MONEYFRAME\\UI-GoldIcon:14:14|t",
						get = function(info) return "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EJB4DRU7QZYMG&source=url" end,
					},
				},
			},
			patrons = {
				order = 100,
				type = 'group',
				-- name = L["Patrons"]..[[ |TInterface\MONEYFRAME\UI-GoldIcon:14:14|t]],
				name = L["Patrons"]..[[ |TInterface\BUTTONS\UI-GroupLoot-Coin-Up:16:16|t]],
				args = {
Repooc's avatar
Repooc committed
141
					header = ACH:Header(L["Patreons"], 1),
Darth Predator's avatar
Darth Predator committed
142
143
144
145
146
147
					patrons = {
						order = 2,
						type = "group",
						guiInline = true,
						name = L["Patrons"],
						args = {
Repooc's avatar
Repooc committed
148
							desc = ACH:Description(L["ELVUI_SLE_PATREON_TITLE"]..'\n\n', 1),
Repooc's avatar
Repooc committed
149
							list = ACH:Description(L["ELVUI_SLE_PATRONS"], 2, nil, nil, nil, nil, nil, "half"),
Darth Predator's avatar
Darth Predator committed
150
151
152
153
154
155
156
157
						},
					},
					donors = {
						order = 3,
						type = "group",
						guiInline = true,
						name = L["Donors"],
						args = {
Repooc's avatar
Repooc committed
158
							desc = ACH:Description(L["ELVUI_SLE_DONORS_TITLE"]..'\n\n', 1),
Repooc's avatar
Repooc committed
159
							list = ACH:Description(L["ELVUI_SLE_DONORS"], 2, nil, nil, nil, nil, nil, "half"),
Darth Predator's avatar
Darth Predator committed
160
						},
Darth Predator's avatar
Darth Predator committed
161
162
					},
				},
Repooc's avatar
Repooc committed
163
			},
Darth Predator's avatar
Some BS  
Darth Predator committed
164
165
166
167
			--Credits
			credits = {
				order = 400,
				type = 'group',
Darth Predator's avatar
Darth Predator committed
168
				name = L["Credits"]..[[ |TInterface\AddOns\ElvUI_SLE\media\textures\Chat_Test:14:14|t]],
Darth Predator's avatar
Some BS  
Darth Predator committed
169
				args = {
Repooc's avatar
Repooc committed
170
171
					header = ACH:Header(L["Credits"], 1),
					desc = ACH:Description(L["ELVUI_SLE_CREDITS"].."\n\n", 2),
Darth Predator's avatar
Darth Predator committed
172
173
174
175
176
177
					coding = {
						order = 3,
						type = "group",
						guiInline = true,
						name = L["Submodules and Coding:"],
						args = {
Repooc's avatar
Repooc committed
178
							list = ACH:Description(L["ELVUI_SLE_CODERS"], 1),
Darth Predator's avatar
Darth Predator committed
179
180
181
182
183
184
185
186
						},
					},
					misc = {
						order = 4,
						type = "group",
						guiInline = true,
						name = L["Other Support:"],
						args = {
Repooc's avatar
Repooc committed
187
							list = ACH:Description(L["ELVUI_SLE_MISC"], 2),
Darth Predator's avatar
Darth Predator committed
188
						},
Darth Predator's avatar
Some BS  
Darth Predator committed
189
190
191
					},
				},
			},
Darth Predator's avatar
Options  
Darth Predator committed
192
		},
Repooc's avatar
Repooc committed
193
	}
Darth Predator's avatar
Options  
Darth Predator committed
194
195
end

Repooc's avatar
Repooc committed
196
tinsert(SLE.Configs, configTable)