Skip to content
Browse files

init in order, fix locale

  • Loading branch information...
1 parent ffe14f4 commit 85f6b386384c8897ffe3ef2b6b6c76889b8d2387 @Zariel committed Feb 7, 2011
Showing with 11 additions and 13 deletions.
  1. +2 −0 Fiend.toc
  2. +2 −2 Locale-koKR.lua
  3. +1 −4 core.lua
  4. +1 −5 display.lua
  5. +3 −0 init.lua
  6. +2 −2 locale-ruRU.lua
View
2 Fiend.toc
@@ -10,6 +10,8 @@
LibStub.lua
+init.lua
+
Locale-koKR.lua
locale-ruRU.lua
View
4 Locale-koKR.lua
@@ -22,5 +22,5 @@ L["All"] = "모두"
L["Set the output limit to %d"] = "출력 한계를 %d개로 설정합니다."
L["Set the output limit to All"] = "출력 한계를 모두로 설정합니다."
-local _, Fiend = ...
-Fiend.L = L
+local parent, ns = ...
+ns.L = L
View
5 core.lua
@@ -1,7 +1,4 @@
-local parent, ns = ...
-local fiend = CreateFrame("Frame")
-ns.fiend = fiend
-ns.L = setmetatable(fiend.L or {}, { __index = function(t, s) t[s] = s return s end })
+local fiend = ns.fiend
local L = ns.L
local R = LibStub("ZeeRoster-1.0")
View
6 display.lua
@@ -295,11 +295,7 @@ function View:Output(count, where, player)
dps = self:GetDPS(bar.guid)
end
- if(fiend.trackDPS and dps > 0 and not self.showDPS) then
- output(string.format("%d. %s - %d %d%% - %d dps", i, bar.name, bar.total, (math.floor(bar.total * 10000 / self.total) / 100), dps))
- else
- output(string.format("%d. %s - %d %d%%", i, bar.name, bar.total, (math.floor(bar.total * 10000 / self.total) / 100)))
- end
+ output(string.format("%d. %s - %d %d%%", i, bar.name, bar.total, (math.floor(bar.total * 10000 / self.total) / 100)))
end
end
View
3 init.lua
@@ -0,0 +1,3 @@
+local parent, ns = ...
+ns.fiend = CreateFrame("Frame")
+ns.L = setmetatable(ns.L or {}, { __index = function(t, s) t[s] = s return s end })
View
4 locale-ruRU.lua
@@ -22,5 +22,5 @@ L["All"] = "Все"
L["Set the output limit to %d"] = "Установить предел вывода на %d строк"
L["Set the output limit to All"] = "Установить предел вывода на все строки"
-local _, Fiend = ...
-Fiend.L = L
+local _, ns = ...
+ns.L = L

0 comments on commit 85f6b38

Please sign in to comment.
Something went wrong with that request. Please try again.