Quantcast

- Gold fix, hopefully for real, for non-English language

urnati [08-29-22 - 00:20]
- Gold fix, hopefully for real, for non-English language
- Gold - tweaked menu a bit to make it more readable / usable
- Further tweak to bottom bar logic to be more specific
Filename
Titan/Titan.toc
Titan/TitanMovable.lua
TitanBag/TitanBag.toc
TitanClock/TitanClock.toc
TitanGold/TitanGold.lua
TitanGold/TitanGold.toc
TitanLocation/TitanLocation.toc
TitanLootType/TitanLootType.toc
TitanPerformance/TitanPerformance.toc
TitanRepair/TitanRepair.toc
TitanVolume/TitanVolume.toc
TitanXP/TitanXP.toc
diff --git a/Titan/Titan.toc b/Titan/Titan.toc
index 74a953e..3b5e258 100644
--- a/Titan/Titan.toc
+++ b/Titan/Titan.toc
@@ -1,7 +1,7 @@
 ## Interface: 90207
-## Title: Titan Panel |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55f_Core_|r] |cff00aa005.23.7.90207|r
 ## Author: Titan Panel Development Team
-## Version: 5.23.6.90207
+## Version: 5.23.7.90207
 ## SavedVariables: TitanAll, TitanSettings, TitanSkins, ServerTimeOffsets, ServerHourFormat
 ## OptionalDeps: Ace3, AceGUI-3.0-SharedMediaWidgets, LibSharedMedia-3.0, LibQTip-1.0, !LibUIDropDownMenu
 ## Notes: Adds a display bar on the top and/or bottom of the screen. Allows users to show and control information/launcher plugins.
diff --git a/Titan/TitanMovable.lua b/Titan/TitanMovable.lua
index 3968b30..cac8031 100755
--- a/Titan/TitanMovable.lua
+++ b/Titan/TitanMovable.lua
@@ -932,13 +932,16 @@ function Titan_Hook_Frames() -- UIParent_ManageFramePositions hook
 	-- When a user is using an action bar replacement (Bartender or ElvUI), hiding the bottom bar may not make sense.
 	if ((HasVehicleActionBar() and UnitVehicleSkin("player") and UnitVehicleSkin("player") ~= "")
 	or (HasOverrideActionBar() and GetOverrideBarSkin() and GetOverrideBarSkin() ~= 0))
-	or (TitanPanelGetVar("AuxScreenAdjust") == 1)
 	then -- Override bar in place; hide Titan bottom bar(s)
-		reason = reason.."skinned override bar"
-		TitanPanelBarButton_HideBottomBars()
-
-		-- Blizzard could have updated player frame or other
-		TitanMovableFrame_MoveFrames(TITAN_PANEL_PLACE_TOP, false)
+		if (TitanPanelGetVar("AuxScreenAdjust") == 1) then
+			-- do nothing, the user has turned off adjust
+		else
+			reason = reason.."skinned override bar"
+			TitanPanelBarButton_HideBottomBars()
+
+			-- Blizzard could have updated player frame or other
+			TitanMovableFrame_MoveFrames(TITAN_PANEL_PLACE_TOP, false)
+		end

 	-- If we have a non-skinned override bar of some sort, use the MainMenuBarArtFrame
 	elseif ( HasBonusActionBar() or HasOverrideActionBar() or HasVehicleActionBar() or HasTempShapeshiftActionBar() or C_PetBattles.IsInBattle() ) then
diff --git a/TitanBag/TitanBag.toc b/TitanBag/TitanBag.toc
index aefc44d..b6fd6e4 100644
--- a/TitanBag/TitanBag.toc
+++ b/TitanBag/TitanBag.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fBag|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fBag|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds bag and free slot information to Titan Panel
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90207
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanBag.xml
diff --git a/TitanClock/TitanClock.toc b/TitanClock/TitanClock.toc
index 3868162..e967c70 100644
--- a/TitanClock/TitanClock.toc
+++ b/TitanClock/TitanClock.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fClock|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fClock|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds a clock to Titan Panel
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90207
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanClock.xml
diff --git a/TitanGold/TitanGold.lua b/TitanGold/TitanGold.lua
index 41d2a30..3e3155c 100644
--- a/TitanGold/TitanGold.lua
+++ b/TitanGold/TitanGold.lua
@@ -31,6 +31,14 @@ local _G = getfenv(0);
 local realmName = GetRealmName();
 local realmNames = GetAutoCompleteRealms();

