Skip to content

Commit

Permalink
added config option to delete prio list
Browse files Browse the repository at this point in the history
  • Loading branch information
dieck committed May 21, 2020
1 parent 0b152f8 commit 9c06df5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ prioOptionsTable = {
type = "group",
name = "Import",
args = {
newline0 = { name="", type="description", order=30 },
cleartable = {
name = L["Clear prio table"],
desc = L["Please note that current Prio settings WILL BE OVERWRITTEN"],
type = "execute",
order = 31,
confirm = true,
func = function(info) Prio3.db.profile.priorities = {} end,
},
newprio = {
name = L["Import String"],
desc = L["Please note that current Prio settings WILL BE OVERWRITTEN"],
Expand Down
1 change: 1 addition & 0 deletions locale-deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ L["Whisper imports"] = "Bei Import zuflüstern"
L["Whisper imported items to player"] = "Den Spieler nach dem Import über seine Prioritäten informieren."
L["Open prio table after import"] = "Öffne Prio Tabelle nach dem Import"
L["Show prio table"] = "Zeige Prio Tabelle"
L["Clear prio table"] = "Leere Prio Tabelle"
L["Debug"] = "Debug"
L["Enters Debug mode. Addon will have advanced output, and work outside of Raid"] = "Debug-Modus anschalten. Mehr Ausgaben, und es funktioniert außerhalb von Raids."
L["You will need to /roll when item is up."] = "Du wirst darum /würfeln müssen wenn das Item verteilt wird."
Expand Down
1 change: 1 addition & 0 deletions locale-enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ L["Whisper imports"] = "Whisper imports"
L["Whisper imported items to player"] = "Whisper imported items to player"
L["Open prio table after import"] = "Open prio table after import"
L["Show prio table"] = "Show prio table"
L["Clear prio table"] = "Clear prio table"
L["Debug"] = "Debug"
L["Enters Debug mode. Addon will have advanced output, and work outside of Raid"] = "Enters Debug mode. Addon will have advanced output, and work outside of Raid"
L["You will need to /roll when item is up."] = "You will need to /roll when item is up."
Expand Down

0 comments on commit 9c06df5

Please sign in to comment.