diff Button.lua @ 282:7a9e82c0df15

Show empty totem buttons in config mode when character doesn't have totems
author Flick
date Wed, 11 May 2011 17:21:04 -0700
parents 5b9c0164a491
children e337b39dc491
line wrap: on
line diff
--- a/Button.lua	Wed May 11 16:20:48 2011 -0700
+++ b/Button.lua	Wed May 11 17:21:04 2011 -0700
@@ -237,7 +237,7 @@
       end
       if id == nil then
         if unique then
-          ReAction:UserError(("All action IDs for bars of type '%s' are in use, cannot create any more buttons"):format(self.barType))
+          ReAction:UserError(L["All action IDs for bars of type '%s' are in use, cannot create any more buttons"]:format(self.barType))
           error(nil) -- no error message, user has already been notified, so don't put in Lua error handler
         end
         pool.nWraps = nWraps + 1