Skip to content

Commit

Permalink
update some naming/locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Sep 30, 2024
1 parent 221b77f commit aa59969
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Data/Defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Defaults.Colors = {
healAbsorb = {
texture = "Interface\\AddOns\\Cell\\Media\\shield",
color = { 1, 0.1, 0.1, 1 },
overShield = { 1, 1, 1, 1 },
overAbsorb = { 1, 1, 1, 1 },
invertColor = false,
}
}
Expand Down Expand Up @@ -253,7 +253,7 @@ Defaults.ColorsMenuOrder = {
healAbsorb = {
{ "texture", "texture" },
{ "color", "rgb" },
{ "overShield", "rgb" },
{ "overAbsorb", "rgb" },
{ "invertColor", "toggle" },
}
}
Expand Down
4 changes: 4 additions & 0 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ local CUF = select(2, ...)
local L = Cell.L
CUF.L = L

-- Forwards from Cell
L.invertColor = L["Invert Color"]

-- Tabs
L.unitFramesTab = "Unit Frames"
L.generalTab = "General"
Expand Down Expand Up @@ -238,6 +241,7 @@ L.essence = "Essence"
L.classResources = "Class Resources"
L.useClassColorForPet = "Use Class Color for Pet"
L.overShield = "Overshield"
L.overAbsorb = "Overabsorb"

L.reaction = "Reaction"
L.friendly = "Friendly"
Expand Down
2 changes: 1 addition & 1 deletion Widgets/Bars/HealAbsorb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function W:CreateHealAbsorb(button)
end

tex:SetVertexColor(unpack(colors.color))
overAbsorbGlow:SetVertexColor(unpack(colors.overShield))
overAbsorbGlow:SetVertexColor(unpack(colors.overAbsorb))

healAbsorb.absorbInvertColor = colors.invertColor
end
Expand Down

0 comments on commit aa59969

Please sign in to comment.