changeset 195:85213d045acb

Fix editor panel title
author Flick <flickerstreak@gmail.com>
date Mon, 15 Nov 2010 11:01:42 -0800
parents 55af1ebbec65
children b9efc447fa27
files Editor.lua locale/enUS.lua
diffstat 2 files changed, 13 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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",