+-- English faction for indexing and sorting and coloring
+local TITAN_ALLIANCE = "Alliance"
+local TITAN_HORDE = "Horde"
+
+--[[  debug
+local FACTION_ALLIANCE = "Alliance_debug"
+local FACTION_HORDE = "Horde_debug"
+--]]
 -- ******************************** Functions *******************************

 --[[
@@ -268,6 +276,11 @@ local function GetToonInfo(info)
 	return info.name, info.realm, info.faction
 end

+local function GetIndexInfo(info)
+	local character, charserver, char_faction = string.match(info, '(.*)_(.*)::(.*)')
+	return character, charserver, char_faction
+end
+
 --[[
 -- *******************************************************************************************
 -- NAME: TitanPanelGoldButton_GetTooltipText()
@@ -279,7 +292,7 @@ function TitanPanelGoldButton_GetTooltipText()
 	local currentMoneyRichText = "";
 	local final_text = ""
 	local countelements = 0;
-	local _, faction = UnitFactionGroup("Player") -- get localized faction
+	local faction, faction_locale = UnitFactionGroup("Player") -- get localized faction
 	local ignore_faction = TitanGetVar(TITAN_GOLD_ID, "IgnoreFaction")

 	for _ in pairs (realmNames) do
@@ -301,7 +314,7 @@ function TitanPanelGoldButton_GetTooltipText()
 			or TitanGetVar(TITAN_GOLD_ID, "ShowCoinIcons"))

 		for index, money in pairs(GoldSave) do
-			character, charserver, char_faction = GetToonInfo(GoldSave[index])
+			character, charserver, char_faction = GetIndexInfo(index)
 			if (character) then
 				if (charserver == realmName) then
 					if ignore_faction or (char_faction == faction) then
@@ -325,7 +338,7 @@ function TitanPanelGoldButton_GetTooltipText()
 				or TitanGetVar(TITAN_GOLD_ID, "ShowCoinIcons"))

 			for index, money in pairs(GoldSave) do
-				character, charserver, char_faction = GetToonInfo(GoldSave[index])
+				character, charserver, char_faction = GetIndexInfo(index)
 				-- GetAutoCompleteRealms removes spaces, idk why...
 				if (charserver) then
 					charserver = string.gsub(charserver, "%s", "");
@@ -400,7 +413,7 @@ function TitanPanelGoldButton_GetTooltipText()
 	local show_realm = true
 	local character, charserver, char_faction
 	for i = 1, getn(GoldSaveSorted) do
-		character, charserver, char_faction = GetToonInfo(GoldSave[GoldSaveSorted[i]])
+		character, charserver, char_faction = GetIndexInfo(GoldSaveSorted[i]) --GetToonInfo(GoldSave[GoldSaveSorted[i]])
 		coin_str = NiceCash(GoldSave[GoldSaveSorted[i]].gold, false, false)
 		show_dash = false
 		show_realm = true
@@ -428,10 +441,12 @@ function TitanPanelGoldButton_GetTooltipText()
 		end

 		if ignore_faction then
-			if char_faction == FACTION_ALLIANCE then
-				faction_text = "-".."|cff5b92e5"..FACTION_ALLIANCE.._G["FONT_COLOR_CODE_CLOSE"]
-			elseif char_faction == FACTION_HORDE then
-				faction_text = "-"..TitanUtils_GetHexText(FACTION_HORDE, "d42447")
+			if char_faction == TITAN_ALLIANCE then
+				faction_text = "-".."|cff5b92e5"
+							..GoldSave[GoldSaveSorted[i]].faction
+							.._G["FONT_COLOR_CODE_CLOSE"]
+			elseif char_faction == TITAN_HORDE then
+				faction_text = "-"..TitanUtils_GetHexText(GoldSave[GoldSaveSorted[i]].faction, "d42447")
 			end
 		end

@@ -523,11 +538,11 @@ print("TG"
 	local final_faction = ""
 	if ignore_faction then
 		final_faction = TitanUtils_GetGoldText(ALL)
-	elseif faction == FACTION_ALLIANCE then
+	elseif faction == TITAN_ALLIANCE then
 		final_faction = "|cff5b92e5"..FACTION_ALLIANCE.._G["FONT_COLOR_CODE_CLOSE"]
 --		final_faction = TitanUtils_GetGreenText(FACTION_ALLIANCE)
 		-- "|cff0000ff"..text.._G["FONT_COLOR_CODE_CLOSE"]
-	elseif faction == FACTION_HORDE then
+	elseif faction == TITAN_HORDE then
 		final_faction = TitanUtils_GetRedText(FACTION_HORDE)
 	end

@@ -602,7 +617,7 @@ function TitanPanelGoldButton_TotalGold()
 		GoldSave[GOLD_INDEX].gold = GetMoney("player")

 		for index, money in pairs(GoldSave) do
-			character, charserver, char_faction = GetToonInfo(GoldSave[index])
+			character, charserver, char_faction = GetIndexInfo(index)
 			if (character) and (charserver == realmName) then
 				if ignore_faction or (char_faction == faction) then
 					ttlgold = ToonAdd(GoldSave[index].show, GoldSave[index].gold, ttlgold)
@@ -619,7 +634,7 @@ function TitanPanelGoldButton_TotalGold()
 			GoldSave[GOLD_INDEX].gold = GetMoney("player")

 			for index, money in pairs(GoldSave) do
-				character, charserver, char_faction = GetToonInfo(GoldSave[index])
+				character, charserver, char_faction = GetIndexInfo(index)
 				-- GetAutoCompleteRealms removes spaces, idk why...
 				if (charserver) then
 					charserver = string.gsub(charserver, "%s", "");
@@ -641,7 +656,7 @@ function TitanPanelGoldButton_TotalGold()
 		GoldSave[GOLD_INDEX].gold = GetMoney("player")

 		for index, money in pairs(GoldSave) do
-			character, charserver, char_faction = GetToonInfo(GoldSave[index])
+			character, charserver, char_faction = GetIndexInfo(index)
 			if (character) then
 				if ignore_faction or (char_faction == faction) then
 					ttlgold = ToonAdd(GoldSave[index].show, GoldSave[index].gold, ttlgold)
@@ -662,8 +677,10 @@ local function ShowMenuButtons(faction)
 	local name = GetUnitName("player");
 	local server = realmName;
 	for index, money in pairs(GoldSave) do
-		local character, charserver = string.match(index, "(.*)_(.*)::"..faction);
-		if character then
+		local character, charserver, char_faction = GetIndexInfo(index) --string.match(index, "(.*)_(.*)::"..faction);
+		if character
+		and (char_faction == faction)
+		then
 			info.text = character.." - "..charserver;
 			info.value = character;
 			info.keepShownOnClick = true;
@@ -686,9 +703,11 @@ local function DeleteMenuButtons(faction)
 	local name = GetUnitName("player");
 	local server = realmName;
 	for index, money in pairs(GoldSave) do
-		local character, charserver = string.match(index, "(.*)_(.*)::"..faction);
+		local character, charserver, char_faction = GetIndexInfo(index) --string.match(index, "(.*)_(.*)::"..faction);
 		info.notCheckable = true
-		if character then
+		if character
+		and (char_faction == faction)
+		then
 			info.text = character.." - "..charserver;
 			info.value = character;
 			info.func = function()
@@ -765,6 +784,45 @@ end

 local function DisplayOptions()

+	info = {};
+	info.notCheckable = true
+	info.text = RAID_FRAME_SORT_LABEL --L["TITAN_GOLD_DELETE_PLAYER"];
+	info.value = "Sorting";
+	info.hasArrow = 1;
+	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+
+	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());
+
+	-- Which characters to show
+	--  - Separate : this server
+	--  - Merge : connected / merged servers
+	--  - All : any server
+	local info = {};
+	info.text = L["TITAN_GOLD_SEPARATE"];
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "SeparateServers");
+	info.func = function()
+		Merger("SeparateServers")
+	end
+	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+
+	local info = {};
+	info.text = L["TITAN_GOLD_MERGE"];
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "MergeServers");
+	info.func = function()
+		Merger("MergeServers")
+	end
+	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+
+	local info = {};
+	info.text = L["TITAN_GOLD_ALL"];
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "AllServers");
+	info.func = function()
+		Merger("AllServers")
+	end
+	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+
+	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());
+
 	-- Option to ignore faction - per 9.2.5 changes
 	local info = {};
 	info.text = L["TITAN_GOLD_IGNORE_FACTION"];
