WoWInterface SVN UrbanAchiever

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 86 to Rev 87
    Reverse comparison

Rev 86 → Rev 87

Options.lua
22,8 → 22,8
local sC = CreateFrame("CheckButton", "UACB", panel, "OptionsCheckButtonTemplate")
sC:SetPoint("TOPLEFT", statTitle, "BOTTOMLEFT", 0, -10)
sC.text = getglobal(sC:GetName() .. "Text")
sC.text:SetText("Display Statistic Criteria")
sC.tooltipText = "It's ultimately useless, but can sometimes show you what you've used from a list."
sC.text:SetText(UADisplayStatiCriter)
sC.tooltipText = UADSCTooltipStr;
sC:SetChecked(UASVPC.statCriteria)
sC:SetScript("OnClick", function()
if sC:GetChecked() then
38,8 → 38,8
local mC = CreateFrame("CheckButton", "UACB2", panel, "OptionsCheckButtonTemplate")
mC:SetPoint("TOPLEFT", sC, "BOTTOMLEFT", 0, -10)
mC.text = getglobal(mC:GetName() .. "Text")
mC.text:SetText("Color Money")
mC.tooltipText = "Show money as |cffffd70012|r.|cffc7c7cf34|r.|cffeda55f56|r instead of 12|TInterface\\MoneyFrame\\UI-GoldIcon:14:14:2:0|t 34|TInterface\\MoneyFrame\\UI-SilverIcon:14:14:2:0|t 56|TInterface\\MoneyFrame\\UI-CopperIcon:14:14:2:0|t"
mC.text:SetText(UAColorMoney)
mC.tooltipText = UAShowMoneyStr1 .. " |cffffd70012|r.|cffc7c7cf34|r.|cffeda55f56|r " .. UAShowMoneyStr2 .. " 12|TInterface\\MoneyFrame\\UI-GoldIcon:14:14:2:0|t 34|TInterface\\MoneyFrame\\UI-SilverIcon:14:14:2:0|t 56|TInterface\\MoneyFrame\\UI-CopperIcon:14:14:2:0|t"
mC:SetChecked(UASVPC.moneyAsColor)
mC:SetScript("OnClick", function()
if mC:GetChecked() then
54,8 → 54,8
local dS = CreateFrame("CheckButton", "UACB3", panel, "OptionsCheckButtonTemplate")
dS:SetPoint("TOPLEFT", mC, "BOTTOMLEFT", 0, -10)
dS.text = getglobal(dS:GetName() .. "Text")
dS.text:SetText("Detailed Criteria")
dS.tooltipText = "Show the progress of individual criteria."
dS.text:SetText(UADisplaySummaryCriter)
dS.tooltipText = UADSCTooltipStr;
dS:SetChecked(UASVPC.specificCriteria)
dS:SetScript("OnClick", function()
if dS:GetChecked() then
70,8 → 70,8
local tT = CreateFrame("CheckButton", "UACB4", panel, "OptionsCheckButtonTemplate")
tT:SetPoint("TOPLEFT", dS, "BOTTOMLEFT", 0, -10)
tT.text = getglobal(tT:GetName() .. "Text")
tT.text:SetText("Auto-track timed Achievements")
tT.tooltipText = "Will begin tracking achievements when a timer is started for one."
tT.text:SetText(UAAutoTrackA)
tT.tooltipText = UAAutoTrackATootltip
tT:SetChecked(UASVPC.trackTimed)
tT:SetScript("OnClick", function()
if tT:GetChecked() then
89,18 → 89,18
 
function UrbanAchiever:AddHelpPanel()
local panel = CreateFrame("Frame")
panel.name = "Help"
panel.name = UAHelp;
panel.parent = "Urban Achiever"
 
local title = panel:CreateFontString(nil, "ARTWORK", "GameFontNormalLarge")
title:SetPoint("TOPLEFT", 15, -16)
title:SetText("Urban Achiever - Help")
title:SetText("Urban Achiever - " .. UAHelp)
title:SetJustifyH("LEFT")
title:SetJustifyV("TOP")
 
local subText = panel:CreateFontString(nil, "ARTWORK", "GameFontHighlightSmall")
subText:SetPoint("TOPLEFT", title, "BOTTOMLEFT", 0, -8)
subText:SetText("OMG I'm so confused!")
subText:SetText(UAOMG)
subText:SetNonSpaceWrap(true)
subText:SetJustifyH("LEFT")
subText:SetJustifyV("TOP")
121,10 → 121,7
iconBody:SetJustifyH("LEFT")
iconBody:SetWidth(370)
iconBody:SetTextColor(1,1,1)
iconBody:SetText("- There's a reward for completing this achievement.\n" ..
"- This achievement is currently being tracked.\n" ..
"- There are more achievements associated with this one. click to show/hide them."
)
iconBody:SetText(UARewardStr .. UATrackedStr .. UAMoreStr)
iconBody:SetPoint("TOPLEFT", iconIcons, "TOPRIGHT", 0, -6)
 
local trackerTitle = panel:CreateFontString(nil, "ARTWORK", "GameFontNormal")
135,9 → 132,7
trackerBody:SetJustifyH("LEFT")
trackerBody:SetWidth(390)
trackerBody:SetTextColor(1,1,1)
trackerBody:SetText("|cff00ff00Shift-Click|r an achievement to add/remove it from the tracker.\n" ..
"|cff00ff00LeftClick|r an achievement title in the tracker to open it in the achievement frame.\n" ..
"|cff00ff00Alt-Click|r an achievement in the tracker to remove it.\n")
trackerBody:SetText("|cff00ff00" .. UABindTrackedStr .. "|cff00ff00" .. UABindShowStr .. "|cff00ff00" .. UABindRemoveTrackedStr)
trackerBody:SetPoint("TOPLEFT", trackerTitle, "BOTTOMLEFT")
 
InterfaceOptions_AddCategory(panel)
Localization.enUS.lua
6,4 → 6,21
UAAchievEarned = "Achievements Earned";
UASummary = "Summary";
UAAchievement = "Achievements";
UAStatistic = "Statistics";
\ No newline at end of file +UAStatistic = "Statistics"; +UADisplayStatiCriter = "Display Statistic Criteria"; +UADSCTooltipStr = "It's ultimately useless, but can sometimes show you what you've used from a list."; +UAColorMoney = "Color Money"; +UAShowMoneyStr1 = "Show money as"; +UAShowMoneyStr2 = "instead of"; +UADisplaySummaryCriter = "Detailed Criteria"; +UADSCTooltipStr = "Show the progress of individual criteria." +UAAutoTrackA = "Auto-track timed Achievements"; +UAAutoTrackATootltip = "Will begin tracking achievements when a timer is started for one."; +UAHelp = "Help"; +UAOMG = "OMG I'm so confused!"; +UARewardStr = "- There's a reward for completing this achievement.\n"; +UATrackedStr = "- This achievement is currently being tracked.\n"; +UAMoreStr = "- There are more achievements associated with this one. click to show/hide them."; +UABindTrackedStr = "Shift-Click|r an achievement to add/remove it from the tracker.\n"; +UABindShowStr = "LeftClick|r an achievement title in the tracker to open it in the achievement frame.\n"; +UABindRemoveTrackedStr = "Alt-Click|r an achievement in the tracker to remove it.\n" \ No newline at end of file
Main.lua
715,7 → 715,7
self.frame.category.backdrop:SetPoint("TOPLEFT", 6, -6)
self.frame.category.backdrop:SetPoint("BOTTOMRIGHT", -6, 6)
self.frame.category.backdrop:SetTexture("Interface\\AchievementFrame\\UI-Achievement-Parchment")
self.frame.category.backdrop:SetTexCoord(0,0,.5,1)
self.frame.category.backdrop:SetTexCoord(0,.5,0,1)
--self.frame.category.backdrop:SetTexture(0,0,0,1)
self.frame.category:SetPoint("RIGHT", self.frame, "LEFT", 12, 0)
 
924,7 → 924,7
self.frame.display.compareDate = self.frame.display:CreateFontString("$parentReward", "ARTWORK", "GameFontNormal")
self.frame.display.compareDate:SetPoint("TOP", self.frame.display.reward, "BOTTOM", 0, -1)
self.frame.display.compareDate:SetTextColor(0,1,0)
self.frame.display.compareDate:SetText("Tomate " .. Completed .. ": 12/12/12")
self.frame.display.compareDate:SetText("Tomate " .. UACompleted .. ": 12/12/12")
self.frame.display.compareDate:Hide()
 
--Display Bar
Localization.frFR.lua
8,4 → 8,21
UASummary = "R\195\169sum\195\169";
UAAchievement = "Hauts Faits";
UAStatistic = "Statistiques";
UADisplayStatiCriter = "Display Statistic Criteria";
UADSCTooltipStr = "It's ultimately useless, but can sometimes show you what you've used from a list.";
UAColorMoney = "Color Money";
UAShowMoneyStr1 = "Show money as";
UAShowMoneyStr2 = "instead of";
UADisplaySummaryCriter = "Detailed Criteria";
UADSCTooltipStr = "Show the progress of individual criteria."
UAAutoTrackA = "Auto-track timed Achievements";
UAAutoTrackATootltip = "Will begin tracking achievements when a timer is started for one.";
UAHelp = "Help";
UAOMG = "OMG I'm so confused!";
UARewardStr = "- There's a reward for completing this achievement.\n";
UATrackedStr = "- This achievement is currently being tracked.\n";
UAMoreStr = "- There are more achievements associated with this one. click to show/hide them.";
UABindTrackedStr = "Shift-Click|r an achievement to add/remove it from the tracker.\n";
UABindShowStr = "LeftClick|r an achievement title in the tracker to open it in the achievement frame.\n";
UABindRemoveTrackedStr = "Alt-Click|r an achievement in the tracker to remove it.\n"
end
\ No newline at end of file