Permalink
Browse files

Update ElvUI/core/install.lua

  • Loading branch information...
1 parent 4c04d28 commit a6bcb704d17f80c2c9cfae115f0db3ae670d26c5 @ghosti168 committed Jan 9, 2012
Showing with 16 additions and 16 deletions.
  1. +16 −16 ElvUI/core/install.lua
View
@@ -173,29 +173,29 @@ local function SetupLayout(isPrimary, layout)
if isPrimary then
if layout == 'tank' then
--datatexts
- E.db.datatexts.panels.spec1.LeftChatDataPanel.left = 'Armor';
- E.db.datatexts.panels.spec1.LeftChatDataPanel.right = 'Avoidance';
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.left = L['Armor'];
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.right = L['Avoidance'];
--unitframes
E.db.unitframe.mainSpec = 'Primary';
elseif layout == 'healer' then
--datatexts
- E.db.datatexts.panels.spec1.LeftChatDataPanel.left = 'Spell/Heal Power';
- E.db.datatexts.panels.spec1.LeftChatDataPanel.right = 'Haste';
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.left = L['Spell/Heal Power'];
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.right = L['Haste'];
--unitframes
E.db.unitframe.mainSpec = 'Secondary';
elseif layout == 'dpsCaster' then
--datatexts
- E.db.datatexts.panels.spec1.LeftChatDataPanel.left = 'Spell/Heal Power';
- E.db.datatexts.panels.spec1.LeftChatDataPanel.right = 'Haste';
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.left = L['Spell/Heal Power'];
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.right = L['Haste'];
--unitframes
E.db.unitframe.mainSpec = 'Primary';
else
--datatexts
- E.db.datatexts.panels.spec1.LeftChatDataPanel.left = 'Attack Power';
- E.db.datatexts.panels.spec1.LeftChatDataPanel.right = 'Crit Chance';
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.left = L['Attack Power'];
+ E.db.datatexts.panels.spec1.LeftChatDataPanel.right = L['Crit Chance'];
--unitframes
E.db.unitframe.mainSpec = 'Primary';
@@ -206,29 +206,29 @@ local function SetupLayout(isPrimary, layout)
else
if layout == 'tank' then
--datatexts
- E.db.datatexts.panels.spec2.LeftChatDataPanel.left = 'Armor';
- E.db.datatexts.panels.spec2.LeftChatDataPanel.right = 'Avoidance';
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.left = L['Armor'];
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.right = L['Avoidance'];
--unitframes
E.db.unitframe.offSpec = 'Primary';
elseif layout == 'healer' then
--datatexts
- E.db.datatexts.panels.spec2.LeftChatDataPanel.left = 'Spell/Heal Power';
- E.db.datatexts.panels.spec2.LeftChatDataPanel.right = 'Haste';
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.left = L['Spell/Heal Power'];
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.right = L['Haste'];
--unitframes
E.db.unitframe.offSpec = 'Secondary';
elseif layout == 'dpsCaster' then
--datatexts
- E.db.datatexts.panels.spec2.LeftChatDataPanel.left = 'Spell/Heal Power';
- E.db.datatexts.panels.spec2.LeftChatDataPanel.right = 'Haste';
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.left = L['Spell/Heal Power'];
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.right = L['Haste'];
--unitframes
E.db.unitframe.offSpec = 'Primary';
else
--datatexts
- E.db.datatexts.panels.spec2.LeftChatDataPanel.left = 'Attack Power';
- E.db.datatexts.panels.spec2.LeftChatDataPanel.right = 'Crit Chance';
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.left = L['Attack Power'];
+ E.db.datatexts.panels.spec2.LeftChatDataPanel.right = L['Crit Chance'];
--unitframes
E.db.unitframe.offSpec = 'Primary';

0 comments on commit a6bcb70

Please sign in to comment.