@@ -777,7 +835,7 @@ local function DisplayOptions()

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());

-	-- What lables to show next to money none / text / icon
+	-- What labels to show next to money none / text / icon
 	local info = {};
 	info.text = L["TITAN_GOLD_COIN_NONE"];
 	info.checked = TitanGetVar(TITAN_GOLD_ID, "ShowCoinNone");
@@ -804,6 +862,18 @@ local function DisplayOptions()

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());

+	-- Show gold only option - no silver, no copper
+	info = {};
+	info.text = L["TITAN_GOLD_ONLY"];
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "ShowGoldOnly");
+	info.func = function()
+		TitanToggleVar(TITAN_GOLD_ID, "ShowGoldOnly");
+		TitanPanelButton_UpdateButton(TITAN_GOLD_ID);
+	end
+	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+
+	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());
+
 	-- Use comma or period as separater on gold
 	local info = {};
 	info.text = L["TITAN_USE_COMMA"];
@@ -823,54 +893,23 @@ local function DisplayOptions()

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());

-	-- Which characters to show
-	--  - Separate : this server
-	--  - Merge : connected / merged servers
-	--  - All : any server
-	local info = {};
-	info.text = L["TITAN_GOLD_SEPARATE"];
-	info.checked = TitanGetVar(TITAN_GOLD_ID, "SeparateServers");
-	info.func = function()
-		Merger("SeparateServers")
-	end
-	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
-
-	local info = {};
-	info.text = L["TITAN_GOLD_MERGE"];
-	info.checked = TitanGetVar(TITAN_GOLD_ID, "MergeServers");
-	info.func = function()
-		Merger("MergeServers")
-	end
-	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
-
-	local info = {};
-	info.text = L["TITAN_GOLD_ALL"];
-	info.checked = TitanGetVar(TITAN_GOLD_ID, "AllServers");
-	info.func = function()
-		Merger("AllServers")
-	end
-	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
-
-	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());
-
-	-- Show gold only option - no silver, no copper
+	-- Show session info
 	info = {};
