James D. Callahan III [07-07-10 - 06:47]
diff --git a/Frame.lua b/Frame.lua
index efd6240..8eb266d 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -862,7 +862,7 @@ do
else
color_2 = difficulty["trivial"]
end
- ttAdd(0, -1, false, L["Required Skill"] .. " :", color_1, recipe.skill_level, color_2)
+ ttAdd(0, -1, false, string.format("%s:", _G.SKILL_LEVEL), color_1, recipe.skill_level, color_2)
-- Binding info
acquire_tip:AddSeparator()
@@ -3213,7 +3213,7 @@ end -- do
-------------------------------------------------------------------------------
-- Create the close button, and set its scripts.
-------------------------------------------------------------------------------
-MainPanel.close_button = GenericCreateButton(nil, MainPanel, 24, 111, "GameFontNormalSmall", "GameFontHighlightSmall", L["Close"], "CENTER", L["CLOSE_DESC"], 1)
+MainPanel.close_button = GenericCreateButton(nil, MainPanel, 24, 111, "GameFontNormalSmall", "GameFontHighlightSmall", _G.EXIT, "CENTER", L["CLOSE_DESC"], 1)
MainPanel.close_button:SetPoint("LEFT", MainPanel.progress_bar, "RIGHT", 3, 1)
MainPanel.close_button:SetScript("OnClick",
@@ -3822,15 +3822,19 @@ local function InitializeFrame()
-------------------------------------------------------------------------------
do
local player_frame = MainPanel.filter_menu:CreateSubMenu("player")
+ local tank_desc = string.format(L["ROLE_DESC_FORMAT"], _G.TANK)
+ local melee_desc = string.format(L["ROLE_DESC_FORMAT"], _G.MELEE)
+ local healer_desc = string.format(L["ROLE_DESC_FORMAT"], _G.HEALER)
+ local caster_desc = string.format(L["ROLE_DESC_FORMAT"], _G.DAMAGER)
-------------------------------------------------------------------------------
-- Create the CheckButtons
-------------------------------------------------------------------------------
local role_buttons = {
- ["tank"] = { tt = L["TANKS_DESC"], text = _G.TANK, row = 1, col = 1 },
- ["melee"] = { tt = L["MELEE_DPS_DESC"], text = _G.MELEE, row = 2, col = 1 },
- ["healer"] = { tt = L["HEALERS_DESC"], text = _G.HEALER, row = 3, col = 1 },
- ["caster"] = { tt = L["CASTER_DPS_DESC"], text = _G.DAMAGER, row = 4, col = 1 },
+ ["tank"] = { tt = tank_desc, text = _G.TANK, row = 1, col = 1 },
+ ["melee"] = { tt = melee_desc, text = _G.MELEE, row = 2, col = 1 },
+ ["healer"] = { tt = healer_desc, text = _G.HEALER, row = 3, col = 1 },
+ ["caster"] = { tt = caster_desc, text = _G.DAMAGER, row = 4, col = 1 },
}
GenerateCheckBoxes(player_frame, role_buttons)
role_buttons = nil
diff --git a/Locales/devel-enUS.lua b/Locales/devel-enUS.lua
index c9f7966..b24fc0d 100644
--- a/Locales/devel-enUS.lua
+++ b/Locales/devel-enUS.lua
@@ -354,10 +354,7 @@ L["QUALITY_GENERAL_DESC"] = "Include %s quality recipe items in the scan."
-------------------------------------------------------------------------------
-- Player Type Filtering UI Elements and their associated descriptions
-------------------------------------------------------------------------------
-L["MELEE_DPS_DESC"] = "Recipes that are used by melee dps players should be included in the scan."
-L["TANKS_DESC"] = "Recipes that are used by tank players should be included in the scan."
-L["CASTER_DPS_DESC"] = "Recipes that are used by casting dps players should be included in the scan."
-L["HEALERS_DESC"] = "Recipes that are used by healer players should be included in the scan."
+L["ROLE_DESC_FORMAT"] = "Show recipes favored by %s classes."
-------------------------------------------------------------------------------
-- Reputation Filtering UI Elements and their associated description
@@ -369,15 +366,10 @@ L["SPECIFIC_REP_DESC"] = "Include %s faction."
-------------------------------------------------------------------------------
L["FILTER_OPEN_DESC"] = "Open filter option panel."
L["FILTER_CLOSE_DESC"] = "Close filter option panel."
-L["EXPANDALL"] = "+ All"
L["EXPANDALL_DESC"] = [[Expand all recipes listed below.
Hold the Shift key to expand sub-entries.]]
-L["CONTRACTALL"] = "- All"
L["CONTRACTALL_DESC"] = "Minimize all recipes listed below."
-L["SEARCH_DESC"] = "Filter to recipes that contain text at left."
-L["CLEAR_DESC"] = "Clear search text"
-L["Close"] = "Exit"
-L["CLOSE_DESC"] = "Close the Ackis Recipe List Window."
+L["CLOSE_DESC"] = "Close the Recipe List Window."
L["RESET_DESC"] = "Reset All Filters to default values."
L["NOT_YET_SCANNED"] = "Not yet scanned!"
@@ -390,7 +382,6 @@ L["SHIFT_CLICK"] = "Shift-Click to add the item crafted by this recipe's link t
L["CTRL_SHIFT_CLICK"] = "Ctrl-Shift-Click to add the item to the map and mini-map."
L["Obtained From"] = true
L["RECIPE_EXCLUDED"] = "Recipe is in Exclusion list"
-L["Required Skill"] = true
-------------------------------------------------------------------------------
--Dataminer Strings
@@ -453,11 +444,6 @@ L["NoItemLink"] = "This item does not have an item link or it was not in your ca
L["MISSING_LIBRARY"] = "%s is missing. Addon cannot run."
-------------------------------------------------------------------------------
--- Drop Obtain Info
--------------------------------------------------------------------------------
-L["Unknown Zone"] = true
-
--------------------------------------------------------------------------------
-- Custom database strings:
-------------------------------------------------------------------------------
-- Alchemy Discoveries