diff Button.lua @ 288:d931fa418e17

Merge LBF fix to default
author Flick
date Fri, 01 Jul 2011 14:32:17 -0700
parents 7a9e82c0df15
children e337b39dc491
line wrap: on
line diff
--- a/Button.lua	Fri Jul 01 14:31:41 2011 -0700
+++ b/Button.lua	Fri Jul 01 14:32:17 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