diff --git a/api/unitframes.lua b/api/unitframes.lua index 737a7c9d..37a7d411 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1676,6 +1676,8 @@ function pfUI.uf:GetStatusValue(unit, pos) return level .. " " .. name elseif config == "name" then return unit:GetColor("unit") .. UnitName(unitstr) + elseif config == "nameshort" then + return unit:GetColor("unit") .. strsub(UnitName(unitstr), 0, 3) elseif config == "level" then return unit:GetColor("level") .. pfUI.uf:GetLevelString(unitstr) elseif config == "class" then diff --git a/env/translations_enUS.lua b/env/translations_enUS.lua index 81ab5211..a068fa92 100644 --- a/env/translations_enUS.lua +++ b/env/translations_enUS.lua @@ -301,6 +301,7 @@ pfUI_translation["enUS"] = { ["Mousewheel Scroll Speed"] = nil, ["ms"] = nil, ["Name"] = nil, + ["Name (Short)"] = nil, ["Nameplates"] = nil, ["Nameplate Width"] = nil, ["N/A"] = nil, diff --git a/env/translations_esES.lua b/env/translations_esES.lua index 533e666c..a4b5f9d0 100644 --- a/env/translations_esES.lua +++ b/env/translations_esES.lua @@ -301,6 +301,7 @@ pfUI_translation["esES"] = { ["Mousewheel Scroll Speed"] = "Velocidad de Rueda", ["ms"] = "ms", ["Name"] = "Nombre", + ["Name (Short)"] = "Nombre (Corto)", ["Nameplates"] = "Placas Indentificativas", ["Nameplate Width"] = "Ancho de las Placas Indentificativas", ["N/A"] = nil, diff --git a/env/translations_frFR.lua b/env/translations_frFR.lua index f2f477c3..f444eb42 100644 --- a/env/translations_frFR.lua +++ b/env/translations_frFR.lua @@ -301,6 +301,7 @@ pfUI_translation["frFR"] = { ["Mousewheel Scroll Speed"] = nil, ["ms"] = nil, ["Name"] = "Nom", + ["Name (Short)"] = "Nom (Court)", ["Nameplates"] = "Barres de vie flottantes", ["Nameplate Width"] = "Largeur des barres de vie flottantes", ["N/A"] = nil, diff --git a/modules/gui.lua b/modules/gui.lua index 0583a541..d3b2318d 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -501,6 +501,7 @@ pfUI:RegisterModule("gui", function () "none:" .. T["Disable"], "unit:" .. T["Unit String"], "name:" .. T["Name"], + "nameshort:" .. T["Name (Short)"], "level:" .. T["Level"], "class:" .. T["Class"], "healthdyn:" .. T["Health - Auto"],