diff Modules/Options.lua @ 57:9cb0bc93ed11

Added the version number to the title in ItemAuditor options.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sun, 25 Jul 2010 12:52:14 -0700
parents 8afc1ac9bf58
children bdf3aba93aa9
line wrap: on
line diff
--- a/Modules/Options.lua	Fri Jul 23 06:56:22 2010 -0700
+++ b/Modules/Options.lua	Sun Jul 25 12:52:14 2010 -0700
@@ -7,6 +7,8 @@
 local craftingThresholds = {5000, 10000, 50000}
 local craftingThresholdsDisplay = {}
 
+local currentVersion = "@project-version@"
+
 for key, value in pairs(craftingThresholds) do
 	craftingThresholdsDisplay[key] = addon:FormatMoney(value, '', true)
 	-- craftingThresholdsDisplay[key] = value
@@ -63,7 +65,7 @@
 
 local options = {
 	handler = addon,
-	name = "ItemAuditor",
+	name = "ItemAuditor "..currentVersion,
 	type = 'group',
 	args = {
 		prices = {