Rename the addon to ShagaTweaks
The addon folder, toc files and title are now ShagaTweaks, and the modules that load their own textures look them up in the ShagaTweaks folder. The Lua namespace (ShaguTweaks) and the saved variables (ShaguTweaks_config, ShaguTweaks_cache) keep their names, so existing settings carry over and addons that integrate with ShaguTweaks keep working. /st also answers to /shagatweaks.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
## Interface: 20400
|
||||
## Title: |cffffcc00Shagu|cffffffffTweaks |cffff5555[BETA]
|
||||
## Title: |cffffcc00Shaga|cffffffffTweaks |cffff5555[BETA]
|
||||
## Author: Shagu
|
||||
## Notes: A collection of tweaks and enhancements to the Default UI
|
||||
## Notes-ruRU: Коллекция настроек и улучшений для стандартного пользовательского интерфейса.
|
||||
@@ -1,5 +1,5 @@
|
||||
## Interface: 11200
|
||||
## Title: |cffffcc00Shagu|cffffffffTweaks
|
||||
## Title: |cffffcc00Shaga|cffffffffTweaks
|
||||
## Author: Shagu
|
||||
## Notes: A collection of tweaks and enhancements to the Default UI
|
||||
## Notes-ruRU: Коллекция настроек и улучшений для стандартного пользовательского интерфейса.
|
||||
@@ -107,7 +107,7 @@ local stdout = function(msg)
|
||||
end
|
||||
|
||||
-- add /st slash command for custom config overwrites
|
||||
SLASH_STWEAKS1, SLASH_STWEAKS2, SLASH_STWEAKS3 = "/st", "/stweaks", "/shagutweaks"
|
||||
SLASH_STWEAKS1, SLASH_STWEAKS2, SLASH_STWEAKS3, SLASH_STWEAKS4 = "/st", "/stweaks", "/shagatweaks", "/shagutweaks"
|
||||
SlashCmdList["STWEAKS"] = function(msg)
|
||||
local cmd = { ShaguTweaks.strsplit(" ", msg) }
|
||||
if cmd[1] == "reset" then
|
||||
@@ -138,7 +138,7 @@ SlashCmdList["STWEAKS"] = function(msg)
|
||||
stdout(string.format(text, index, input), 1, 1, 1, 1)
|
||||
end
|
||||
else
|
||||
stdout("|cffffcc00Shagu|rTweaks overwrites:", 1, 1, 1, 1)
|
||||
stdout("|cffffcc00Shaga|rTweaks overwrites:", 1, 1, 1, 1)
|
||||
stdout("|cffffcc00|r", 1, 1, 1, 1)
|
||||
stdout("|cffff5555Warning:|r This is for experienced users only. Do not change values unless you know what you're doing. Use '/st reset' before submitting any bug.", 1, .8, .8, 1)
|
||||
stdout("|cffffcc00|r", 1, 1, 1, 1)
|
||||
|
||||
@@ -13,7 +13,7 @@ local module = ShaguTweaks:register({
|
||||
local addonpath
|
||||
local tocs = { "", "-master", "-tbc", "-wotlk" }
|
||||
for _, name in pairs(tocs) do
|
||||
local current = string.format("ShaguTweaks%s", name)
|
||||
local current = string.format("ShagaTweaks%s", name)
|
||||
local _, title = GetAddOnInfo(current)
|
||||
if title then
|
||||
addonpath = "Interface\\AddOns\\" .. current
|
||||
|
||||
@@ -4,7 +4,7 @@ local T = ShaguTweaks.T
|
||||
local addonpath
|
||||
local tocs = { "", "-master", "-tbc", "-wotlk" }
|
||||
for _, name in pairs(tocs) do
|
||||
local current = string.format("ShaguTweaks%s", name)
|
||||
local current = string.format("ShagaTweaks%s", name)
|
||||
local _, title = GetAddOnInfo(current)
|
||||
if title then
|
||||
addonpath = "Interface\\AddOns\\" .. current
|
||||
|
||||
@@ -12,7 +12,7 @@ local module = ShaguTweaks:register({
|
||||
local addonpath
|
||||
local tocs = { "", "-master", "-tbc", "-wotlk" }
|
||||
for _, name in pairs(tocs) do
|
||||
local current = string.format("ShaguTweaks%s", name)
|
||||
local current = string.format("ShagaTweaks%s", name)
|
||||
local _, title = GetAddOnInfo(current)
|
||||
if title then
|
||||
addonpath = "Interface\\AddOns\\" .. current
|
||||
|
||||
Reference in New Issue
Block a user