WoWInterface SVN CraftFilter

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 2 to Rev 3
    Reverse comparison

Rev 2 → Rev 3

trunk/locale/itIT.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="itIT" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
return end
\ No newline at end of file
trunk/locale/enES.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="esES" or namespace.locale=="esMX" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
return end
\ No newline at end of file
trunk/locale/enUS.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="enUS" or namespace.locale=="enGB" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
return end
\ No newline at end of file
trunk/locale/zhTW.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="zhTW" then
L["100"] = "75"
L["Shadowlands"] = "暗影之境"
return end
\ No newline at end of file
trunk/locale/ruRU.lua New file
0,0 → 1,5
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="ruRU" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
\ No newline at end of file
trunk/locale/frFR.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="frFR" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
return end
\ No newline at end of file
trunk/locale/deDE.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="deDE"then
L["100"] = "100"
L["Shadowlands"] = "Schattenlande"
return end
\ No newline at end of file
trunk/locale/zhCN.lua New file
0,0 → 1,7
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="zhCN" then
L["100"] = "75"
L["Shadowlands"] = "暗影国度"
return end
return end
\ No newline at end of file
trunk/locale/koKR.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="koKR" then
L["100"] = "55"
L["Shadowlands"] = "어둠땅이"
return end
\ No newline at end of file
trunk/locale/ptBR.lua New file
0,0 → 1,6
local ADDON_NAME,namespace=...
local L=namespace.L
if namespace.locale=="ptBR" or namespace.locale=="ptPT" then
L["100"] = "95"
L["Shadowlands"] = "Shadowlands"
return end
\ No newline at end of file
trunk/locale/core.lua New file
0,0 → 1,8
local _,namespace=...
namespace.locale=GetLocale()
local L=setmetatable({},{__index=function(t,k)
local v=tostring(k)
rawset(t,k,v)
return v
end})
namespace.L=L
\ No newline at end of file
trunk/core.lua New file
0,0 → 1,23
local ADDON_NAME,namespace=...
local L=namespace.L
LoadAddOn('Blizzard_TradeSkillUI')
local btn_SL=CreateFrame('Button',nil,TradeSkillFrame,'UIPanelButtonTemplate')
do
btn_SL:SetText(L["Shadowlands"])
btn_SL:SetWidth(L["100"])
btn_SL:SetHeight(25)
btn_SL:ClearAllPoints()
btn_SL:SetPoint('LEFT',TradeSkillFrame.SearchBox,'RIGHT',3,0)
btn_SL:SetScript('OnClick',function(self, key)
local categories={C_TradeSkillUI.GetCategories()}
local categoryData
C_TradeSkillUI.ClearRecipeCategoryFilter()
for i,categoryID in ipairs(categories) do
categoryData = C_TradeSkillUI.GetCategoryInfo(categoryID)
if string.find(categoryData.name,L["Shadowlands"]) or string.find(categoryData.name,L["Shadowlands"]) then
C_TradeSkillUI.SetRecipeCategoryFilter(categoryID)
break
end
end
end)
end
\ No newline at end of file
trunk/CraftFilter.toc New file
0,0 → 1,22
## Interface: 90002
## Title: Filter for all professions (Shadowlands)
## Author: Shexyriar
## Version: 9.0.1
 
## RequiredDeps: Blizzard_TradeSkillUI
## LoadManagers: AddonLoader
## X-LoadOn-Always: true
 
locale\core.lua
locale\enUS.lua
locale\deDE.lua
locale\enES.lua
locale\frFR.lua
locale\itIT.lua
locale\koKR.lua
locale\ptBR.lua
locale\ruRU.lua
locale\zhCN.lua
locale\zhTW.lua
 
core.lua
\ No newline at end of file