From ce8e4aceecd4b1fdd9a1000dd1085d44e1204820 Mon Sep 17 00:00:00 2001 From: F16Gaming Date: Wed, 8 Aug 2012 20:32:56 +0200 Subject: [PATCH] Some hotfixes (missing comma and misnamed local). --- SummonManager.lua | 6 +++--- locales/enUS.lua | 2 +- locales/svSE.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SummonManager.lua b/SummonManager.lua index ea7c972..99f32a1 100644 --- a/SummonManager.lua +++ b/SummonManager.lua @@ -39,7 +39,7 @@ local L = C.LocaleManager local SM = C.SummonManager local CM -local MAX_TIME = 110 -- 1 minute 50 seconds, summons expire after 2 minutes (usually) +local MAX_DELAY = 110 -- 1 minute 50 seconds, summons expire after 2 minutes (usually) local LastSummoner @@ -165,7 +165,7 @@ function SM:GetDelay() end return ("%d:%s"):format(minutes, seconds) end - return ("%d %s"):format(total, L("SECONDS")) + return ("%d %s"):format(total, L("SECONDS"):lower()) end function SM:GetRawDelay() @@ -188,7 +188,7 @@ function SM:SetDelay(amount) end return "SM_SETDELAY_SUCCESS", {("%d:%s"):format(minutes, seconds)} else - return "SM_SETDELAY_SUCCESS", {("%d %s"):format(amount, L("SECONDS"))} + return "SM_SETDELAY_SUCCESS", {("%d %s"):format(amount, L("SECONDS"):lower())} end end return "SM_SETDELAY_INSTANT" diff --git a/locales/enUS.lua b/locales/enUS.lua index 2537e7a..4320683 100644 --- a/locales/enUS.lua +++ b/locales/enUS.lua @@ -124,7 +124,7 @@ local L = { CM_SET_SM_ISENABLED = "SummonManager is enabled.", CM_SET_SM_ISDISABLED = "SummonManager is disabled.", CM_SET_SM_DELAY_CURRENT = "The current delay for summon announcements is %s.", - CM_SET_SM_DELAY_USAGE = "Usage: set sm delay " + CM_SET_SM_DELAY_USAGE = "Usage: set sm delay ", CM_SET_SM_USAGE = "Usage: set sm [enable|disable|toggle|delay]", CM_LOCALE_HELP = "Change locale settings.", diff --git a/locales/svSE.lua b/locales/svSE.lua index 240b73a..ede6e08 100644 --- a/locales/svSE.lua +++ b/locales/svSE.lua @@ -124,7 +124,7 @@ local L = { CM_SET_SM_ISENABLED = "SummonManager is enabled.", CM_SET_SM_ISDISABLED = "SummonManager is disabled.", CM_SET_SM_DELAY_CURRENT = "The current delay for summon announcements is %s.", - CM_SET_SM_DELAY_USAGE = "Usage: set sm delay " + CM_SET_SM_DELAY_USAGE = "Usage: set sm delay ", CM_SET_SM_USAGE = "Användning: set sm [enable|disable|toggle|delay]", CM_LOCALE_HELP = "Change locale settings.", -- 1.7.9.5