# HG changeset patch # User Flick # Date 1289847702 28800 # Node ID 85213d045acb07833182c374a04e417e65a895f1 # Parent 55af1ebbec65d0d138713b1572e951076cab854c Fix editor panel title diff -r 55af1ebbec65 -r 85213d045acb Editor.lua --- a/Editor.lua Mon Nov 15 10:30:19 2010 -0800 +++ b/Editor.lua Mon Nov 15 11:01:42 2010 -0800 @@ -41,10 +41,12 @@ ReAction:SetConfigMode(false) end) + self.title = ("%s - %s"):format(L["ReAction"],L["Bar Editor"]) + self.gui:SetTitle(self.title) + self.options = { type = "group", - name = L["Select Bar:"], - desc = "foo foo foo", + name = self.title, handler = self, childGroups = "select", args = { @@ -55,15 +57,14 @@ func = function() ReAction:ShowOptions(); self:Close() end, order = 1 }, - hdr = { - type = "header", - name = "", - order = 2, - }, desc = { type = "description", name = L["Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality."], - width = "double", + order = 2, + }, + hdr = { + type = "header", + name = L["Select Bar"], order = 3, }, _new = { @@ -155,16 +156,13 @@ step = 1, order = 5, } - }, - }, + } + } } } - }, + } } - self.title = ("%s - %s"):format(L["ReAction"],L["Bar Editor"]) - self.gui:SetTitle(self.title) - self.gui:SetCallback("OnClose", function() ReAction:SetConfigMode(false) diff -r 55af1ebbec65 -r 85213d045acb locale/enUS.lua --- a/locale/enUS.lua Mon Nov 15 10:30:19 2010 -0800 +++ b/locale/enUS.lua Mon Nov 15 11:01:42 2010 -0800 @@ -49,7 +49,7 @@ "Bottom Left", "Bottom Right", "Bar Editor", -"Select Bar:", +"Select Bar", "Use the mouse to arrange and resize the bars on screen. Tooltips on bars indicate additional functionality.", "Global Config", "Opens ReAction global configuration settings panel",