Commit 471d1a21 authored by Repooc's avatar Repooc
Browse files

Give the "Reset All" a popup for verification for people.

parent 72df0076
......@@ -287,4 +287,14 @@ E.PopupDialogs["SLE_APPLY_FONT_WARNING"] = {
timeout = 0,
whileDead = 1,
hideOnEscape = false,
}
E.PopupDialogs["SLE_RESET_ALL"] = {
text = L["WARNING: This will reset all movers & options for S&L and reload the screen."],
button1 = ACCEPT,
button2 = CANCEL,
OnAccept = function() SLE:Reset("all") end,
timeout = 0,
whileDead = 1,
hideOnEscape = false,
}
\ No newline at end of file
......@@ -68,6 +68,7 @@ L["SLE_LOGIN_MSG"] = "|cff9482c9Shadow & Light|r Version |cff1784d1%s%s|r für E
L["Plugin for |cff1784d1ElvUI|r by\nDarth Predator and Repooc."] = "Plugin für |cff1784d1ElvUI|r von\nDarth Predator und Repooc."
L["Reset All"] = "Alles zurücksetzen"
L["Resets all movers & options for S&L."] = "Setzt alle Movers & Optionen für S&L zurück."
L["WARNING: This will reset all movers & options for S&L and reload the screen."] = true
L["Reset these options to defaults"] = "Setze die Optionen auf Standard zurück"
L["Modules designed for older expantions"] = "Module für die älteren Erweiterungen"
L["Game Menu Buttons"] = "Spielmenü Knopf"
......
......@@ -67,6 +67,7 @@ L["SLE_LOGIN_MSG"] = "|cff9482c9Shadow & Light|r version |cff1784d1%s%s|r for El
L["Plugin for |cff1784d1ElvUI|r by\nDarth Predator and Repooc."] = true
L["Reset All"] = "모두 초기화"
L["Resets all movers & options for S&L."] = "S&L의 모든 이동요소와 설정을 초기화합니다."
L["WARNING: This will reset all movers & options for S&L and reload the screen."] = true
L["Reset these options to defaults"] = "이 항목들 기본값으로 초기화"
L["Modules designed for older expantions"] = true
L["Game Menu Buttons"] = "게임 메뉴 버튼"
......
......@@ -67,6 +67,7 @@ L["SLE_LOGIN_MSG"] = "|cff9482c9Shadow & Light|r версии |cff1784d1%s%s|r
L["Plugin for |cff1784d1ElvUI|r by\nDarth Predator and Repooc."] = "Плагин для |cff1784d1ElvUI|r от\nDarth Predator'а и Repooc'а"
L["Reset All"] = "Сбросить все"
L["Resets all movers & options for S&L."] = "Сбросить все фиксаторы и опции S&L"
L["WARNING: This will reset all movers & options for S&L and reload the screen."] = true
L["Reset these options to defaults"] = "Восстановить умолчания для этих опций"
L["Modules designed for older expantions"] = "Модули для предыдущих дополнений"
L["Game Menu Buttons"] = "Кнопки главного меню"
......
......@@ -55,7 +55,8 @@ local function configTable()
type = 'execute',
name = L["Reset All"],
desc = L["Resets all movers & options for S&L."],
func = function() SLE:Reset("all") end,
func = function() E:StaticPopup_Show("SLE_RESET_ALL") end,
--func = function() SLE:Reset("all") end,
},
modulesButton = CreateButton(7, L["Modules"], "modules"),
mediaButton = CreateButton(8, L["Media"], "media"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment