feat: multi language translations

This commit is contained in:
Vati
2026-04-09 04:06:37 +04:00
parent c1ff6ee4be
commit 7548dedfa5
6 changed files with 1355 additions and 77 deletions
+3 -3
View File
@@ -2660,11 +2660,11 @@ function Guda_BankBagSlot_OnEnter(button, bagID)
-- Main bank bag tooltip
GameTooltip:SetText(Guda_L["Bank"], 1.0, 1.0, 1.0)
local numSlots = 24
GameTooltip:AddLine(string.format("%d Slots", numSlots), 0.8, 0.8, 0.8)
GameTooltip:AddLine(string.format(Guda_L["%d Slots"], numSlots), 0.8, 0.8, 0.8)
if hiddenBankBags[bagID] then
GameTooltip:AddLine("(Hidden - Right-Click to show)", 0.8, 0.5, 0.5)
else
GameTooltip:AddLine("(Right-Click to hide)", 0.5, 0.8, 0.5)
GameTooltip:AddLine(Guda_L["(Right-Click to hide)"], 0.5, 0.8, 0.5)
end
else
local invSlot, bankButtonID = BankFrame:GetBankInvSlotForBagID(bagID)
@@ -2678,7 +2678,7 @@ function Guda_BankBagSlot_OnEnter(button, bagID)
if hiddenBankBags[bagID] then
GameTooltip:AddLine("(Hidden - Right-Click to show)", 0.8, 0.5, 0.5)
else
GameTooltip:AddLine("(Right-Click to hide)", 0.5, 0.8, 0.5)
GameTooltip:AddLine(Guda_L["(Right-Click to hide)"], 0.5, 0.8, 0.5)
end
-- Reset cursor for purchased slots with items
ResetCursor()