mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 19:19:59 +00:00
unitframes: add option to use short names
This commit is contained in:
@@ -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
|
||||
|
||||
Vendored
+1
@@ -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,
|
||||
|
||||
Vendored
+1
@@ -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,
|
||||
|
||||
Vendored
+1
@@ -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,
|
||||
|
||||
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user