From fef8f933f1d968367f9b8ddb7f1a0213bc75785c Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 22 Oct 2008 01:03:08 +0000 Subject: [PATCH] FUCK BLIZZARD PIECES OF SHIT (ps fixed a localization bug) --- ARLConfig.lua | 3 ++- ARLFrame.lua | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ARLConfig.lua b/ARLConfig.lua index e285270..c936381 100644 --- a/ARLConfig.lua +++ b/ARLConfig.lua @@ -26,6 +26,7 @@ local AceConfigDialog = LibStub("AceConfigDialog-3.0") local modularOptions = {} local nagrandfac = BFAC["Kurenai"] .. "\\" .. BFAC["The Mag'har"] local hellfirefac = BFAC["Honor Hold"] .. "\\" .. BFAC["Thrallmar"] +local addonversion = GetAddOnMetadata("AckisRecipeList", "Version") -- Description: Function which provides "profiles" options table -- Expected result: modularOptions extended with Ace3 profiles options @@ -974,7 +975,7 @@ local function fullOptions() version = { order = 11, type = "description", - name = L["Version"] .. addon.addonversion .. "\n", + name = L["Version"] .. addonversion .. "\n", }, run = { order = 12, diff --git a/ARLFrame.lua b/ARLFrame.lua index cab38a8..67a5607 100644 --- a/ARLFrame.lua +++ b/ARLFrame.lua @@ -135,7 +135,8 @@ function ReDisplay( ) pbMax = playerData.totalRecipes -- We're removing filtered recipes from the final count else - pbMax = playerData.totalRecipes - (playerData.filteredRecipes - playerData.foundRecipes) + pbMax = playerData.totalRecipes - (playerData.filteredRecipes + playerData.foundRecipes) + --pbMax = playerData.foundRecipes + (playerData.totalRecipes - playerData.filteredRecipes) end ARL_ProgressBar:SetMinMaxValues( pbMin, pbMax) -- 1.7.9.5