Author: Nalumis
Date: Mon Feb 22 23:34:19 CET 2010
Revision: 3692
Log:

break timer localization

Updated
trunk/DBM-Core/DBM-Core.lua
Updated
trunk/DBM-Core/localization.de.lua
Updated
trunk/DBM-Core/localization.en.lua

trunk/DBM-Core/DBM-Core.lua
Action: modified
Old revision: 3691
Old date: 2010-02-22 21:45:02 UTC

@@ -705,14 +705,14 @@
local timer = tonumber(cmd:sub(6)) or 5
local timer = timer * 60
local channel = ((GetNumRaidMembers() == 0) and "PARTY") or "RAID_WARNING"
- DBM:CreatePizzaTimer(timer, "Break time!", true)
+ DBM:CreatePizzaTimer(timer, DBM_CORE_TIMER_BREAK, true)
DBM:Unschedule(SendChatMessage)
SendChatMessage(DBM_CORE_BREAK_START:format(timer/60), channel)
if timer/60 > 5 then DBM:Schedule(timer - 5*60, SendChatMessage, DBM_CORE_BREAK_MIN:format(5), channel) end
if timer/60 > 2 then DBM:Schedule(timer - 2*60, SendChatMessage, DBM_CORE_BREAK_MIN:format(2), channel) end
if timer/60 > 1 then DBM:Schedule(timer - 1*60, SendChatMessage, DBM_CORE_BREAK_MIN:format(1), channel) end
if timer > 30 then DBM:Schedule(timer - 30, SendChatMessage, DBM_CORE_BREAK_SEC:format(30), channel) end
- DBM:Schedule(timer, SendChatMessage, "Break time is over", channel)
+ DBM:Schedule(timer, SendChatMessage, DBM_CORE_ANNOUNCE_BREAK_OVER, channel)
elseif cmd:sub(1, 4) == "pull" then
if DBM:GetRaidRank() == 0 then
return DBM:AddMsg(DBM_ERROR_NO_PERMISSION)


trunk/DBM-Core/localization.de.lua
Action: modified
Old revision: 3691
Old date: 2010-02-22 21:45:02 UTC

@@ -91,6 +91,8 @@
DBM_CORE_BREAK_START = "Pause startet jetzt -- du hast %s Minute(n)!"
DBM_CORE_BREAK_MIN = "Pause endet in %s Minute(n)!"
DBM_CORE_BREAK_SEC = "Pause endet in %s Sekunden!"
+DBM_CORE_TIMER_BREAK = "Pause"
+DBM_CORE_ANNOUNCE_BREAK_OVER = "Pause vorbei"

DBM_CORE_TIMER_PULL = "Pull in"
DBM_CORE_ANNOUNCE_PULL = "Pull in %d Sek"


trunk/DBM-Core/localization.en.lua
Action: modified
Old revision: 3691
Old date: 2010-02-22 21:45:02 UTC

@@ -91,6 +91,8 @@
DBM_CORE_BREAK_START = "Break starting now -- you have %s minute(s)!"
DBM_CORE_BREAK_MIN = "Break ends in %s minute(s)!"
DBM_CORE_BREAK_SEC = "Break ends in %s seconds!"
+DBM_CORE_TIMER_BREAK = "Break time!"
+DBM_CORE_ANNOUNCE_BREAK_OVER = "Break time is over"

DBM_CORE_TIMER_PULL = "Pull in"
DBM_CORE_ANNOUNCE_PULL = "Pull in %d sec"