--
-- ion/share/ioncore_misc.lua
--
--- Copyright (c) Tuomo Valkonen 2004-2007.
+-- Copyright (c) Tuomo Valkonen 2004-2008.
--
-- See the included file LICENSE for details.
--
-- attach/creation parameters given in \var{tab}. The layout
-- "empty" may not be defined.
function ioncore.deflayout(name, tab)
- assert(layout ~= "empty")
+ assert(name ~= "empty")
if name=="default" and not tab then
layouts[name] = empty
--DOC
-- gettext+string.format
function ioncore.TR(s, ...)
- return string.format(ioncore.gettext(s), unpack(arg))
+ return string.format(ioncore.gettext(s), ...)
end