diff --git a/env/translations_deDE.lua b/env/translations_deDE.lua index c5db6bd1..108601bb 100644 --- a/env/translations_deDE.lua +++ b/env/translations_deDE.lua @@ -51,10 +51,12 @@ pfUI_translation["deDE"] = { ["Auto Sell Grey Items"] = nil, ["Average Per Hour"] = nil, ["Background Color"] = nil, + ["Bags"] = "Taschen", ["Bags & Bank"] = nil, ["Bags Border Size"] = nil, ["Bagslots Per Row"] = nil, ["Bagspace"] = nil, + ["Bank"] = "Bank", ["Banker"] = nil, ["Bankslots Per Row"] = nil, ["Bar Background"] = nil, @@ -310,6 +312,7 @@ pfUI_translation["deDE"] = { ["Encode"] = nil, ["Ended"] = nil, ["Energy Color"] = nil, + ["Equipped"] = "Angelegt", ["Equipped Item Color"] = nil, ["Estimate Debuffs"] = nil, ["Estimate Enemy Health Points"] = nil, @@ -818,6 +821,7 @@ pfUI_translation["deDE"] = { ["Top Actionbar"] = nil, ["Top Left"] = nil, ["Top Right"] = nil, + ["Total"] = "Gesamt", ["Total Gold"] = nil, ["Totem Direction"] = nil, ["Totem Icons"] = nil, diff --git a/env/translations_enUS.lua b/env/translations_enUS.lua index 7a8a7def..1f529fd6 100644 --- a/env/translations_enUS.lua +++ b/env/translations_enUS.lua @@ -52,10 +52,12 @@ pfUI_translation["enUS"] = { ["Auto Sell Grey Items"] = nil, ["Average Per Hour"] = nil, ["Background Color"] = nil, + ["Bags"] = nil, ["Bags & Bank"] = nil, ["Bags Border Size"] = nil, ["Bagslots Per Row"] = nil, ["Bagspace"] = nil, + ["Bank"] = nil, ["Banker"] = nil, ["Bankslots Per Row"] = nil, ["Bar Background"] = nil, @@ -313,6 +315,7 @@ pfUI_translation["enUS"] = { ["Encode"] = nil, ["Ended"] = nil, ["Energy Color"] = nil, + ["Equipped"] = nil, ["Equipped Item Color"] = nil, ["Estimate Debuffs"] = nil, ["Estimate Enemy Health Points"] = nil, @@ -834,6 +837,7 @@ pfUI_translation["enUS"] = { ["Top Actionbar"] = nil, ["Top Left"] = nil, ["Top Right"] = nil, + ["Total"] = nil, ["Total Gold"] = nil, ["Totem Direction"] = nil, ["Totem Icons"] = nil, diff --git a/env/translations_esES.lua b/env/translations_esES.lua index f76e1b93..0bb0fc3d 100644 --- a/env/translations_esES.lua +++ b/env/translations_esES.lua @@ -51,10 +51,12 @@ pfUI_translation["esES"] = { ["Auto Sell Grey Items"] = "Vender objetos grises automáticamente", ["Average Per Hour"] = "Promedio por hora", ["Background Color"] = "Color del fondo", + ["Bags"] = "Bolsas", ["Bags & Bank"] = "Bolsas y banco", ["Bags Border Size"] = "Tamaño del borde de las bolsas", ["Bagslots Per Row"] = "Casillas de la bolsa por fila", ["Bagspace"] = "Huecos en las bolsas", + ["Bank"] = "Banco", ["Banker"] = "Banquero", ["Bankslots Per Row"] = "Casillas del banco por fila", ["Bar Background"] = "Fondo de la barra", @@ -310,6 +312,7 @@ pfUI_translation["esES"] = { ["Encode"] = "Codificar", ["Ended"] = "Terminado", ["Energy Color"] = "Color de energía", + ["Equipped"] = "Equipado", ["Equipped Item Color"] = "Color del objeto equipado", ["Estimate Debuffs"] = "Estimar los perjuicios", ["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 Left"] = "Superior derecha", ["Top Right"] = "Superior izquierda", + ["Total"] = "Total", ["Total Gold"] = "Oro Total", ["Totem Direction"] = "Dirección del tótem", ["Totem Icons"] = "Iconos de los tótems", diff --git a/env/translations_frFR.lua b/env/translations_frFR.lua index f87ad848..c8f250bf 100644 --- a/env/translations_frFR.lua +++ b/env/translations_frFR.lua @@ -51,10 +51,12 @@ pfUI_translation["frFR"] = { ["Auto Sell Grey Items"] = "Vente automatique des objets gris", ["Average Per Hour"] = "Moyenne par heure", ["Background Color"] = "Couleur de l'arrière-plan", + ["Bags"] = "Sacs", ["Bags & Bank"] = "Sacs et Banque", ["Bags Border Size"] = "Taille de la bordure des Sacs", ["Bagslots Per Row"] = "Emplacements des sacs par rangée", ["Bagspace"] = "Place libre des sacs", + ["Bank"] = "Banque", ["Banker"] = "Banquier", ["Bankslots Per Row"] = "Emplacements de la banque par rangée", ["Bar Background"] = "Arrière plan de la barre", @@ -310,6 +312,7 @@ pfUI_translation["frFR"] = { ["Encode"] = "Encoder", ["Ended"] = "Terminé", ["Energy Color"] = "Couleur de l'energie", + ["Equipped"] = "Équipé", ["Equipped Item Color"] = "Couleur de l'objet équipé", ["Estimate Debuffs"] = "Estimer les Affaiblissements", ["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 Left"] = "Haut Gauche", ["Top Right"] = "Haut Droit", + ["Total"] = "Total", ["Total Gold"] = "Or Total", ["Totem Direction"] = "Direction des totems", ["Totem Icons"] = "Icones des totems", diff --git a/env/translations_koKR.lua b/env/translations_koKR.lua index bf8e9b89..bb05b818 100644 --- a/env/translations_koKR.lua +++ b/env/translations_koKR.lua @@ -51,10 +51,12 @@ pfUI_translation["koKR"] = { ["Auto Sell Grey Items"] = "회색아이템 자동 판매", ["Average Per Hour"] = nil, ["Background Color"] = "백그라운드 색상", + ["Bags"] = "가방", ["Bags & Bank"] = "가방&은행", ["Bags Border Size"] = "가방 테두리 크기", ["Bagslots Per Row"] = nil, ["Bagspace"] = "가방 공간", + ["Bank"] = "은행", ["Banker"] = nil, ["Bankslots Per Row"] = nil, ["Bar Background"] = nil, @@ -310,6 +312,7 @@ pfUI_translation["koKR"] = { ["Encode"] = nil, ["Ended"] = nil, ["Energy Color"] = nil, + ["Equipped"] = "착용 중", ["Equipped Item Color"] = nil, ["Estimate Debuffs"] = nil, ["Estimate Enemy Health Points"] = nil, @@ -818,6 +821,7 @@ pfUI_translation["koKR"] = { ["Top Actionbar"] = nil, ["Top Left"] = nil, ["Top Right"] = nil, + ["Total"] = "총", ["Total Gold"] = "총 금", ["Totem Direction"] = nil, ["Totem Icons"] = nil, diff --git a/env/translations_ruRU.lua b/env/translations_ruRU.lua index e8496153..595ed9b8 100644 --- a/env/translations_ruRU.lua +++ b/env/translations_ruRU.lua @@ -51,10 +51,12 @@ pfUI_translation["ruRU"] = { ["Auto Sell Grey Items"] = "Автоматическая продажа серых предметов", ["Average Per Hour"] = "Среднее за час", ["Background Color"] = "Цвет фона", + ["Bags"] = "Сумки", ["Bags & Bank"] = "Сумки & Банк", ["Bags Border Size"] = "Размер границы сумок", ["Bagslots Per Row"] = "Количество ячеек в сумке на строку", ["Bagspace"] = "Место в сумках", + ["Bank"] = "Банк", ["Banker"] = "Банкир", ["Bankslots Per Row"] = "Количество ячеек в банке на строку", ["Bar Background"] = "Фон панели", @@ -310,6 +312,7 @@ pfUI_translation["ruRU"] = { ["Encode"] = "Кодировать", ["Ended"] = "Окончание", ["Energy Color"] = "Цвет энергии", + ["Equipped"] = "Экипировано", ["Equipped Item Color"] = "Цвет экипированных предметов", ["Estimate Debuffs"] = "Оценка дебафов", ["Estimate Enemy Health Points"] = "Оценка очков здоровья врага", @@ -818,6 +821,7 @@ pfUI_translation["ruRU"] = { ["Top Actionbar"] = "Верхняя", ["Top Left"] = "Сверху слева", ["Top Right"] = "Сверху справа", + ["Total"] = "Всего", ["Total Gold"] = "Всего золота", ["Totem Direction"] = "Направление тотемов", ["Totem Icons"] = "Иконки тотемов", diff --git a/env/translations_zhCN.lua b/env/translations_zhCN.lua index d78c2f09..6e3467fe 100644 --- a/env/translations_zhCN.lua +++ b/env/translations_zhCN.lua @@ -51,10 +51,12 @@ pfUI_translation["zhCN"] = { ["Auto Sell Grey Items"] = "自动贩卖灰色物品", ["Average Per Hour"] = "平均每小时", ["Background Color"] = "背景颜色", + ["Bags"] = "背包", ["Bags & Bank"] = "背包和银行", ["Bags Border Size"] = "背包边框大小", ["Bagslots Per Row"] = "每行包裹槽数量", ["Bagspace"] = "背包空间", + ["Bank"] = "银行", ["Banker"] = "工会银行角色", ["Bankslots Per Row"] = "每行银行槽数量", ["Bar Background"] = "动作条背景", @@ -310,6 +312,7 @@ pfUI_translation["zhCN"] = { ["Encode"] = "编码", ["Ended"] = "结束", ["Energy Color"] = "能量值颜色", + ["Equipped"] = "已装备", ["Equipped Item Color"] = "已装备物品颜色", ["Estimate Debuffs"] = "预估Debuffs", ["Estimate Enemy Health Points"] = "预估敌人的生命值", @@ -819,6 +822,7 @@ pfUI_translation["zhCN"] = { ["Top Actionbar"] = "上方动作条", ["Top Left"] = "左上方", ["Top Right"] = "右上方", + ["Total"] = "总计", ["Total Gold"] = "总黄金", ["Totem Direction"] = "图腾方向", ["Totem Icons"] = "图腾图标", diff --git a/env/translations_zhTW.lua b/env/translations_zhTW.lua index f0eb90b0..6438d0cd 100644 --- a/env/translations_zhTW.lua +++ b/env/translations_zhTW.lua @@ -51,10 +51,12 @@ pfUI_translation["zhTW"] = { ["Auto Sell Grey Items"] = "自動販賣灰色物品", ["Average Per Hour"] = "平均每小時", ["Background Color"] = "背景顏色", + ["Bags"] = "背包", ["Bags & Bank"] = "背包和銀行", ["Bags Border Size"] = "背包邊框大小", ["Bagslots Per Row"] = "每行包裹槽數量", ["Bagspace"] = "背包空間", + ["Bank"] = "銀行", ["Banker"] = "工會銀行角色", ["Bankslots Per Row"] = "每行銀行槽數量", ["Bar Background"] = nil, @@ -310,6 +312,7 @@ pfUI_translation["zhTW"] = { ["Encode"] = "編碼", ["Ended"] = nil, ["Energy Color"] = nil, + ["Equipped"] = "已裝備", ["Equipped Item Color"] = nil, ["Estimate Debuffs"] = nil, ["Estimate Enemy Health Points"] = nil, @@ -818,6 +821,7 @@ pfUI_translation["zhTW"] = { ["Top Actionbar"] = nil, ["Top Left"] = "左上方", ["Top Right"] = "右上方", + ["Total"] = "全部", ["Total Gold"] = "總金量", ["Totem Direction"] = nil, ["Totem Icons"] = nil, diff --git a/modules/itemcount.lua b/modules/itemcount.lua index 35534978..21f91c6d 100644 --- a/modules/itemcount.lua +++ b/modules/itemcount.lua @@ -26,10 +26,14 @@ pfUI:RegisterModule("itemcount", function () if bank < 0 then bank = 0 end frame:AddLine(" ") - if bags > 0 then frame:AddDoubleLine("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 equipped > 0 then frame:AddDoubleLine("Equipped:", equipped, 1, 1, 1, 1, 1, 1) end - frame:AddDoubleLine("Total:", total, 1, 1, 1, 1, 1, 1) + if bags > 0 then frame:AddDoubleLine(T["Bags"] .. ":", bags, 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(T["Equipped"] .. ":", equipped, 1, 1, 1, 1, 1, 1) end + + 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() end