Skip to content

Commit

Permalink
update locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Sep 5, 2024
1 parent 3f74ac0 commit 7983fc6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Data/Defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Defaults.Colors = {
["5"] = { 0.26, 0.67, 0.46, 1 },
["6"] = { 0.13, 0.64, 0.5, 1 },
},
rune = {
runes = {
bloodRune = { 1.0, 0.24, 0.24, 1 },
frostRune = { 0.24, 1.0, 1.0, 1 },
unholyRune = { 0.24, 1.0, 0.24, 1 },
Expand Down Expand Up @@ -221,7 +221,7 @@ Defaults.ColorsMenuOrder = {
{ "5", "rgb" },
{ "6", "rgb" },
},
rune = {
runes = {
{ "bloodRune", "rgb" },
{ "frostRune", "rgb" },
{ "unholyRune", "rgb" },
Expand Down
9 changes: 9 additions & 0 deletions Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ L.nonInterruptible = "Non-Interruptible"
L.holyPower = "Holy Power"
L.arcaneCharges = "Arcane Charges"
L.soulShards = "Soul Shards"
L.runes = "Runes"
L.bloodRune = "Blood Rune"
L.frostRune = "Frost Rune"
L.unholyRune = "Unholy Rune"
L.charged = "Charged"
L.comboPoints = "Combo Points"
L.chi = "Chi"
L.essence = "Essence"
L.classResources = "Class Resources"

L.reaction = "Reaction"
L.friendly = "Friendly"
Expand Down
6 changes: 3 additions & 3 deletions Widgets/Bars/ClassBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ local function UpdateColors(self)

local spec = GetSpecialization()
if spec == SPEC_DEATHKNIGHT_BLOOD then
color = DB.GetColors().rune.bloodRune
color = DB.GetColors().runes.bloodRune
elseif spec == SPEC_DEATHKNIGHT_FROST then
color = DB.GetColors().rune.frostRune
color = DB.GetColors().runes.frostRune
elseif spec == SPEC_DEATHKNIGHT_UNHOLY then
color = DB.GetColors().rune.unholyRune
color = DB.GetColors().runes.unholyRune
end

for i = 1, #self do
Expand Down

0 comments on commit 7983fc6

Please sign in to comment.