From 29ed4cb7aaba72a786634507501ca1ff92e9a0cb Mon Sep 17 00:00:00 2001 From: "Erik L. Vonderscheer" Date: Thu, 7 Oct 2010 04:55:32 +0000 Subject: [PATCH] Switch to WowAce LibDataBroker-1.1 Small configuration GUI update --- .pkgmeta | 2 +- TradeFilter3.lua | 8 ++++---- TradeFilter3Options.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pkgmeta b/.pkgmeta index dc2abe4..3a9dc38 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -53,7 +53,7 @@ externals: url: git://git.curseforge.net/wow/libaboutpanel/mainline.git tag: latest libs/LibDataBroker-1.1: - url: git://github.com/tekkub/libdatabroker-1-1.git + url: git://git.wowace.com/wow/libdatabroker-1-1/mainline.git tag: latest libs/LibDBIcon-1.0: url: svn://svn.wowace.com/wow/libdbicon-1-0/mainline/trunk diff --git a/TradeFilter3.lua b/TradeFilter3.lua index 0ba386c..aae4678 100644 --- a/TradeFilter3.lua +++ b/TradeFilter3.lua @@ -65,10 +65,10 @@ local rptdone --[[ Globals ]]-- repeatdata = {} -local PROJECT_VERSION = "@project-version@" -local PROJECT_REVISION = 000 + tonumber(("$Revision: @project-revision@ $"):match("%d+")) -TF3.date = sub("$Date: @project-date-iso@ $", 8, 17) -TF3.version = gsub(PROJECT_VERSION, "-release", "") +local MAJOR_VERSION = "@project-version@" +local PATCH_VERSION = "@project-revision@" +TF3.version = MAJOR_VERSION .. " r" .. PATCH_VERSION +TF3.date = "@file-date-iso@" --[[ Database Defaults ]]-- defaults = { diff --git a/TradeFilter3Options.lua b/TradeFilter3Options.lua index 9978fa9..e92f6bc 100644 --- a/TradeFilter3Options.lua +++ b/TradeFilter3Options.lua @@ -28,7 +28,7 @@ options = { args = { mainHeader = { type = "description", - name = " " .. L["NJAOF"] .. "\n Version " .. TF3.version .. "\n " .. TF3.date .. "\n", + name = " " .. L["NJAOF"] .. "\n Version " .. TF3.version .. "\n " .. string.sub(TF3.date,6,7) .. "-" .. string.sub(TF3.date,9,10) .. "-" .. string.sub(TF3.date,1,4), order = 1, image = "Interface\\Icons\\Ability_Warrior_RallyingCry", imageWidth = 32, imageHeight = 32, -- 1.7.9.5