Quantcast

Added faq

Darthpred [06-06-15 - 12:17]
Added faq
Filename
ElvUI_SLE/locales/english.lua
ElvUI_SLE/locales/russian.lua
ElvUI_SLE/options/help_c.lua
diff --git a/ElvUI_SLE/locales/english.lua b/ElvUI_SLE/locales/english.lua
index 66c08cf..bd12c8d 100644
--- a/ElvUI_SLE/locales/english.lua
+++ b/ElvUI_SLE/locales/english.lua
@@ -105,6 +105,23 @@ L["UB_DESC"] = "This adds a small bar with some useful buttons which acts as a s
 --About/help--
 L["LINK_DESC"] = [[Following links will direct you to the Shadow & Light's pages on various sites.]]

+--FAQ--
+L["FAQ_DESC"] = "This section contains popular questions about Shadow & Light."
+L["FAQ_1"] = [[|cff30ee30Q: What to do if I encounter an error is Shadow & Light?|r
+|cff9482c9A:|r First you need to ensure the error really comes from S&L.
+To do so you need to disable all other addons except of ElvUI, ElvUI_Config and S&L.
+If error didn't disappear then you need to send us a bug report. The link is in the next section.
+In it you'll need to provide S&L version, ElvUI version, the text of the error, screenshot if needed.]]
+L["FAQ_2"] = [[|cff30ee30Q: How do I send a bug report is my English is not very good?|r
+|cff9482c9A:|r Basically it doesn't matter really. Officially we provide support in English and Russian.
+But tukui.org community is very diverce and our most active members are speaking different languadges thus we can ask someone to translate whatever you wrote.]]
+L["FAQ_3"] = [[|cff30ee30Q: Why are layouts' screenshots on download page are different from what I see in game?|r
+|cff9482c9A:|r Because we just forgot to update those.]]
+L["FAQ_4"] = [[|cff30ee30Q: Why I see some weird icons near some peoples' names in chat?|r
+|cff9482c9A:|r Those icons are provided by S&L and are associated with people we'd like to highlight in any way.
+For example: |TInterface\AddOns\ElvUI_SLE\media\textures\SLE_Chat_LogoD:0:2|t is the icon for Darth's characters and |TInterface\AddOns\ElvUI_SLE\media\textures\SLE_Chat_Logo:0:2|t is for Repooc's.]]
+
+
 --Credits--
 L["ELVUI_SLE_CREDITS"] = "We would like to point out the following people for helping us create this addon with testing, coding, and other stuff."
 L["ELVUI_SLE_CODERS"] = [=[Elv
diff --git a/ElvUI_SLE/locales/russian.lua b/ElvUI_SLE/locales/russian.lua
index 36ca6b7..6d84124 100644
--- a/ElvUI_SLE/locales/russian.lua
+++ b/ElvUI_SLE/locales/russian.lua
@@ -483,6 +483,23 @@ L["Set the height of Error Frame. Higher frame can show more lines at once."] =
 --Quests--
 L["Rested"] = "Отдых"

+--FAQ--
+L["FAQ_DESC"] = "В этой секции представлены популярные вопросы о Shadow & Light."
+L["FAQ_1"] = [[|cff30ee30В: Что делать, если я получаю сообщения об ошибках в Shadow & Light?|r
+|cff9482c9О:|r Прежде всего убедитесь, что ошибка вызвана S&L.
+Для этого отключите все аддоны, кроме ElvUI, ElvUI_Config и S&L.
+Если ошибка остается, то необходимо отправить нам баг репорт, ссылка на соседней вкладке.
+Необходимо будет указать версии S&L и ElvUI, текст ошибки и, при необходимости, скриншот.]]
+L["FAQ_2"] = [[|cff30ee30В: Как отправить репорт, если у меня плохо с английским?|r
+|cff9482c9О:|r В принципе это не имеет значения. Официально мы оказываем поддержку на английском и русском языках.
+Но сообщество tukui.org довольно разнообразно, в нем есть люди, говорящие на многих языках. В крайнем случае мы можем попросить их помочь с переводом.]]
+L["FAQ_3"] = [[|cff30ee30В: Почему шаблоны интерфейса в игре не похожи на то, что я видел на скриншотах на странице аддона?r
+|cff9482c9О:|r Потому что мы просто забыли их обновить.]]
+L["FAQ_4"] = [[|cff30ee30В: Почему я вижу странные иконки около имен некоторых людей в чате?|r
+|cff9482c9О:|r Эти ионки обозначают людей, которых мы хотели выделить по той или инй причине.
+Например: |TInterface\AddOns\ElvUI_SLE\media\textures\SLE_Chat_LogoD:0:2|t иконка для персонажей Дарта, а |TInterface\AddOns\ElvUI_SLE\media\textures\SLE_Chat_Logo:0:2|t для персонажей Repooc'а.]]
+
+
 --Credits--
 L["Submodules and Coding:"] = "Субмодули и помощь с кодом:"
 L["Other Support:"] = "Прочая поддержка:"
diff --git a/ElvUI_SLE/options/help_c.lua b/ElvUI_SLE/options/help_c.lua
index 5b6453d..ebccd0f 100644
--- a/ElvUI_SLE/options/help_c.lua
+++ b/ElvUI_SLE/options/help_c.lua
@@ -22,49 +22,75 @@ local function configTable()
 					},
 				},
 			},
-			-- faq = {
-				-- type = 'group',
-				-- name = 'FAQ',
-				-- order = 5,
-				-- args = {
-					-- desc = {
-						-- order = 1,
-						-- type = 'description',
-						-- fontSize = 'medium',
-						-- name = 'Da FAQz!!!!',
-					-- },
-					-- q1 = {
-						-- type = 'group',
-						-- name = '',
-						-- order = 2,
-						-- guiInline = true,
-						-- args = {
-							-- q = {
-								-- order = 1,
-								-- type = 'description',
-								-- fontSize = 'medium',
-								-- name = [[|cff30ee30Q: Imma be da first question!|r
--- A: Imma be da first answerz]],
-							-- },
-						-- },
-					-- },
-					-- q2 = {
-						-- type = 'group',
-						-- name = '',
-						-- order = 3,
-						-- guiInline = true,
-						-- args = {
-							-- q = {
-								-- order = 2,
-								-- type = 'description',
-								-- fontSize = 'medium',
-								-- name = [[|cff30ee30Q: Imma be da second question!|r
--- A: Imma be da second answerz]],
-							-- },
-						-- },
-					-- },
-				-- },
-			-- },
+			faq = {
+				type = 'group',
+				name = 'FAQ',
+				order = 5,
+				args = {
+					desc = {
+						order = 1,
+						type = 'description',
+						fontSize = 'medium',
+						name = L["FAQ_DESC"],
+					},
+					q1 = {
+						type = 'group',
+						name = '',
+						order = 2,
+						guiInline = true,
+						args = {
+							q = {
+								order = 1,
+								type = 'description',
+								fontSize = 'medium',
+								name = L["FAQ_1"],
+							},
+						},
+					},
+					q2 = {
+						type = 'group',
+						name = '',
+						order = 3,
+						guiInline = true,
+						args = {
+							q = {
+								order = 2,
+								type = 'description',
+								fontSize = 'medium',
+								name = L["FAQ_2"],
+							},
+						},
+					},
+					q3 = {
+						type = 'group',
+						name = '',
+						order = 4,
+						guiInline = true,
+						args = {
+							q = {
+								order = 2,
+								type = 'description',
+								fontSize = 'medium',
+								name = L["FAQ_3"],
+							},
+						},
+					},
+					q4 = {
+						type = 'group',
+						name = '',
+						order = 5,
+						guiInline = true,
+						args = {
+							q = {
+								order = 2,
+								type = 'description',
+								fontSize = 'medium',
+								name = L["FAQ_4"],
+							},
+						},
+					},
+				},
+			},
 			links = {
 				type = 'group',
 				name = L['Links'],