mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
Hide redundant Total line in item count tooltip and localize labels
Only show "Total" when the item is split across more than one location; a single-location item made "Total" duplicate the one breakdown line (e.g. "Equipped: 1 / Total: 1"). Route the Bags/Bank/Equipped/Total labels through the T translation table and add the keys to every locale file, using the Blizzard GlobalStrings as the reference for each localized term.
This commit is contained in:
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["deDE"] = {
|
|||||||
["Auto Sell Grey Items"] = nil,
|
["Auto Sell Grey Items"] = nil,
|
||||||
["Average Per Hour"] = nil,
|
["Average Per Hour"] = nil,
|
||||||
["Background Color"] = nil,
|
["Background Color"] = nil,
|
||||||
|
["Bags"] = "Taschen",
|
||||||
["Bags & Bank"] = nil,
|
["Bags & Bank"] = nil,
|
||||||
["Bags Border Size"] = nil,
|
["Bags Border Size"] = nil,
|
||||||
["Bagslots Per Row"] = nil,
|
["Bagslots Per Row"] = nil,
|
||||||
["Bagspace"] = nil,
|
["Bagspace"] = nil,
|
||||||
|
["Bank"] = "Bank",
|
||||||
["Banker"] = nil,
|
["Banker"] = nil,
|
||||||
["Bankslots Per Row"] = nil,
|
["Bankslots Per Row"] = nil,
|
||||||
["Bar Background"] = nil,
|
["Bar Background"] = nil,
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["deDE"] = {
|
|||||||
["Encode"] = nil,
|
["Encode"] = nil,
|
||||||
["Ended"] = nil,
|
["Ended"] = nil,
|
||||||
["Energy Color"] = nil,
|
["Energy Color"] = nil,
|
||||||
|
["Equipped"] = "Angelegt",
|
||||||
["Equipped Item Color"] = nil,
|
["Equipped Item Color"] = nil,
|
||||||
["Estimate Debuffs"] = nil,
|
["Estimate Debuffs"] = nil,
|
||||||
["Estimate Enemy Health Points"] = nil,
|
["Estimate Enemy Health Points"] = nil,
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["deDE"] = {
|
|||||||
["Top Actionbar"] = nil,
|
["Top Actionbar"] = nil,
|
||||||
["Top Left"] = nil,
|
["Top Left"] = nil,
|
||||||
["Top Right"] = nil,
|
["Top Right"] = nil,
|
||||||
|
["Total"] = "Gesamt",
|
||||||
["Total Gold"] = nil,
|
["Total Gold"] = nil,
|
||||||
["Totem Direction"] = nil,
|
["Totem Direction"] = nil,
|
||||||
["Totem Icons"] = nil,
|
["Totem Icons"] = nil,
|
||||||
|
|||||||
Vendored
+4
@@ -52,10 +52,12 @@ pfUI_translation["enUS"] = {
|
|||||||
["Auto Sell Grey Items"] = nil,
|
["Auto Sell Grey Items"] = nil,
|
||||||
["Average Per Hour"] = nil,
|
["Average Per Hour"] = nil,
|
||||||
["Background Color"] = nil,
|
["Background Color"] = nil,
|
||||||
|
["Bags"] = nil,
|
||||||
["Bags & Bank"] = nil,
|
["Bags & Bank"] = nil,
|
||||||
["Bags Border Size"] = nil,
|
["Bags Border Size"] = nil,
|
||||||
["Bagslots Per Row"] = nil,
|
["Bagslots Per Row"] = nil,
|
||||||
["Bagspace"] = nil,
|
["Bagspace"] = nil,
|
||||||
|
["Bank"] = nil,
|
||||||
["Banker"] = nil,
|
["Banker"] = nil,
|
||||||
["Bankslots Per Row"] = nil,
|
["Bankslots Per Row"] = nil,
|
||||||
["Bar Background"] = nil,
|
["Bar Background"] = nil,
|
||||||
@@ -313,6 +315,7 @@ pfUI_translation["enUS"] = {
|
|||||||
["Encode"] = nil,
|
["Encode"] = nil,
|
||||||
["Ended"] = nil,
|
["Ended"] = nil,
|
||||||
["Energy Color"] = nil,
|
["Energy Color"] = nil,
|
||||||
|
["Equipped"] = nil,
|
||||||
["Equipped Item Color"] = nil,
|
["Equipped Item Color"] = nil,
|
||||||
["Estimate Debuffs"] = nil,
|
["Estimate Debuffs"] = nil,
|
||||||
["Estimate Enemy Health Points"] = nil,
|
["Estimate Enemy Health Points"] = nil,
|
||||||
@@ -834,6 +837,7 @@ pfUI_translation["enUS"] = {
|
|||||||
["Top Actionbar"] = nil,
|
["Top Actionbar"] = nil,
|
||||||
["Top Left"] = nil,
|
["Top Left"] = nil,
|
||||||
["Top Right"] = nil,
|
["Top Right"] = nil,
|
||||||
|
["Total"] = nil,
|
||||||
["Total Gold"] = nil,
|
["Total Gold"] = nil,
|
||||||
["Totem Direction"] = nil,
|
["Totem Direction"] = nil,
|
||||||
["Totem Icons"] = nil,
|
["Totem Icons"] = nil,
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["esES"] = {
|
|||||||
["Auto Sell Grey Items"] = "Vender objetos grises automáticamente",
|
["Auto Sell Grey Items"] = "Vender objetos grises automáticamente",
|
||||||
["Average Per Hour"] = "Promedio por hora",
|
["Average Per Hour"] = "Promedio por hora",
|
||||||
["Background Color"] = "Color del fondo",
|
["Background Color"] = "Color del fondo",
|
||||||
|
["Bags"] = "Bolsas",
|
||||||
["Bags & Bank"] = "Bolsas y banco",
|
["Bags & Bank"] = "Bolsas y banco",
|
||||||
["Bags Border Size"] = "Tamaño del borde de las bolsas",
|
["Bags Border Size"] = "Tamaño del borde de las bolsas",
|
||||||
["Bagslots Per Row"] = "Casillas de la bolsa por fila",
|
["Bagslots Per Row"] = "Casillas de la bolsa por fila",
|
||||||
["Bagspace"] = "Huecos en las bolsas",
|
["Bagspace"] = "Huecos en las bolsas",
|
||||||
|
["Bank"] = "Banco",
|
||||||
["Banker"] = "Banquero",
|
["Banker"] = "Banquero",
|
||||||
["Bankslots Per Row"] = "Casillas del banco por fila",
|
["Bankslots Per Row"] = "Casillas del banco por fila",
|
||||||
["Bar Background"] = "Fondo de la barra",
|
["Bar Background"] = "Fondo de la barra",
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["esES"] = {
|
|||||||
["Encode"] = "Codificar",
|
["Encode"] = "Codificar",
|
||||||
["Ended"] = "Terminado",
|
["Ended"] = "Terminado",
|
||||||
["Energy Color"] = "Color de energía",
|
["Energy Color"] = "Color de energía",
|
||||||
|
["Equipped"] = "Equipado",
|
||||||
["Equipped Item Color"] = "Color del objeto equipado",
|
["Equipped Item Color"] = "Color del objeto equipado",
|
||||||
["Estimate Debuffs"] = "Estimar los perjuicios",
|
["Estimate Debuffs"] = "Estimar los perjuicios",
|
||||||
["Estimate Enemy Health Points"] = "Estimar los puntos de salud del enemigo",
|
["Estimate Enemy Health Points"] = "Estimar los puntos de salud del enemigo",
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["esES"] = {
|
|||||||
["Top Actionbar"] = "Barra de acción superior",
|
["Top Actionbar"] = "Barra de acción superior",
|
||||||
["Top Left"] = "Superior derecha",
|
["Top Left"] = "Superior derecha",
|
||||||
["Top Right"] = "Superior izquierda",
|
["Top Right"] = "Superior izquierda",
|
||||||
|
["Total"] = "Total",
|
||||||
["Total Gold"] = "Oro Total",
|
["Total Gold"] = "Oro Total",
|
||||||
["Totem Direction"] = "Dirección del tótem",
|
["Totem Direction"] = "Dirección del tótem",
|
||||||
["Totem Icons"] = "Iconos de los tótems",
|
["Totem Icons"] = "Iconos de los tótems",
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["frFR"] = {
|
|||||||
["Auto Sell Grey Items"] = "Vente automatique des objets gris",
|
["Auto Sell Grey Items"] = "Vente automatique des objets gris",
|
||||||
["Average Per Hour"] = "Moyenne par heure",
|
["Average Per Hour"] = "Moyenne par heure",
|
||||||
["Background Color"] = "Couleur de l'arrière-plan",
|
["Background Color"] = "Couleur de l'arrière-plan",
|
||||||
|
["Bags"] = "Sacs",
|
||||||
["Bags & Bank"] = "Sacs et Banque",
|
["Bags & Bank"] = "Sacs et Banque",
|
||||||
["Bags Border Size"] = "Taille de la bordure des Sacs",
|
["Bags Border Size"] = "Taille de la bordure des Sacs",
|
||||||
["Bagslots Per Row"] = "Emplacements des sacs par rangée",
|
["Bagslots Per Row"] = "Emplacements des sacs par rangée",
|
||||||
["Bagspace"] = "Place libre des sacs",
|
["Bagspace"] = "Place libre des sacs",
|
||||||
|
["Bank"] = "Banque",
|
||||||
["Banker"] = "Banquier",
|
["Banker"] = "Banquier",
|
||||||
["Bankslots Per Row"] = "Emplacements de la banque par rangée",
|
["Bankslots Per Row"] = "Emplacements de la banque par rangée",
|
||||||
["Bar Background"] = "Arrière plan de la barre",
|
["Bar Background"] = "Arrière plan de la barre",
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["frFR"] = {
|
|||||||
["Encode"] = "Encoder",
|
["Encode"] = "Encoder",
|
||||||
["Ended"] = "Terminé",
|
["Ended"] = "Terminé",
|
||||||
["Energy Color"] = "Couleur de l'energie",
|
["Energy Color"] = "Couleur de l'energie",
|
||||||
|
["Equipped"] = "Équipé",
|
||||||
["Equipped Item Color"] = "Couleur de l'objet équipé",
|
["Equipped Item Color"] = "Couleur de l'objet équipé",
|
||||||
["Estimate Debuffs"] = "Estimer les Affaiblissements",
|
["Estimate Debuffs"] = "Estimer les Affaiblissements",
|
||||||
["Estimate Enemy Health Points"] = "Estimer les points de vie ennemis",
|
["Estimate Enemy Health Points"] = "Estimer les points de vie ennemis",
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["frFR"] = {
|
|||||||
["Top Actionbar"] = "Barre d'action supérieure",
|
["Top Actionbar"] = "Barre d'action supérieure",
|
||||||
["Top Left"] = "Haut Gauche",
|
["Top Left"] = "Haut Gauche",
|
||||||
["Top Right"] = "Haut Droit",
|
["Top Right"] = "Haut Droit",
|
||||||
|
["Total"] = "Total",
|
||||||
["Total Gold"] = "Or Total",
|
["Total Gold"] = "Or Total",
|
||||||
["Totem Direction"] = "Direction des totems",
|
["Totem Direction"] = "Direction des totems",
|
||||||
["Totem Icons"] = "Icones des totems",
|
["Totem Icons"] = "Icones des totems",
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["koKR"] = {
|
|||||||
["Auto Sell Grey Items"] = "회색아이템 자동 판매",
|
["Auto Sell Grey Items"] = "회색아이템 자동 판매",
|
||||||
["Average Per Hour"] = nil,
|
["Average Per Hour"] = nil,
|
||||||
["Background Color"] = "백그라운드 색상",
|
["Background Color"] = "백그라운드 색상",
|
||||||
|
["Bags"] = "가방",
|
||||||
["Bags & Bank"] = "가방&은행",
|
["Bags & Bank"] = "가방&은행",
|
||||||
["Bags Border Size"] = "가방 테두리 크기",
|
["Bags Border Size"] = "가방 테두리 크기",
|
||||||
["Bagslots Per Row"] = nil,
|
["Bagslots Per Row"] = nil,
|
||||||
["Bagspace"] = "가방 공간",
|
["Bagspace"] = "가방 공간",
|
||||||
|
["Bank"] = "은행",
|
||||||
["Banker"] = nil,
|
["Banker"] = nil,
|
||||||
["Bankslots Per Row"] = nil,
|
["Bankslots Per Row"] = nil,
|
||||||
["Bar Background"] = nil,
|
["Bar Background"] = nil,
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["koKR"] = {
|
|||||||
["Encode"] = nil,
|
["Encode"] = nil,
|
||||||
["Ended"] = nil,
|
["Ended"] = nil,
|
||||||
["Energy Color"] = nil,
|
["Energy Color"] = nil,
|
||||||
|
["Equipped"] = "착용 중",
|
||||||
["Equipped Item Color"] = nil,
|
["Equipped Item Color"] = nil,
|
||||||
["Estimate Debuffs"] = nil,
|
["Estimate Debuffs"] = nil,
|
||||||
["Estimate Enemy Health Points"] = nil,
|
["Estimate Enemy Health Points"] = nil,
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["koKR"] = {
|
|||||||
["Top Actionbar"] = nil,
|
["Top Actionbar"] = nil,
|
||||||
["Top Left"] = nil,
|
["Top Left"] = nil,
|
||||||
["Top Right"] = nil,
|
["Top Right"] = nil,
|
||||||
|
["Total"] = "총",
|
||||||
["Total Gold"] = "총 금",
|
["Total Gold"] = "총 금",
|
||||||
["Totem Direction"] = nil,
|
["Totem Direction"] = nil,
|
||||||
["Totem Icons"] = nil,
|
["Totem Icons"] = nil,
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["ruRU"] = {
|
|||||||
["Auto Sell Grey Items"] = "Автоматическая продажа серых предметов",
|
["Auto Sell Grey Items"] = "Автоматическая продажа серых предметов",
|
||||||
["Average Per Hour"] = "Среднее за час",
|
["Average Per Hour"] = "Среднее за час",
|
||||||
["Background Color"] = "Цвет фона",
|
["Background Color"] = "Цвет фона",
|
||||||
|
["Bags"] = "Сумки",
|
||||||
["Bags & Bank"] = "Сумки & Банк",
|
["Bags & Bank"] = "Сумки & Банк",
|
||||||
["Bags Border Size"] = "Размер границы сумок",
|
["Bags Border Size"] = "Размер границы сумок",
|
||||||
["Bagslots Per Row"] = "Количество ячеек в сумке на строку",
|
["Bagslots Per Row"] = "Количество ячеек в сумке на строку",
|
||||||
["Bagspace"] = "Место в сумках",
|
["Bagspace"] = "Место в сумках",
|
||||||
|
["Bank"] = "Банк",
|
||||||
["Banker"] = "Банкир",
|
["Banker"] = "Банкир",
|
||||||
["Bankslots Per Row"] = "Количество ячеек в банке на строку",
|
["Bankslots Per Row"] = "Количество ячеек в банке на строку",
|
||||||
["Bar Background"] = "Фон панели",
|
["Bar Background"] = "Фон панели",
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["ruRU"] = {
|
|||||||
["Encode"] = "Кодировать",
|
["Encode"] = "Кодировать",
|
||||||
["Ended"] = "Окончание",
|
["Ended"] = "Окончание",
|
||||||
["Energy Color"] = "Цвет энергии",
|
["Energy Color"] = "Цвет энергии",
|
||||||
|
["Equipped"] = "Экипировано",
|
||||||
["Equipped Item Color"] = "Цвет экипированных предметов",
|
["Equipped Item Color"] = "Цвет экипированных предметов",
|
||||||
["Estimate Debuffs"] = "Оценка дебафов",
|
["Estimate Debuffs"] = "Оценка дебафов",
|
||||||
["Estimate Enemy Health Points"] = "Оценка очков здоровья врага",
|
["Estimate Enemy Health Points"] = "Оценка очков здоровья врага",
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["ruRU"] = {
|
|||||||
["Top Actionbar"] = "Верхняя",
|
["Top Actionbar"] = "Верхняя",
|
||||||
["Top Left"] = "Сверху слева",
|
["Top Left"] = "Сверху слева",
|
||||||
["Top Right"] = "Сверху справа",
|
["Top Right"] = "Сверху справа",
|
||||||
|
["Total"] = "Всего",
|
||||||
["Total Gold"] = "Всего золота",
|
["Total Gold"] = "Всего золота",
|
||||||
["Totem Direction"] = "Направление тотемов",
|
["Totem Direction"] = "Направление тотемов",
|
||||||
["Totem Icons"] = "Иконки тотемов",
|
["Totem Icons"] = "Иконки тотемов",
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["zhCN"] = {
|
|||||||
["Auto Sell Grey Items"] = "自动贩卖灰色物品",
|
["Auto Sell Grey Items"] = "自动贩卖灰色物品",
|
||||||
["Average Per Hour"] = "平均每小时",
|
["Average Per Hour"] = "平均每小时",
|
||||||
["Background Color"] = "背景颜色",
|
["Background Color"] = "背景颜色",
|
||||||
|
["Bags"] = "背包",
|
||||||
["Bags & Bank"] = "背包和银行",
|
["Bags & Bank"] = "背包和银行",
|
||||||
["Bags Border Size"] = "背包边框大小",
|
["Bags Border Size"] = "背包边框大小",
|
||||||
["Bagslots Per Row"] = "每行包裹槽数量",
|
["Bagslots Per Row"] = "每行包裹槽数量",
|
||||||
["Bagspace"] = "背包空间",
|
["Bagspace"] = "背包空间",
|
||||||
|
["Bank"] = "银行",
|
||||||
["Banker"] = "工会银行角色",
|
["Banker"] = "工会银行角色",
|
||||||
["Bankslots Per Row"] = "每行银行槽数量",
|
["Bankslots Per Row"] = "每行银行槽数量",
|
||||||
["Bar Background"] = "动作条背景",
|
["Bar Background"] = "动作条背景",
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["zhCN"] = {
|
|||||||
["Encode"] = "编码",
|
["Encode"] = "编码",
|
||||||
["Ended"] = "结束",
|
["Ended"] = "结束",
|
||||||
["Energy Color"] = "能量值颜色",
|
["Energy Color"] = "能量值颜色",
|
||||||
|
["Equipped"] = "已装备",
|
||||||
["Equipped Item Color"] = "已装备物品颜色",
|
["Equipped Item Color"] = "已装备物品颜色",
|
||||||
["Estimate Debuffs"] = "预估Debuffs",
|
["Estimate Debuffs"] = "预估Debuffs",
|
||||||
["Estimate Enemy Health Points"] = "预估敌人的生命值",
|
["Estimate Enemy Health Points"] = "预估敌人的生命值",
|
||||||
@@ -819,6 +822,7 @@ pfUI_translation["zhCN"] = {
|
|||||||
["Top Actionbar"] = "上方动作条",
|
["Top Actionbar"] = "上方动作条",
|
||||||
["Top Left"] = "左上方",
|
["Top Left"] = "左上方",
|
||||||
["Top Right"] = "右上方",
|
["Top Right"] = "右上方",
|
||||||
|
["Total"] = "总计",
|
||||||
["Total Gold"] = "总黄金",
|
["Total Gold"] = "总黄金",
|
||||||
["Totem Direction"] = "图腾方向",
|
["Totem Direction"] = "图腾方向",
|
||||||
["Totem Icons"] = "图腾图标",
|
["Totem Icons"] = "图腾图标",
|
||||||
|
|||||||
Vendored
+4
@@ -51,10 +51,12 @@ pfUI_translation["zhTW"] = {
|
|||||||
["Auto Sell Grey Items"] = "自動販賣灰色物品",
|
["Auto Sell Grey Items"] = "自動販賣灰色物品",
|
||||||
["Average Per Hour"] = "平均每小時",
|
["Average Per Hour"] = "平均每小時",
|
||||||
["Background Color"] = "背景顏色",
|
["Background Color"] = "背景顏色",
|
||||||
|
["Bags"] = "背包",
|
||||||
["Bags & Bank"] = "背包和銀行",
|
["Bags & Bank"] = "背包和銀行",
|
||||||
["Bags Border Size"] = "背包邊框大小",
|
["Bags Border Size"] = "背包邊框大小",
|
||||||
["Bagslots Per Row"] = "每行包裹槽數量",
|
["Bagslots Per Row"] = "每行包裹槽數量",
|
||||||
["Bagspace"] = "背包空間",
|
["Bagspace"] = "背包空間",
|
||||||
|
["Bank"] = "銀行",
|
||||||
["Banker"] = "工會銀行角色",
|
["Banker"] = "工會銀行角色",
|
||||||
["Bankslots Per Row"] = "每行銀行槽數量",
|
["Bankslots Per Row"] = "每行銀行槽數量",
|
||||||
["Bar Background"] = nil,
|
["Bar Background"] = nil,
|
||||||
@@ -310,6 +312,7 @@ pfUI_translation["zhTW"] = {
|
|||||||
["Encode"] = "編碼",
|
["Encode"] = "編碼",
|
||||||
["Ended"] = nil,
|
["Ended"] = nil,
|
||||||
["Energy Color"] = nil,
|
["Energy Color"] = nil,
|
||||||
|
["Equipped"] = "已裝備",
|
||||||
["Equipped Item Color"] = nil,
|
["Equipped Item Color"] = nil,
|
||||||
["Estimate Debuffs"] = nil,
|
["Estimate Debuffs"] = nil,
|
||||||
["Estimate Enemy Health Points"] = nil,
|
["Estimate Enemy Health Points"] = nil,
|
||||||
@@ -818,6 +821,7 @@ pfUI_translation["zhTW"] = {
|
|||||||
["Top Actionbar"] = nil,
|
["Top Actionbar"] = nil,
|
||||||
["Top Left"] = "左上方",
|
["Top Left"] = "左上方",
|
||||||
["Top Right"] = "右上方",
|
["Top Right"] = "右上方",
|
||||||
|
["Total"] = "全部",
|
||||||
["Total Gold"] = "總金量",
|
["Total Gold"] = "總金量",
|
||||||
["Totem Direction"] = nil,
|
["Totem Direction"] = nil,
|
||||||
["Totem Icons"] = nil,
|
["Totem Icons"] = nil,
|
||||||
|
|||||||
@@ -26,10 +26,14 @@ pfUI:RegisterModule("itemcount", function ()
|
|||||||
if bank < 0 then bank = 0 end
|
if bank < 0 then bank = 0 end
|
||||||
|
|
||||||
frame:AddLine(" ")
|
frame:AddLine(" ")
|
||||||
if bags > 0 then frame:AddDoubleLine("Bags:", bags, 1, 1, 1, 1, 1, 1) end
|
if bags > 0 then frame:AddDoubleLine(T["Bags"] .. ":", bags, 1, 1, 1, 1, 1, 1) end
|
||||||
if bank > 0 then frame:AddDoubleLine("Bank:", bank, 1, 1, 1, 1, 1, 1) end
|
if bank > 0 then frame:AddDoubleLine(T["Bank"] .. ":", bank, 1, 1, 1, 1, 1, 1) end
|
||||||
if equipped > 0 then frame:AddDoubleLine("Equipped:", equipped, 1, 1, 1, 1, 1, 1) end
|
if equipped > 0 then frame:AddDoubleLine(T["Equipped"] .. ":", equipped, 1, 1, 1, 1, 1, 1) end
|
||||||
frame:AddDoubleLine("Total:", total, 1, 1, 1, 1, 1, 1)
|
|
||||||
|
local sources = (bags > 0 and 1 or 0) + (bank > 0 and 1 or 0) + (equipped > 0 and 1 or 0)
|
||||||
|
if sources > 1 then
|
||||||
|
frame:AddDoubleLine(T["Total"] .. ":", total, 1, 1, 1, 1, 1, 1)
|
||||||
|
end
|
||||||
frame:Show()
|
frame:Show()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user