-	info.text = L["TITAN_GOLD_ONLY"];
-	info.checked = TitanGetVar(TITAN_GOLD_ID, "ShowGoldOnly");
+	info.text = SHOW.." "..L["TITAN_GOLD_STATS_TITLE"]
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "ShowSessionInfo");
 	info.func = function()
-		TitanToggleVar(TITAN_GOLD_ID, "ShowGoldOnly");
-		TitanPanelButton_UpdateButton(TITAN_GOLD_ID);
+		TitanToggleVar(TITAN_GOLD_ID, "ShowSessionInfo");
 	end
 	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());

 	TitanPanelRightClickMenu_AddSeparator(TitanPanelRightClickMenu_GetDropdownLevel());

-	-- Show session info
+	-- Function to toggle gold per hour sort
 	info = {};
-	info.text = SHOW.." "..L["TITAN_GOLD_STATS_TITLE"]
-	info.checked = TitanGetVar(TITAN_GOLD_ID, "ShowSessionInfo");
+	info.text = L["TITAN_GOLD_TOGGLE_GPH_SHOW"]
+	info.checked = TitanGetVar(TITAN_GOLD_ID, "DisplayGoldPerHour");
 	info.func = function()
-		TitanToggleVar(TITAN_GOLD_ID, "ShowSessionInfo");
+		TitanPanelGoldGPH_Toggle()
 	end
 	TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());

@@ -888,32 +927,34 @@ function TitanPanelRightClickMenu_PrepareGoldMenu()
 		TitanPanelRightClickMenu_AddTitle(L["TITAN_GOLD_ITEMNAME"]);

 		-- Function to toggle button gold view
-		if TitanGetVar(TITAN_GOLD_ID, "ViewAll") then
-			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_PLAYER_TEXT"], TITAN_GOLD_ID,"TitanPanelGoldButton_Toggle");
-		else
-			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_ALL_TEXT"], TITAN_GOLD_ID,"TitanPanelGoldButton_Toggle");
-		end
-
 		info = {};
-		info.notCheckable = true
-		info.text = RAID_FRAME_SORT_LABEL --L["TITAN_GOLD_DELETE_PLAYER"];
-		info.value = "Sorting";
-		info.hasArrow = 1;
+		info.text = L["TITAN_GOLD_TOGGLE_ALL_TEXT"]
+		info.checked = TitanGetVar(TITAN_GOLD_ID, "ViewAll");
+		info.func = function()
+			TitanPanelGoldButton_Toggle()
+		end
 		TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());

-		-- Function to toggle gold per hour sort
-		if TitanGetVar(TITAN_GOLD_ID, "DisplayGoldPerHour") then
-			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_GPH_HIDE"], TITAN_GOLD_ID,"TitanPanelGoldGPH_Toggle");
+		info = {};
+		info.text = L["TITAN_GOLD_TOGGLE_PLAYER_TEXT"]
+		info.checked = not TitanGetVar(TITAN_GOLD_ID, "ViewAll");
+		info.func = function()
+			TitanPanelGoldButton_Toggle()
+		end
+		TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
+--[[
+		if TitanGetVar(TITAN_GOLD_ID, "ViewAll") then
+			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_PLAYER_TEXT"], TITAN_GOLD_ID,"TitanPanelGoldButton_Toggle");
 		else
-			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_GPH_SHOW"], TITAN_GOLD_ID,"TitanPanelGoldGPH_Toggle");
+			TitanPanelRightClickMenu_AddCommand(L["TITAN_GOLD_TOGGLE_ALL_TEXT"], TITAN_GOLD_ID,"TitanPanelGoldButton_Toggle");
 		end
-
+--]]
 		TitanPanelRightClickMenu_AddSeparator();

 		-- Display options
 		info = {};
 		info.notCheckable = true
-		info.text = DISPLAY_OPTIONS
+		info.text = "Tooltip "..DISPLAY_OPTIONS
 		info.value = "Display_Options";
 		info.hasArrow = 1;
 		TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
@@ -983,7 +1024,7 @@ function TitanPanelRightClickMenu_PrepareGoldMenu()
 		info.value = "ShowHorde";
 		info.hasArrow = 1;
 		TitanPanelRightClickMenu_AddButton(info, TitanPanelRightClickMenu_GetDropdownLevel());
-	elseif TitanPanelRightClickMenu_GetDropdownLevel() == 2
+	elseif TitanPanelRightClickMenu_GetDropdownLevel() == 3
 		and TitanPanelRightClickMenu_GetDropdMenuValue() == "Sorting" then
 		-- Show gold only option - no silver, no copper
 		local info = {};
@@ -1018,13 +1059,13 @@ function TitanPanelRightClickMenu_PrepareGoldMenu()

 	-- Third (3rd) level for the list of characters / toons
 	if TitanPanelRightClickMenu_GetDropdownLevel() == 3 and TitanPanelRightClickMenu_GetDropdMenuValue() == "DeleteAlliance" then
-		DeleteMenuButtons("Alliance")
+		DeleteMenuButtons(TITAN_ALLIANCE)
 	elseif TitanPanelRightClickMenu_GetDropdownLevel() == 3 and TitanPanelRightClickMenu_GetDropdMenuValue() == "DeleteHorde" then
-		DeleteMenuButtons("Horde")
+		DeleteMenuButtons(TITAN_HORDE)
 	elseif TitanPanelRightClickMenu_GetDropdownLevel() == 3 and TitanPanelRightClickMenu_GetDropdMenuValue() == "ShowAlliance" then
-		ShowMenuButtons("Alliance")
+		ShowMenuButtons(TITAN_ALLIANCE)
 	elseif TitanPanelRightClickMenu_GetDropdownLevel() == 3 and TitanPanelRightClickMenu_GetDropdMenuValue() == "ShowHorde" then
-		ShowMenuButtons("Horde")
+		ShowMenuButtons(TITAN_HORDE)
 	end
 end

@@ -1062,7 +1103,7 @@ function TitanPanelGoldButton_Initialize_Array(self)

 	-- Ensure the saved vars are usable
 	for index, money in pairs(GoldSave) do
-		local character, charserver, char_faction = string.match(index, '(.*)_(.*)::(.*)')
+		local character, charserver, char_faction = GetIndexInfo(index) --string.match(index, '(.*)_(.*)::(.*)')

 		-- Could be a new toon to Gold or an updated Gold
 		local show_toon = GoldSave[index].show
@@ -1074,10 +1115,10 @@ function TitanPanelGoldButton_Initialize_Array(self)

 		-- added Aug 2022 for #1332.
 		-- Faction in index was not set for display in tool tip.
-		-- Created localized faction as a field
-		if char_faction == "Alliance" then
+		-- Created localized faction as a field; set every time in case user changes languages
+		if char_faction == TITAN_ALLIANCE then
 			GoldSave[index].faction = FACTION_ALLIANCE
-		elseif char_faction == "Horde" then
+		elseif char_faction == TITAN_HORDE then
 			GoldSave[index].faction = FACTION_HORDE
 		else
 			GoldSave[index].faction = FACTION_OTHER
diff --git a/TitanGold/TitanGold.toc b/TitanGold/TitanGold.toc
index fb5d6f2..e64fe97 100644
--- a/TitanGold/TitanGold.toc
+++ b/TitanGold/TitanGold.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fGold|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fGold|r] |cff00aa005.23.7.90207|r
 ## Notes: Keeps track of all gold held by a player's toons on a per server/faction basis.
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables: GoldSave
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanGold.xml
diff --git a/TitanLocation/TitanLocation.toc b/TitanLocation/TitanLocation.toc
index 41c9c8a..ce8171e 100644
--- a/TitanLocation/TitanLocation.toc
+++ b/TitanLocation/TitanLocation.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fLocation|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds coordinates and location information to Titan Panel
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanLocation.xml
diff --git a/TitanLootType/TitanLootType.toc b/TitanLootType/TitanLootType.toc
index 836c78a..cbb394d 100644
--- a/TitanLootType/TitanLootType.toc
+++ b/TitanLootType/TitanLootType.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fLootType|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds group loot and instance difficulty information to Titan Panel
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanLootType.xml
diff --git a/TitanPerformance/TitanPerformance.toc b/TitanPerformance/TitanPerformance.toc
index 3fec859..ac91d34 100644
--- a/TitanPerformance/TitanPerformance.toc
+++ b/TitanPerformance/TitanPerformance.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fPerformance|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds FPS and Garbage collection information to Titan Panel
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanPerformance.xml
diff --git a/TitanRepair/TitanRepair.toc b/TitanRepair/TitanRepair.toc
index c680767..56ef3bb 100644
--- a/TitanRepair/TitanRepair.toc
+++ b/TitanRepair/TitanRepair.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fRepair|r] |cff00aa005.23.7.90207|r
 ## Notes: Provides a configurable durability display. Also adds the ability to auto repair items and inventory at vendors
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanRepair.xml
diff --git a/TitanVolume/TitanVolume.toc b/TitanVolume/TitanVolume.toc
index bd55c98..2b500a9 100644
--- a/TitanVolume/TitanVolume.toc
+++ b/TitanVolume/TitanVolume.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fVolume|r] |cff00aa005.23.7.23.7.90207|r
 ## Notes: Adds a volume control icon on your Titan Bar
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanVolume.xml
diff --git a/TitanXP/TitanXP.toc b/TitanXP/TitanXP.toc
index eea4fe5..2d3fe99 100644
--- a/TitanXP/TitanXP.toc
+++ b/TitanXP/TitanXP.toc
@@ -1,10 +1,10 @@
 ## Interface: 90207
-## Title: Titan Panel [|cffeda55fXP|r] |cff00aa005.23.6.90207|r
+## Title: Titan Panel [|cffeda55fXP|r] |cff00aa005.23.7.90207|r
 ## Notes: Adds information to Titan Panel about XP earned and time to level
 ## Author: Titan Panel Development Team (http://www.titanpanel.org)
 ## SavedVariables:
 ## OptionalDeps:
 ## Dependencies: Titan
-## Version: 5.23.6.90200
+## Version: 5.23.7.90207
 ## X-Child-Of: Titan
 TitanXP.xml